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 voidattachProtocol(Protocol p)java.util.MapdumpStats()doublegetAverageBlockingTime()longgetBlockings()longgetBytesSent()longgetCreditRequestsReceived()longgetCreditRequestsSent()longgetCredits()longgetMaxCredits()longgetReplenishmentsReceived()longgetReplenishmentsSent()longgetTotalBlockingTime()java.lang.StringprintBlockingTimes()java.lang.StringprintPendingCreditors()java.lang.StringprintPendingRequesters()java.lang.StringprintReceived()voidresetStats()voidunblock()-
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:
attachProtocolin classProtocol
-
resetStats
public void resetStats()
- Specified by:
resetStatsin interfaceProtocolMBean- Overrides:
resetStatsin classProtocol
-
getMaxCredits
public long getMaxCredits()
- Specified by:
getMaxCreditsin interfaceSFCMBean
-
getBytesSent
public long getBytesSent()
- Specified by:
getBytesSentin interfaceSFCMBean
-
getCredits
public long getCredits()
- Specified by:
getCreditsin interfaceSFCMBean
-
getBlockings
public long getBlockings()
- Specified by:
getBlockingsin interfaceSFCMBean
-
getCreditRequestsReceived
public long getCreditRequestsReceived()
- Specified by:
getCreditRequestsReceivedin interfaceSFCMBean
-
getCreditRequestsSent
public long getCreditRequestsSent()
- Specified by:
getCreditRequestsSentin interfaceSFCMBean
-
getReplenishmentsReceived
public long getReplenishmentsReceived()
- Specified by:
getReplenishmentsReceivedin interfaceSFCMBean
-
getReplenishmentsSent
public long getReplenishmentsSent()
- Specified by:
getReplenishmentsSentin interfaceSFCMBean
-
getTotalBlockingTime
public long getTotalBlockingTime()
- Specified by:
getTotalBlockingTimein interfaceSFCMBean
-
getAverageBlockingTime
public double getAverageBlockingTime()
- Specified by:
getAverageBlockingTimein interfaceSFCMBean
-
dumpStats
public java.util.Map dumpStats()
- Specified by:
dumpStatsin interfaceProtocolMBean- Overrides:
dumpStatsin classProtocol
-
printBlockingTimes
public java.lang.String printBlockingTimes()
- Specified by:
printBlockingTimesin interfaceSFCMBean
-
printReceived
public java.lang.String printReceived()
- Specified by:
printReceivedin interfaceSFCMBean
-
printPendingCreditors
public java.lang.String printPendingCreditors()
- Specified by:
printPendingCreditorsin interfaceSFCMBean
-
printPendingRequesters
public java.lang.String printPendingRequesters()
- Specified by:
printPendingRequestersin interfaceSFCMBean
-
-