Class GMS
java.lang.Object
org.jgroups.jmx.Protocol
org.jgroups.jmx.protocols.pbcast.GMS
- All Implemented Interfaces:
ProtocolMBean, GMSMBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlonglongintintgetView()intbooleanbooleanisShun()booleanvoidvoidsetJoinRetryTimeout(long t) voidsetJoinTimeout(long t) voidsetShun(boolean s) voidMethods inherited from class Protocol
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ProtocolMBean
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
-
Constructor Details
-
GMS
public GMS() -
GMS
-
-
Method Details
-
attachProtocol
- Overrides:
attachProtocolin classProtocol
-
getView
-
getLocalAddress
- Specified by:
getLocalAddressin interfaceGMSMBean
-
getMembers
- Specified by:
getMembersin interfaceGMSMBean
-
getNumMembers
public int getNumMembers()- Specified by:
getNumMembersin interfaceGMSMBean
-
isCoordinator
public boolean isCoordinator()- Specified by:
isCoordinatorin interfaceGMSMBean
-
getNumberOfViews
public int getNumberOfViews()- Specified by:
getNumberOfViewsin interfaceGMSMBean
-
getJoinTimeout
public long getJoinTimeout()- Specified by:
getJoinTimeoutin interfaceGMSMBean
-
setJoinTimeout
public void setJoinTimeout(long t) - Specified by:
setJoinTimeoutin interfaceGMSMBean
-
getJoinRetryTimeout
public long getJoinRetryTimeout()- Specified by:
getJoinRetryTimeoutin interfaceGMSMBean
-
setJoinRetryTimeout
public void setJoinRetryTimeout(long t) - Specified by:
setJoinRetryTimeoutin interfaceGMSMBean
-
isShun
-
setShun
-
printPreviousMembers
- Specified by:
printPreviousMembersin interfaceGMSMBean
-
printPreviousViews
- Specified by:
printPreviousViewsin interfaceGMSMBean
-
getViewHandlerQueue
public int getViewHandlerQueue()- Specified by:
getViewHandlerQueuein interfaceGMSMBean
-
isViewHandlerSuspended
public boolean isViewHandlerSuspended()- Specified by:
isViewHandlerSuspendedin interfaceGMSMBean
-
dumpViewHandlerQueue
- Specified by:
dumpViewHandlerQueuein interfaceGMSMBean
-
dumpHistory
- Specified by:
dumpHistoryin interfaceGMSMBean
-
suspendViewHandler
public void suspendViewHandler()- Specified by:
suspendViewHandlerin interfaceGMSMBean
-
resumeViewHandler
public void resumeViewHandler()- Specified by:
resumeViewHandlerin interfaceGMSMBean
-