public interface QueueSaturationLimiterMBean extends LimiterMBean
A CompositeData
object containing detailed Limiter information for specified nodes is returned by
the methods LimiterMBean.getInfoSummary(int[])
and LimiterMBean.getConfigSummary()
.
Field | Open Type | Description |
---|---|---|
limiter-name | String | The name of this limiter. Always null for per-node values returned by LimiterMBean.getConfigSummary() . |
type | String | The type of this limiter. Always null for per-node values returned by LimiterMBean.getConfigSummary() . |
node-id | Integer | The node ID that this row applies to.
-1 for the cluster-wide values row returned by LimiterMBean.getConfigSummary() . |
parent | String | The name of the parent of this limiter or null if it has no parent.
Always null for per-node values returned by LimiterMBean.getConfigSummary() . |
max-saturation | Double | The maximum saturation setting for this limiter |
bypassed | Boolean | The bypassed setting for this limiter |
Modifier and Type | Method and Description |
---|---|
double |
getMaxSaturationDefault()
Get the default maximum amount of saturation allowed in the queue,
as a percentage, before this limiter will reject work.
|
double[] |
getMaxSaturationForNode(int[] nodeIDs)
Get the per-node maximum amount of saturation allowed in the queue on the specified nodes,
as a percentage, before this limiter will reject work.
|
void |
setMaxSaturationDefault(double maxSaturation)
Set the default maximum amount of saturation allowed in the queue,
as a percentage, before this limiter will reject work (the range of valid values is from "0" to "100").
|
void |
setMaxSaturationForNode(double[] maxSaturation,
int[] nodeIDs)
Set the per-node maximum amount of saturation allowed in the queue on the specified nodes,
as a percentage, before this limiter will reject work (the range of valid values is from "0" to "100").
|
getChildLimiters, getConfigSummary, getConnectedEndPoints, getInfoSummary, getName, getParent, getType, isBypassedDefault, isBypassedForNode, setBypassedDefault, setBypassedForNode, setParent, useDefaultConfig
double getMaxSaturationDefault() throws ConfigurationException
ConfigurationException
double[] getMaxSaturationForNode(int[] nodeIDs) throws ConfigurationException, NullPointerException, InvalidArgumentException
void setMaxSaturationDefault(double maxSaturation) throws ConfigurationException, com.opencloud.util.exception.ValidationException
ConfigurationException
com.opencloud.util.exception.ValidationException
void setMaxSaturationForNode(double[] maxSaturation, int[] nodeIDs) throws ConfigurationException, com.opencloud.util.exception.ValidationException, NullPointerException, InvalidArgumentException
ConfigurationException
com.opencloud.util.exception.ValidationException
NullPointerException
InvalidArgumentException