|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.service.watchdog.WatchdogServiceStats
class WatchdogServiceStats
The Statistics MBean object for the watchdog service.
| Field Summary | |
|---|---|
(package private) ProfileOperation |
addNodeListenerOp
|
(package private) ProfileOperation |
addRecoveryListenerOp
|
(package private) ProfileOperation |
getBackupOp
|
(package private) ProfileOperation |
getLocalNodeHealthNonTransOp
|
(package private) ProfileOperation |
getLocalNodeHealthOp
|
(package private) ProfileOperation |
getNodeOp
|
(package private) ProfileOperation |
getNodesOp
|
(package private) ProfileOperation |
isLocalNodeAliveNonTransOp
|
(package private) ProfileOperation |
isLocalNodeAliveOp
|
(package private) WatchdogServiceImpl |
watchdog
|
| Fields inherited from interface com.sun.sgs.management.WatchdogServiceMXBean |
|---|
MXBEAN_NAME |
| Constructor Summary | |
|---|---|
WatchdogServiceStats(ProfileCollector collector,
WatchdogServiceImpl wdog)
|
|
| Method Summary | |
|---|---|
long |
getAddNodeListenerCalls()
Returns the number of times addNodeListener has been called. |
long |
getAddRecoveryListenerCalls()
Returns the number of times addRecoveryListener has been called. |
long |
getGetBackupCalls()
Returns the number of times getBackup has been called. |
long |
getGetLocalNodeHealthCalls()
Returns the number of times getLocalNodeHealth has been called. |
long |
getGetLocalNodeHealthNonTransactionalCalls()
Returns the number of times getLocalNodeHealthNonTransactional has been called. |
long |
getGetNodeCalls()
Returns the number of times getNode has been called. |
long |
getGetNodesCalls()
Returns the number of times getNodes has been called. |
long |
getIsLocalNodeAliveCalls()
Returns the number of times isLocalNodeAlive has been called. |
long |
getIsLocalNodeAliveNonTransactionalCalls()
Returns the number of times isLocalNodeAliveNonTransactional has been called. |
Node.Health |
getNodeHealth()
Return the health of the local node. |
NodeInfo |
getStatusInfo()
Returns status information about this node. |
void |
setNodeHealth(Node.Health health)
Set the health of the local node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final WatchdogServiceImpl watchdog
final ProfileOperation addNodeListenerOp
final ProfileOperation addRecoveryListenerOp
final ProfileOperation getBackupOp
final ProfileOperation getNodeOp
final ProfileOperation getNodesOp
final ProfileOperation getLocalNodeHealthOp
final ProfileOperation getLocalNodeHealthNonTransOp
final ProfileOperation isLocalNodeAliveOp
final ProfileOperation isLocalNodeAliveNonTransOp
| Constructor Detail |
|---|
WatchdogServiceStats(ProfileCollector collector,
WatchdogServiceImpl wdog)
| Method Detail |
|---|
public Node.Health getNodeHealth()
getNodeHealth in interface WatchdogServiceMXBeanpublic void setNodeHealth(Node.Health health)
setNodeHealth in interface WatchdogServiceMXBeanhealth - a node healthpublic long getAddNodeListenerCalls()
addNodeListener has been called.
getAddNodeListenerCalls in interface WatchdogServiceMXBeanaddNodeListener has been calledpublic long getAddRecoveryListenerCalls()
addRecoveryListener has been called.
getAddRecoveryListenerCalls in interface WatchdogServiceMXBeanaddRecoveryListener has been calledpublic long getGetBackupCalls()
getBackup has been called.
getGetBackupCalls in interface WatchdogServiceMXBeangetBackup has been calledpublic long getGetNodeCalls()
getNode has been called.
getGetNodeCalls in interface WatchdogServiceMXBeangetNode has been calledpublic long getGetNodesCalls()
getNodes has been called.
getGetNodesCalls in interface WatchdogServiceMXBeangetNodes has been calledpublic long getGetLocalNodeHealthCalls()
getLocalNodeHealth has been called.
getGetLocalNodeHealthCalls in interface WatchdogServiceMXBeangetLocalNodeHealth has been calledpublic long getGetLocalNodeHealthNonTransactionalCalls()
getLocalNodeHealthNonTransactional has been called.
getGetLocalNodeHealthNonTransactionalCalls in interface WatchdogServiceMXBeangetLocalNodeHealthNonTransactional
has been calledpublic long getIsLocalNodeAliveCalls()
isLocalNodeAlive has been called.
getIsLocalNodeAliveCalls in interface WatchdogServiceMXBeanisLocalNodeAlive has been calledpublic long getIsLocalNodeAliveNonTransactionalCalls()
isLocalNodeAliveNonTransactional has been called.
getIsLocalNodeAliveNonTransactionalCalls in interface WatchdogServiceMXBeanisLocalNodeAliveNonTransactional
has been calledpublic NodeInfo getStatusInfo()
getStatusInfo in interface WatchdogServiceMXBean
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||