|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HASingletonMBean
HA-Singleton interface. Only one mbean is active at any point in time, cluster-wide.
The service provides a simple way for a concrete mbean to detect whether or not it is the active one in the cluster.
Concrete mbeans would usually do activities like regular clean up of database tables or saving statistics about cluster usage.
Method Summary | |
---|---|
boolean |
isMasterNode()
True if this cluster node has the active mbean singleton, false otherwise |
Method Detail |
---|
boolean isMasterNode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |