com.sun.sgs.management
Interface NodesMXBean


public interface NodesMXBean

The management interface for all the nodes in the system, available only from the core server node.

An instance implementing this MBean can be obtained from the from the getPlatformMBeanServer method.

The ObjectName for uniquely identifying this MBean is "com.sun.sgs:type=Nodes".

Each time a node joins the cluster or fails, a notification of class Notification is emitted. The notification will be of type "com.sun.sgs.node.started" or "com.sun.sgs.node.failed".


Field Summary
static String MXBEAN_NAME
          The name for uniquely identifying this MBean.
static String NODE_FAILED_NOTIFICATION
          The type for node failed notifications.
static String NODE_STARTED_NOTIFICATION
          The type for node started notifications.
 
Method Summary
 NodeInfo[] getNodes()
          Returns information about the nodes in the system.
 

Field Detail

MXBEAN_NAME

static final String MXBEAN_NAME
The name for uniquely identifying this MBean.

See Also:
Constant Field Values

NODE_STARTED_NOTIFICATION

static final String NODE_STARTED_NOTIFICATION
The type for node started notifications.

See Also:
Constant Field Values

NODE_FAILED_NOTIFICATION

static final String NODE_FAILED_NOTIFICATION
The type for node failed notifications.

See Also:
Constant Field Values
Method Detail

getNodes

NodeInfo[] getNodes()
Returns information about the nodes in the system.

Returns:
information about the nodes in the system

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved