com.sun.sgs.management
Interface ClientSessionServiceMXBean


public interface ClientSessionServiceMXBean

The management interface for the client session service.

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.service:type=ClientSessionService".


Field Summary
static String MXBEAN_NAME
          The name for uniquely identifying this MBean.
 
Method Summary
 long getAddSessionStatusListenerCalls()
          Returns the number of times addSessionStatusListener has been called.
 long getGetSessionProtocolCalls()
          Returns the number of times getSessionProtocol has been called.
 long getIsRelocatingToLocalNodeCalls()
          Returns the number of times isRelocatingToLocalNode has been called.
 int getLoginHighWater()
          Gets the login high water.
 int getNumSessions()
          Gets the number of sessions logged into the session service.
 Node.Health getSessionServiceHealth()
          Gets the health of the service.
 void setLoginHighWater(int highWater)
          Sets the login high water.
 

Field Detail

MXBEAN_NAME

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

See Also:
Constant Field Values
Method Detail

getSessionServiceHealth

Node.Health getSessionServiceHealth()
Gets the health of the service.

Returns:
health

getNumSessions

int getNumSessions()
Gets the number of sessions logged into the session service.

Returns:
the number of sessions logged in

getLoginHighWater

int getLoginHighWater()
Gets the login high water.

Returns:
the login high water

setLoginHighWater

void setLoginHighWater(int highWater)
Sets the login high water.

Parameters:
highWater - the high water value

getAddSessionStatusListenerCalls

long getAddSessionStatusListenerCalls()
Returns the number of times addSessionStatusListener has been called.

Returns:
the number of times addSessionStatusListener has been called

getGetSessionProtocolCalls

long getGetSessionProtocolCalls()
Returns the number of times getSessionProtocol has been called.

Returns:
the number of times getSessionProtocol has been called

getIsRelocatingToLocalNodeCalls

long getIsRelocatingToLocalNodeCalls()
Returns the number of times isRelocatingToLocalNode has been called.

Returns:
the number of times isRelocatingToLocalNode has been called

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