public interface ScattercastMBean
Modifier and Type | Field and Description |
---|---|
static String |
OBJECT_NAME |
Modifier and Type | Method and Description |
---|---|
CompositeData |
createScattercastNodes(List<String> newNodes)
Creates new scattercast mappings for nodes.
|
CompositeData |
deleteScattercastNodes(int[] removedNodes)
Remove scattercast endpoints for nodes that are being taken permanently offline.
|
boolean |
isScattercastMode()
Returns true if this is a scattercast cluster.
|
TabularData |
readScattercastEndpointsState()
Gets the current state of scattercast endpoints cluster wide.
|
void |
updateScattercastEndpointsState(List<String> args)
Updates scattercast endpoints for existing nodes.
|
static final String OBJECT_NAME
TabularData readScattercastEndpointsState() throws InvalidStateException
InvalidStateException
- if unable to aquire the management lock.CompositeData createScattercastNodes(List<String> newNodes) throws ManagementException, InvalidArgumentException
newNodes
- A list of strings containing nodeID to address/port pairs for each new node.InvalidArgumentException
- if unable to correctly parse argumentsManagementException
- if unable to acquire the management lock.void updateScattercastEndpointsState(List<String> args) throws ManagementException, InvalidArgumentException, InvalidStateException
args
- A list of strings containing nodeID to address/port pairs for each new node.ManagementException
- if unable to shut down the cluster cleanly after updating.InvalidArgumentException
- if unable to correctly parse argumentsInvalidStateException
- if the slee is not stopped.ManagementException
- if unable to acquire the management lock.CompositeData deleteScattercastNodes(int[] removedNodes) throws InvalidArgumentException, InvalidStateException, ManagementException
removedNodes
- A list of NodeIDs to removeInvalidArgumentException
- if unable to correctly parse argumentsInvalidStateException
- if node to be removed is running.ManagementException
- if unable to acquire the management lock.boolean isScattercastMode() throws InvalidStateException
InvalidStateException