public class RemoteHousekeeping extends Object
Modifier and Type | Method and Description |
---|---|
static NodeHousekeepingMBean |
getClusterHousekeepingMBean(MBeanServerConnection server)
Retrieve a client proxy for
NodeHousekeepingMBean configured for managing all nodes in the Rhino cluster. |
static NodeHousekeepingMBean |
getNodeHousekeepingMBean(MBeanServerConnection server,
int nodeid)
Retrieve a client proxy for
NodeHousekeepingMBean configured for managing a single node in the Rhino cluster. |
public static NodeHousekeepingMBean getNodeHousekeepingMBean(MBeanServerConnection server, int nodeid) throws InvalidArgumentException, ManagementException
NodeHousekeepingMBean
configured for managing a single node in the Rhino cluster.server
- a server connectionnodeid
- the Rhino node ID of the cluster member to manage.NodeHousekeepingMBean
proxyInvalidArgumentException
ManagementException
public static NodeHousekeepingMBean getClusterHousekeepingMBean(MBeanServerConnection server) throws ManagementException
NodeHousekeepingMBean
configured for managing all nodes in the Rhino cluster.server
- a server connectionNodeHousekeepingMBean
proxyManagementException