Package org.jgroups.jmx.protocols
Class SFC
java.lang.Object
org.jgroups.jmx.Protocol
org.jgroups.jmx.protocols.SFC
- All Implemented Interfaces:
ProtocolMBean
,SFCMBean
- Version:
- $Id: SFC.java,v 1.2 2007/01/09 10:19:23 belaban Exp $
- Author:
- Bela Ban
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
double
long
long
long
long
long
long
long
long
long
void
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 Details
-
SFC
public SFC() -
SFC
-
-
Method Details
-
attachProtocol
- 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
- Specified by:
dumpStats
in interfaceProtocolMBean
- Overrides:
dumpStats
in classProtocol
-
printBlockingTimes
- Specified by:
printBlockingTimes
in interfaceSFCMBean
-
printReceived
- Specified by:
printReceived
in interfaceSFCMBean
-
printPendingCreditors
- Specified by:
printPendingCreditors
in interfaceSFCMBean
-
printPendingRequesters
- Specified by:
printPendingRequesters
in interfaceSFCMBean
-
unblock
public void unblock()
-