Package org.jgroups.jmx.protocols
Class SFC
- java.lang.Object
-
- org.jgroups.jmx.Protocol
-
- org.jgroups.jmx.protocols.SFC
-
- All Implemented Interfaces:
ProtocolMBean
,SFCMBean
public class SFC extends Protocol implements SFCMBean
- Version:
- $Id: SFC.java,v 1.2 2007/01/09 10:19:23 belaban Exp $
- Author:
- Bela Ban
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachProtocol(Protocol p)
java.util.Map
dumpStats()
double
getAverageBlockingTime()
long
getBlockings()
long
getBytesSent()
long
getCreditRequestsReceived()
long
getCreditRequestsSent()
long
getCredits()
long
getMaxCredits()
long
getReplenishmentsReceived()
long
getReplenishmentsSent()
long
getTotalBlockingTime()
java.lang.String
printBlockingTimes()
java.lang.String
printPendingCreditors()
java.lang.String
printPendingRequesters()
java.lang.String
printReceived()
void
resetStats()
void
unblock()
-
Methods inherited from class org.jgroups.jmx.Protocol
create, destroy, getName, getPropertiesAsString, getStatsEnabled, printStats, 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, getName, getPropertiesAsString, getStatsEnabled, printStats, setProperties, setStatsEnabled, start, stop
-
-
-
-
Constructor Detail
-
SFC
public SFC()
-
SFC
public SFC(Protocol p)
-
-
Method Detail
-
attachProtocol
public void attachProtocol(Protocol p)
- Overrides:
attachProtocol
in classProtocol
-
resetStats
public void resetStats()
- Specified by:
resetStats
in interfaceProtocolMBean
- Overrides:
resetStats
in classProtocol
-
getMaxCredits
public long getMaxCredits()
- Specified by:
getMaxCredits
in interfaceSFCMBean
-
getBytesSent
public long getBytesSent()
- Specified by:
getBytesSent
in interfaceSFCMBean
-
getCredits
public long getCredits()
- Specified by:
getCredits
in interfaceSFCMBean
-
getBlockings
public long getBlockings()
- Specified by:
getBlockings
in interfaceSFCMBean
-
getCreditRequestsReceived
public long getCreditRequestsReceived()
- Specified by:
getCreditRequestsReceived
in interfaceSFCMBean
-
getCreditRequestsSent
public long getCreditRequestsSent()
- Specified by:
getCreditRequestsSent
in interfaceSFCMBean
-
getReplenishmentsReceived
public long getReplenishmentsReceived()
- Specified by:
getReplenishmentsReceived
in interfaceSFCMBean
-
getReplenishmentsSent
public long getReplenishmentsSent()
- Specified by:
getReplenishmentsSent
in interfaceSFCMBean
-
getTotalBlockingTime
public long getTotalBlockingTime()
- Specified by:
getTotalBlockingTime
in interfaceSFCMBean
-
getAverageBlockingTime
public double getAverageBlockingTime()
- Specified by:
getAverageBlockingTime
in interfaceSFCMBean
-
dumpStats
public java.util.Map dumpStats()
- Specified by:
dumpStats
in interfaceProtocolMBean
- Overrides:
dumpStats
in classProtocol
-
printBlockingTimes
public java.lang.String printBlockingTimes()
- Specified by:
printBlockingTimes
in interfaceSFCMBean
-
printReceived
public java.lang.String printReceived()
- Specified by:
printReceived
in interfaceSFCMBean
-
printPendingCreditors
public java.lang.String printPendingCreditors()
- Specified by:
printPendingCreditors
in interfaceSFCMBean
-
printPendingRequesters
public java.lang.String printPendingRequesters()
- Specified by:
printPendingRequesters
in interfaceSFCMBean
-
-