public abstract class EnhancedHeadroom
extends java.lang.Object
| Constructor | Description |
|---|---|
EnhancedHeadroom() |
| Modifier and Type | Method | 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.
|
java.lang.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 java.lang.String toString()
toString in class java.lang.Objectpublic double getNormalizedPendingCount(long multiplier)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.