Package org.jgroups.jmx
Class Protocol
java.lang.Object
org.jgroups.jmx.Protocol
- All Implemented Interfaces:
ProtocolMBean
- Direct Known Subclasses:
BARRIER,Discovery,FC,FD,FD_ALL,FD_SOCK,FLUSH,FRAG,FRAG2,GMS,MERGE2,NAKACK,PARTITION,SEQUENCER,SFC,STABLE,STATE_TRANSFER,STATS,STREAMING_STATE_TRANSFER,TP,UNICAST,VIEW_SYNC
- Version:
- $Id: Protocol.java,v 1.12 2007/04/27 07:59:24 belaban Exp $
- Author:
- Bela Ban
-
Constructor Details
-
Protocol
public Protocol() -
Protocol
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceProtocolMBean
-
attachProtocol
-
getPropertiesAsString
- Specified by:
getPropertiesAsStringin interfaceProtocolMBean
-
setProperties
- Specified by:
setPropertiesin interfaceProtocolMBean
-
getStatsEnabled
public boolean getStatsEnabled()- Specified by:
getStatsEnabledin interfaceProtocolMBean
-
setStatsEnabled
public void setStatsEnabled(boolean flag) - Specified by:
setStatsEnabledin interfaceProtocolMBean
-
resetStats
public void resetStats()- Specified by:
resetStatsin interfaceProtocolMBean
-
printStats
- Specified by:
printStatsin interfaceProtocolMBean
-
dumpStats
- Specified by:
dumpStatsin interfaceProtocolMBean
-
create
- Specified by:
createin interfaceProtocolMBean- Throws:
Exception
-
start
- Specified by:
startin interfaceProtocolMBean- Throws:
Exception
-
stop
public void stop()- Specified by:
stopin interfaceProtocolMBean
-
destroy
public void destroy()- Specified by:
destroyin interfaceProtocolMBean
-