public abstract class QueueConfigurations extends Object
It includes information such as:
Constructor and Description |
---|
QueueConfigurations() |
Modifier and Type | Method and Description |
---|---|
abstract float |
getAbsoluteCapacity()
Get the absolute capacity.
|
abstract float |
getAbsoluteMaxCapacity()
Get the absolute maximum capacity.
|
abstract float |
getCapacity()
Get the queue capacity.
|
abstract Resource |
getConfiguredMaxCapacity()
Get the configured maximum capacity of queue (from absolute resource).
|
abstract Resource |
getConfiguredMinCapacity()
Get the configured minimum capacity of queue (from absolute resource).
|
abstract Resource |
getEffectiveMaxCapacity()
Get the effective maximum capacity of queue (from absolute resource).
|
abstract Resource |
getEffectiveMinCapacity()
Get the effective minimum capacity of queue (from absolute resource).
|
abstract float |
getMaxAMPercentage()
Get the maximum AM resource percentage.
|
abstract float |
getMaxCapacity()
Get the maximum capacity.
|
static QueueConfigurations |
newInstance(float capacity,
float absoluteCapacity,
float maxCapacity,
float absoluteMaxCapacity,
float maxAMPercentage) |
abstract void |
setAbsoluteCapacity(float absoluteCapacity)
Set the absolute capacity.
|
abstract void |
setAbsoluteMaxCapacity(float absoluteMaxCapacity)
Set the absolute maximum capacity.
|
abstract void |
setCapacity(float capacity)
Set the queue capacity.
|
abstract void |
setConfiguredMaxCapacity(Resource configuredMaxResource)
Set the configured maximum capacity of queue (from absolute resource).
|
abstract void |
setConfiguredMinCapacity(Resource configuredMinResource)
Set the configured minimum capacity of queue (from absolute resource).
|
abstract void |
setEffectiveMaxCapacity(Resource capacity)
Set the effective maximum capacity of queue (from absolute resource).
|
abstract void |
setEffectiveMinCapacity(Resource capacity)
Set the effective minimum capacity of queue (from absolute resource).
|
abstract void |
setMaxAMPercentage(float maxAMPercentage)
Set the maximum AM resource percentage.
|
abstract void |
setMaxCapacity(float maxCapacity)
Set the maximum capacity.
|
@InterfaceAudience.Public @InterfaceStability.Unstable public static QueueConfigurations newInstance(float capacity, float absoluteCapacity, float maxCapacity, float absoluteMaxCapacity, float maxAMPercentage)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract float getCapacity()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setCapacity(float capacity)
capacity
- the queue capacity.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract float getAbsoluteCapacity()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setAbsoluteCapacity(float absoluteCapacity)
absoluteCapacity
- the absolute capacity@InterfaceAudience.Public @InterfaceStability.Unstable public abstract float getMaxCapacity()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setMaxCapacity(float maxCapacity)
maxCapacity
- the maximum capacity@InterfaceAudience.Public @InterfaceStability.Unstable public abstract float getAbsoluteMaxCapacity()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setAbsoluteMaxCapacity(float absoluteMaxCapacity)
absoluteMaxCapacity
- the absolute maximum capacity@InterfaceAudience.Public @InterfaceStability.Unstable public abstract float getMaxAMPercentage()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setMaxAMPercentage(float maxAMPercentage)
maxAMPercentage
- the maximum AM resource percentage@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Resource getEffectiveMinCapacity()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setEffectiveMinCapacity(Resource capacity)
capacity
- minimum resource capability@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Resource getEffectiveMaxCapacity()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setEffectiveMaxCapacity(Resource capacity)
capacity
- maximum resource capability@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Resource getConfiguredMinCapacity()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setConfiguredMinCapacity(Resource configuredMinResource)
configuredMinResource
- minimum resource capability@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Resource getConfiguredMaxCapacity()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setConfiguredMaxCapacity(Resource configuredMaxResource)
configuredMaxResource
- maximum resource capabilityCopyright © 2008–2018 Apache Software Foundation. All rights reserved.