org.jgroups.jmx.protocols
Class SFC

java.lang.Object
  extended by org.jgroups.jmx.Protocol
      extended by 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

Constructor Summary
SFC()
           
SFC(Protocol p)
           
 
Method Summary
 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 class Protocol

resetStats

public void resetStats()
Specified by:
resetStats in interface ProtocolMBean
Overrides:
resetStats in class Protocol

getMaxCredits

public long getMaxCredits()
Specified by:
getMaxCredits in interface SFCMBean

getBytesSent

public long getBytesSent()
Specified by:
getBytesSent in interface SFCMBean

getCredits

public long getCredits()
Specified by:
getCredits in interface SFCMBean

getBlockings

public long getBlockings()
Specified by:
getBlockings in interface SFCMBean

getCreditRequestsReceived

public long getCreditRequestsReceived()
Specified by:
getCreditRequestsReceived in interface SFCMBean

getCreditRequestsSent

public long getCreditRequestsSent()
Specified by:
getCreditRequestsSent in interface SFCMBean

getReplenishmentsReceived

public long getReplenishmentsReceived()
Specified by:
getReplenishmentsReceived in interface SFCMBean

getReplenishmentsSent

public long getReplenishmentsSent()
Specified by:
getReplenishmentsSent in interface SFCMBean

getTotalBlockingTime

public long getTotalBlockingTime()
Specified by:
getTotalBlockingTime in interface SFCMBean

getAverageBlockingTime

public double getAverageBlockingTime()
Specified by:
getAverageBlockingTime in interface SFCMBean

dumpStats

public java.util.Map dumpStats()
Specified by:
dumpStats in interface ProtocolMBean
Overrides:
dumpStats in class Protocol

printBlockingTimes

public java.lang.String printBlockingTimes()
Specified by:
printBlockingTimes in interface SFCMBean

printReceived

public java.lang.String printReceived()
Specified by:
printReceived in interface SFCMBean

printPendingCreditors

public java.lang.String printPendingCreditors()
Specified by:
printPendingCreditors in interface SFCMBean

printPendingRequesters

public java.lang.String printPendingRequesters()
Specified by:
printPendingRequesters in interface SFCMBean

unblock

public void unblock()
Specified by:
unblock in interface SFCMBean


Copyright ? 1998-2008 Bela Ban. All Rights Reserved.