Package org.jgroups.jmx.protocols.pbcast
Class GMS
java.lang.Object
org.jgroups.jmx.Protocol
org.jgroups.jmx.protocols.pbcast.GMS
- All Implemented Interfaces:
ProtocolMBean
,GMSMBean
- Version:
- $Id: GMS.java,v 1.3 2005/12/23 14:57:05 belaban Exp $
- Author:
- Bela Ban
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
long
long
int
int
getView()
int
boolean
boolean
isShun()
boolean
void
void
setJoinRetryTimeout
(long t) void
setJoinTimeout
(long t) void
setShun
(boolean s) void
Methods inherited from class org.jgroups.jmx.Protocol
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jgroups.jmx.ProtocolMBean
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
-
Constructor Details
-
GMS
public GMS() -
GMS
-
-
Method Details
-
attachProtocol
- Overrides:
attachProtocol
in classProtocol
-
getView
-
getLocalAddress
- Specified by:
getLocalAddress
in interfaceGMSMBean
-
getMembers
- Specified by:
getMembers
in interfaceGMSMBean
-
getNumMembers
public int getNumMembers()- Specified by:
getNumMembers
in interfaceGMSMBean
-
isCoordinator
public boolean isCoordinator()- Specified by:
isCoordinator
in interfaceGMSMBean
-
getNumberOfViews
public int getNumberOfViews()- Specified by:
getNumberOfViews
in interfaceGMSMBean
-
getJoinTimeout
public long getJoinTimeout()- Specified by:
getJoinTimeout
in interfaceGMSMBean
-
setJoinTimeout
public void setJoinTimeout(long t) - Specified by:
setJoinTimeout
in interfaceGMSMBean
-
getJoinRetryTimeout
public long getJoinRetryTimeout()- Specified by:
getJoinRetryTimeout
in interfaceGMSMBean
-
setJoinRetryTimeout
public void setJoinRetryTimeout(long t) - Specified by:
setJoinRetryTimeout
in interfaceGMSMBean
-
isShun
public boolean isShun() -
setShun
public void setShun(boolean s) -
printPreviousMembers
- Specified by:
printPreviousMembers
in interfaceGMSMBean
-
printPreviousViews
- Specified by:
printPreviousViews
in interfaceGMSMBean
-
getViewHandlerQueue
public int getViewHandlerQueue()- Specified by:
getViewHandlerQueue
in interfaceGMSMBean
-
isViewHandlerSuspended
public boolean isViewHandlerSuspended()- Specified by:
isViewHandlerSuspended
in interfaceGMSMBean
-
dumpViewHandlerQueue
- Specified by:
dumpViewHandlerQueue
in interfaceGMSMBean
-
dumpHistory
- Specified by:
dumpHistory
in interfaceGMSMBean
-
suspendViewHandler
public void suspendViewHandler()- Specified by:
suspendViewHandler
in interfaceGMSMBean
-
resumeViewHandler
public void resumeViewHandler()- Specified by:
resumeViewHandler
in interfaceGMSMBean
-