public interface LimiterMBean
| Modifier and Type | Method and Description |
|---|---|
String[] |
getChildLimiters()
Get the names of all limiters for which this limiter is their parent.
|
TabularData |
getConfigSummary()
Get the default and per node configuration values stored for this limiter.
|
String[] |
getConnectedEndPoints()
Get the IDs of the limiter endpoints connected to this limiter.
|
TabularData |
getInfoSummary(int[] nodeIDs)
Get a summary of the configuration of this limiter on the specified nodes (as derived from default and per node settings).
|
String |
getName()
Get the name of this limiter.
|
String |
getParent()
Get the name of the parent of this limiter (or null if no parent is set).
|
String |
getType()
Get the type of this limiter.
|
boolean |
isBypassedDefault()
Get the default "bypassed" property for this limiter (if bypassed is true this limiter will
delegate all decisions to its parent or if the is no parent will allow all useUnit/s()).
|
boolean[] |
isBypassedForNode(int[] nodeIDs)
Get the per-node "bypassed" property for this limiter on the specified nodes (if bypassed is true this limiter will
delegate all decisions to its parent or if the is no parent will allow all useUnit/s()).
|
void |
setBypassedDefault(boolean bypassed)
Set the default "bypassed" property for this limiter (if bypassed is true this limiter will
delegate all decisions to its parent or if the is no parent will allow all useUnit/s()).
|
void |
setBypassedForNode(boolean[] bypassed,
int[] nodeIDs)
Set the per-node "bypassed" property for this limiter on the specified nodes (if bypassed is true this limiter will
delegate all decisions to its parent or if the is no parent will allow all useUnit/s()).
|
void |
setParent(String parentName)
Set the specified limiter as the parent of this limiter.
|
void |
useDefaultConfig(int[] nodeIDs)
Removes any node specific configuration settings for the limiter on the given node(s),
causing the nodes to use the cluster wide settings.
|
boolean isBypassedDefault()
throws ConfigurationException
ConfigurationExceptionboolean[] isBypassedForNode(int[] nodeIDs)
throws NullPointerException,
ConfigurationException,
InvalidArgumentException
void setBypassedDefault(boolean bypassed)
throws ConfigurationException
ConfigurationExceptionvoid setBypassedForNode(boolean[] bypassed,
int[] nodeIDs)
throws NullPointerException,
ConfigurationException,
InvalidArgumentException
TabularData getConfigSummary() throws ConfigurationException
ConfigurationExceptionString[] getConnectedEndPoints() throws ConfigurationException
ConfigurationExceptionString[] getChildLimiters() throws ConfigurationException
ConfigurationExceptionTabularData getInfoSummary(int[] nodeIDs) throws ConfigurationException, InvalidArgumentException
void useDefaultConfig(int[] nodeIDs)
throws ConfigurationException,
InvalidArgumentException
String getName() throws ConfigurationException
ConfigurationExceptionString getType() throws ConfigurationException
ConfigurationExceptionString getParent() throws ConfigurationException
ConfigurationExceptionvoid setParent(String parentName) throws ConfigurationException, com.opencloud.util.exception.ValidationException, NullPointerException, InvalidArgumentException
parentName - ConfigurationExceptioncom.opencloud.util.exception.ValidationExceptionNullPointerExceptionInvalidArgumentException