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
public class GMS extends Protocol implements GMSMBean
- Version:
- $Id: GMS.java,v 1.3 2005/12/23 14:57:05 belaban Exp $
- Author:
- Bela Ban
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachProtocol(Protocol p)
java.lang.String
dumpHistory()
java.lang.String
dumpViewHandlerQueue()
long
getJoinRetryTimeout()
long
getJoinTimeout()
java.lang.String
getLocalAddress()
java.lang.String
getMembers()
int
getNumberOfViews()
int
getNumMembers()
java.lang.String
getView()
int
getViewHandlerQueue()
boolean
isCoordinator()
boolean
isShun()
boolean
isViewHandlerSuspended()
java.lang.String
printPreviousMembers()
java.lang.String
printPreviousViews()
void
resumeViewHandler()
void
setJoinRetryTimeout(long t)
void
setJoinTimeout(long t)
void
setShun(boolean s)
void
suspendViewHandler()
-
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 Detail
-
GMS
public GMS()
-
GMS
public GMS(Protocol p)
-
-
Method Detail
-
attachProtocol
public void attachProtocol(Protocol p)
- Overrides:
attachProtocol
in classProtocol
-
getLocalAddress
public java.lang.String getLocalAddress()
- Specified by:
getLocalAddress
in interfaceGMSMBean
-
getMembers
public java.lang.String 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
-
printPreviousMembers
public java.lang.String printPreviousMembers()
- Specified by:
printPreviousMembers
in interfaceGMSMBean
-
printPreviousViews
public java.lang.String 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
public java.lang.String dumpViewHandlerQueue()
- Specified by:
dumpViewHandlerQueue
in interfaceGMSMBean
-
dumpHistory
public java.lang.String dumpHistory()
- Specified by:
dumpHistory
in interfaceGMSMBean
-
suspendViewHandler
public void suspendViewHandler()
- Specified by:
suspendViewHandler
in interfaceGMSMBean
-
resumeViewHandler
public void resumeViewHandler()
- Specified by:
resumeViewHandler
in interfaceGMSMBean
-
-