Package com.opencloud.slee.remote
Class RemoteHousekeeping
- java.lang.Object
-
- com.opencloud.slee.remote.RemoteHousekeeping
-
public class RemoteHousekeeping extends Object
Create proxies for Rhino housekeeping MBeans.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeHousekeepingMBean
getClusterHousekeepingMBean(MBeanServerConnection server)
Retrieve a client proxy forNodeHousekeepingMBean
configured for managing all nodes in the Rhino cluster.static NodeHousekeepingMBean
getNodeHousekeepingMBean(MBeanServerConnection server, int nodeid)
Retrieve a client proxy forNodeHousekeepingMBean
configured for managing a single node in the Rhino cluster.
-
-
-
Method Detail
-
getNodeHousekeepingMBean
public static NodeHousekeepingMBean getNodeHousekeepingMBean(MBeanServerConnection server, int nodeid) throws InvalidArgumentException, ManagementException
Retrieve a client proxy forNodeHousekeepingMBean
configured for managing a single node in the Rhino cluster.- Parameters:
server
- a server connectionnodeid
- the Rhino node ID of the cluster member to manage.- Returns:
- a
NodeHousekeepingMBean
proxy - Throws:
InvalidArgumentException
ManagementException
-
getClusterHousekeepingMBean
public static NodeHousekeepingMBean getClusterHousekeepingMBean(MBeanServerConnection server) throws ManagementException
Retrieve a client proxy forNodeHousekeepingMBean
configured for managing all nodes in the Rhino cluster.- Parameters:
server
- a server connection- Returns:
- a
NodeHousekeepingMBean
proxy - Throws:
ManagementException
-
-