Package org.jgroups.jmx.protocols
Class FC
- java.lang.Object
-
- org.jgroups.jmx.Protocol
-
- org.jgroups.jmx.protocols.FC
-
- All Implemented Interfaces:
ProtocolMBean,FCMBean
public class FC extends Protocol implements FCMBean
- Version:
- $Id: FC.java,v 1.6 2007/05/07 09:55:37 belaban Exp $
- Author:
- Bela Ban
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattachProtocol(Protocol p)doublegetAverageTimeBlocked()intgetBlockings()intgetCreditRequestsReceived()intgetCreditRequestsSent()intgetCreditResponsesReceived()intgetCreditResponsesSent()longgetMaxBlockTime()longgetMaxCredits()longgetMinCredits()doublegetMinThreshold()longgetTotalTimeBlocked()java.lang.StringprintCredits()java.lang.StringprintReceiverCredits()java.lang.StringprintSenderCredits()voidsetMaxBlockTime(long t)voidsetMaxCredits(long max_credits)voidsetMinCredits(long min_credits)voidsetMinThreshold(double min_threshold)java.lang.StringshowLastBlockingTimes()voidunblock()-
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
-
FC
public FC()
-
FC
public FC(Protocol p)
-
-
Method Detail
-
attachProtocol
public void attachProtocol(Protocol p)
- Overrides:
attachProtocolin classProtocol
-
getMaxCredits
public long getMaxCredits()
- Specified by:
getMaxCreditsin interfaceFCMBean
-
setMaxCredits
public void setMaxCredits(long max_credits)
- Specified by:
setMaxCreditsin interfaceFCMBean
-
getMinThreshold
public double getMinThreshold()
- Specified by:
getMinThresholdin interfaceFCMBean
-
setMinThreshold
public void setMinThreshold(double min_threshold)
- Specified by:
setMinThresholdin interfaceFCMBean
-
getMinCredits
public long getMinCredits()
- Specified by:
getMinCreditsin interfaceFCMBean
-
setMinCredits
public void setMinCredits(long min_credits)
- Specified by:
setMinCreditsin interfaceFCMBean
-
getBlockings
public int getBlockings()
- Specified by:
getBlockingsin interfaceFCMBean
-
getTotalTimeBlocked
public long getTotalTimeBlocked()
- Specified by:
getTotalTimeBlockedin interfaceFCMBean
-
getMaxBlockTime
public long getMaxBlockTime()
- Specified by:
getMaxBlockTimein interfaceFCMBean
-
setMaxBlockTime
public void setMaxBlockTime(long t)
- Specified by:
setMaxBlockTimein interfaceFCMBean
-
getAverageTimeBlocked
public double getAverageTimeBlocked()
- Specified by:
getAverageTimeBlockedin interfaceFCMBean
-
getCreditRequestsReceived
public int getCreditRequestsReceived()
- Specified by:
getCreditRequestsReceivedin interfaceFCMBean
-
getCreditRequestsSent
public int getCreditRequestsSent()
- Specified by:
getCreditRequestsSentin interfaceFCMBean
-
getCreditResponsesReceived
public int getCreditResponsesReceived()
- Specified by:
getCreditResponsesReceivedin interfaceFCMBean
-
getCreditResponsesSent
public int getCreditResponsesSent()
- Specified by:
getCreditResponsesSentin interfaceFCMBean
-
printSenderCredits
public java.lang.String printSenderCredits()
- Specified by:
printSenderCreditsin interfaceFCMBean
-
printReceiverCredits
public java.lang.String printReceiverCredits()
- Specified by:
printReceiverCreditsin interfaceFCMBean
-
printCredits
public java.lang.String printCredits()
- Specified by:
printCreditsin interfaceFCMBean
-
showLastBlockingTimes
public java.lang.String showLastBlockingTimes()
- Specified by:
showLastBlockingTimesin interfaceFCMBean
-
-