@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class QueueStatistics extends Object
Constructor and Description |
---|
QueueStatistics() |
Modifier and Type | Method and Description |
---|---|
abstract long |
getAllocatedContainers()
Get the number of allocated containers.
|
abstract long |
getAllocatedMemoryMB()
Get the allocated memory in MB
|
abstract long |
getAllocatedVCores()
Get the allocated vcores
|
abstract long |
getAvailableMemoryMB()
Get the available memory in MB
|
abstract long |
getAvailableVCores()
Get the available vcores
|
abstract long |
getNumActiveUsers()
Get the number of active users
|
abstract long |
getNumAppsCompleted()
Get the number of completed apps
|
abstract long |
getNumAppsFailed()
Get the number of failed apps
|
abstract long |
getNumAppsKilled()
Get the number of killed apps
|
abstract long |
getNumAppsPending()
Get the number of pending apps
|
abstract long |
getNumAppsRunning()
Get the number of running apps
|
abstract long |
getNumAppsSubmitted()
Get the number of apps submitted
|
abstract long |
getPendingContainers()
Get the number of pending containers.
|
abstract long |
getPendingMemoryMB()
Get the pending memory in MB
|
abstract long |
getPendingVCores()
Get the pending vcores
|
abstract long |
getReservedContainers()
Get the number of reserved containers.
|
abstract long |
getReservedMemoryMB()
Get the reserved memory in MB
|
abstract long |
getReservedVCores()
Get the reserved vcores
|
abstract void |
setAllocatedContainers(long allocatedContainers)
Set the number of allocated containers.
|
abstract void |
setAllocatedMemoryMB(long allocatedMemoryMB)
Set the allocated memory in MB
|
abstract void |
setAllocatedVCores(long allocatedVCores)
Set the allocated vcores
|
abstract void |
setAvailableMemoryMB(long availableMemoryMB)
Set the available memory in MB
|
abstract void |
setAvailableVCores(long availableVCores)
Set the available vcores
|
abstract void |
setNumActiveUsers(long numActiveUsers)
Set the number of active users
|
abstract void |
setNumAppsCompleted(long numAppsCompleted)
Set the number of completed apps
|
abstract void |
setNumAppsFailed(long numAppsFailed)
Set the number of failed apps
|
abstract void |
setNumAppsKilled(long numAppsKilled)
Set the number of killed apps
|
abstract void |
setNumAppsPending(long numAppsPending)
Set the number of pending apps
|
abstract void |
setNumAppsRunning(long numAppsRunning)
Set the number of running apps
|
abstract void |
setNumAppsSubmitted(long numAppsSubmitted)
Set the number of apps submitted
|
abstract void |
setPendingContainers(long pendingContainers)
Set the number of pending containers.
|
abstract void |
setPendingMemoryMB(long pendingMemoryMB)
Set the pending memory in MB
|
abstract void |
setPendingVCores(long pendingVCores)
Set the pending vcores
|
abstract void |
setReservedContainers(long reservedContainers)
Set the number of reserved containers.
|
abstract void |
setReservedMemoryMB(long reservedMemoryMB)
Set the reserved memory in MB
|
abstract void |
setReservedVCores(long reservedVCores)
Set the reserved vcores
|
public abstract long getNumAppsSubmitted()
public abstract void setNumAppsSubmitted(long numAppsSubmitted)
numAppsSubmitted
- the number of apps submittedpublic abstract long getNumAppsRunning()
public abstract void setNumAppsRunning(long numAppsRunning)
numAppsRunning
- the number of running appspublic abstract long getNumAppsPending()
public abstract void setNumAppsPending(long numAppsPending)
numAppsPending
- the number of pending appspublic abstract long getNumAppsCompleted()
public abstract void setNumAppsCompleted(long numAppsCompleted)
numAppsCompleted
- the number of completed appspublic abstract long getNumAppsKilled()
public abstract void setNumAppsKilled(long numAppsKilled)
numAppsKilled
- the number of killed appspublic abstract long getNumAppsFailed()
public abstract void setNumAppsFailed(long numAppsFailed)
numAppsFailed
- the number of failed appspublic abstract long getNumActiveUsers()
public abstract void setNumActiveUsers(long numActiveUsers)
numActiveUsers
- the number of active userspublic abstract long getAvailableMemoryMB()
public abstract void setAvailableMemoryMB(long availableMemoryMB)
availableMemoryMB
- the available memorypublic abstract long getAllocatedMemoryMB()
public abstract void setAllocatedMemoryMB(long allocatedMemoryMB)
allocatedMemoryMB
- the allocate memorypublic abstract long getPendingMemoryMB()
public abstract void setPendingMemoryMB(long pendingMemoryMB)
pendingMemoryMB
- the pending memorypublic abstract long getReservedMemoryMB()
public abstract void setReservedMemoryMB(long reservedMemoryMB)
reservedMemoryMB
- the reserved memorypublic abstract long getAvailableVCores()
public abstract void setAvailableVCores(long availableVCores)
availableVCores
- the available vcorespublic abstract long getAllocatedVCores()
public abstract void setAllocatedVCores(long allocatedVCores)
allocatedVCores
- the allocated vcorespublic abstract long getPendingVCores()
public abstract void setPendingVCores(long pendingVCores)
pendingVCores
- the pending vcorespublic abstract long getPendingContainers()
public abstract void setPendingContainers(long pendingContainers)
pendingContainers
- the pending containers.public abstract long getAllocatedContainers()
public abstract void setAllocatedContainers(long allocatedContainers)
allocatedContainers
- the allocated containers.public abstract long getReservedContainers()
public abstract void setReservedContainers(long reservedContainers)
reservedContainers
- the reserved containers.public abstract long getReservedVCores()
public abstract void setReservedVCores(long reservedVCores)
reservedVCores
- the reserved vcoresCopyright © 2018 Apache Software Foundation. All rights reserved.