public abstract class EnhancedHeadroom extends Object
Constructor and Description |
---|
EnhancedHeadroom() |
Modifier and Type | Method and Description |
---|---|
double |
getNormalizedPendingCount(long multiplier) |
abstract int |
getTotalActiveCores()
Get total active cores for the cluster.
|
abstract int |
getTotalPendingCount()
Get total pending container count.
|
static EnhancedHeadroom |
newInstance(int totalPendingCount,
int totalActiveCores) |
abstract void |
setTotalActiveCores(int totalActiveCores)
Set total active cores for the cluster.
|
abstract void |
setTotalPendingCount(int totalPendingCount)
Set total pending container count.
|
String |
toString() |
public static EnhancedHeadroom newInstance(int totalPendingCount, int totalActiveCores)
public abstract void setTotalPendingCount(int totalPendingCount)
totalPendingCount
- the pending container countpublic abstract int getTotalPendingCount()
public abstract void setTotalActiveCores(int totalActiveCores)
totalActiveCores
- the total active cores for the clusterpublic abstract int getTotalActiveCores()
public double getNormalizedPendingCount(long multiplier)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.