Package org.jgroups.jmx.protocols
Class VIEW_SYNC
- java.lang.Object
-
- org.jgroups.jmx.Protocol
-
- org.jgroups.jmx.protocols.VIEW_SYNC
-
- All Implemented Interfaces:
ProtocolMBean
,VIEW_SYNCMBean
public class VIEW_SYNC extends Protocol implements VIEW_SYNCMBean
- Version:
- $Id: VIEW_SYNC.java,v 1.2.14.1 2008/03/12 09:01:42 belaban Exp $
- Author:
- Bela Ban
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachProtocol(Protocol p)
long
getAverageSendInterval()
long
getLastViewRequestSent()
int
getNumViewRequestsSent()
int
getNumViewResponsesSeen()
int
getNumViewsAdjusted()
int
getNumViewsEqual()
int
getNumViewsLess()
int
getNumViewsNonLocal()
int
getNumViewsSent()
void
sendViewRequest()
void
setAverageSendInterval(long send_interval)
-
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
-
VIEW_SYNC
public VIEW_SYNC()
-
VIEW_SYNC
public VIEW_SYNC(Protocol p)
-
-
Method Detail
-
attachProtocol
public void attachProtocol(Protocol p)
- Overrides:
attachProtocol
in classProtocol
-
getAverageSendInterval
public long getAverageSendInterval()
- Specified by:
getAverageSendInterval
in interfaceVIEW_SYNCMBean
-
setAverageSendInterval
public void setAverageSendInterval(long send_interval)
- Specified by:
setAverageSendInterval
in interfaceVIEW_SYNCMBean
-
getNumViewsSent
public int getNumViewsSent()
- Specified by:
getNumViewsSent
in interfaceVIEW_SYNCMBean
-
getNumViewsAdjusted
public int getNumViewsAdjusted()
- Specified by:
getNumViewsAdjusted
in interfaceVIEW_SYNCMBean
-
getLastViewRequestSent
public long getLastViewRequestSent()
- Specified by:
getLastViewRequestSent
in interfaceVIEW_SYNCMBean
-
getNumViewRequestsSent
public int getNumViewRequestsSent()
- Specified by:
getNumViewRequestsSent
in interfaceVIEW_SYNCMBean
-
getNumViewResponsesSeen
public int getNumViewResponsesSeen()
- Specified by:
getNumViewResponsesSeen
in interfaceVIEW_SYNCMBean
-
getNumViewsLess
public int getNumViewsLess()
- Specified by:
getNumViewsLess
in interfaceVIEW_SYNCMBean
-
getNumViewsEqual
public int getNumViewsEqual()
- Specified by:
getNumViewsEqual
in interfaceVIEW_SYNCMBean
-
getNumViewsNonLocal
public int getNumViewsNonLocal()
- Specified by:
getNumViewsNonLocal
in interfaceVIEW_SYNCMBean
-
sendViewRequest
public void sendViewRequest()
- Specified by:
sendViewRequest
in interfaceVIEW_SYNCMBean
-
-