OpportunisticContainersStatusPBImpl@Private
@Unstable
public abstract class OpportunisticContainersStatus
extends java.lang.Object
OpportunisticContainersStatus captures information
pertaining to the state of execution of the opportunistic containers within a
node.
| Constructor | Description |
|---|---|
OpportunisticContainersStatus() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract int |
getEstimatedQueueWaitTime() |
Returns the estimated time that a container will have to wait if added to
the queue of the node.
|
abstract int |
getOpportCoresUsed() |
Returns CPU cores currently used on the node for running opportunistic
containers.
|
abstract long |
getOpportMemoryUsed() |
Returns memory currently used on the node for running opportunistic
containers.
|
abstract int |
getOpportQueueCapacity() |
Gets the capacity of the opportunistic containers queue on the node.
|
abstract int |
getQueuedOpportContainers() |
Returns the number of queued opportunistic containers on the node.
|
abstract int |
getRunningOpportContainers() |
Returns the number of currently running opportunistic containers on the
node.
|
abstract int |
getWaitQueueLength() |
Returns the length of the containers queue on the node.
|
static OpportunisticContainersStatus |
newInstance() |
|
abstract void |
setEstimatedQueueWaitTime(int queueWaitTime) |
Sets the estimated time that a container will have to wait if added to the
queue of the node.
|
abstract void |
setOpportCoresUsed(int opportCoresUsed) |
Sets the CPU cores used on the node for running opportunistic containers.
|
abstract void |
setOpportMemoryUsed(long opportMemoryUsed) |
Sets the memory used on the node for running opportunistic containers.
|
abstract void |
setOpportQueueCapacity(int queueCapacity) |
Sets the capacity of the opportunistic containers queue on the node.
|
abstract void |
setQueuedOpportContainers(int queuedOpportContainers) |
Sets the number of queued opportunistic containers on the node.
|
abstract void |
setRunningOpportContainers(int runningOpportContainers) |
Sets the number of running opportunistic containers.
|
abstract void |
setWaitQueueLength(int waitQueueLength) |
Sets the length of the containers queue on the node.
|
public static OpportunisticContainersStatus newInstance()
@Private @Unstable public abstract int getRunningOpportContainers()
@Private @Unstable public abstract void setRunningOpportContainers(int runningOpportContainers)
runningOpportContainers - number of running opportunistic containers.@Private @Unstable public abstract long getOpportMemoryUsed()
@Private @Unstable public abstract void setOpportMemoryUsed(long opportMemoryUsed)
opportMemoryUsed - memory (in bytes) used for running opportunistic
containers.@Private @Unstable public abstract int getOpportCoresUsed()
@Private @Unstable public abstract void setOpportCoresUsed(int opportCoresUsed)
opportCoresUsed - memory (in bytes) used for running opportunistic
containers.@Private @Unstable public abstract int getQueuedOpportContainers()
@Private @Unstable public abstract void setQueuedOpportContainers(int queuedOpportContainers)
queuedOpportContainers - number of queued opportunistic containers.@Private @Unstable public abstract int getWaitQueueLength()
@Private @Unstable public abstract void setWaitQueueLength(int waitQueueLength)
waitQueueLength - length of the containers queue.@Private @Unstable public abstract int getEstimatedQueueWaitTime()
@Private @Unstable public abstract void setEstimatedQueueWaitTime(int queueWaitTime)
queueWaitTime - estimated queuing time.@Private @Unstable public abstract int getOpportQueueCapacity()
@Private @Unstable public abstract void setOpportQueueCapacity(int queueCapacity)
queueCapacity - queue capacity.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.