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 void
attachProtocol(Protocol p)
double
getAverageTimeBlocked()
int
getBlockings()
int
getCreditRequestsReceived()
int
getCreditRequestsSent()
int
getCreditResponsesReceived()
int
getCreditResponsesSent()
long
getMaxBlockTime()
long
getMaxCredits()
long
getMinCredits()
double
getMinThreshold()
long
getTotalTimeBlocked()
java.lang.String
printCredits()
java.lang.String
printReceiverCredits()
java.lang.String
printSenderCredits()
void
setMaxBlockTime(long t)
void
setMaxCredits(long max_credits)
void
setMinCredits(long min_credits)
void
setMinThreshold(double min_threshold)
java.lang.String
showLastBlockingTimes()
void
unblock()
-
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:
attachProtocol
in classProtocol
-
getMaxCredits
public long getMaxCredits()
- Specified by:
getMaxCredits
in interfaceFCMBean
-
setMaxCredits
public void setMaxCredits(long max_credits)
- Specified by:
setMaxCredits
in interfaceFCMBean
-
getMinThreshold
public double getMinThreshold()
- Specified by:
getMinThreshold
in interfaceFCMBean
-
setMinThreshold
public void setMinThreshold(double min_threshold)
- Specified by:
setMinThreshold
in interfaceFCMBean
-
getMinCredits
public long getMinCredits()
- Specified by:
getMinCredits
in interfaceFCMBean
-
setMinCredits
public void setMinCredits(long min_credits)
- Specified by:
setMinCredits
in interfaceFCMBean
-
getBlockings
public int getBlockings()
- Specified by:
getBlockings
in interfaceFCMBean
-
getTotalTimeBlocked
public long getTotalTimeBlocked()
- Specified by:
getTotalTimeBlocked
in interfaceFCMBean
-
getMaxBlockTime
public long getMaxBlockTime()
- Specified by:
getMaxBlockTime
in interfaceFCMBean
-
setMaxBlockTime
public void setMaxBlockTime(long t)
- Specified by:
setMaxBlockTime
in interfaceFCMBean
-
getAverageTimeBlocked
public double getAverageTimeBlocked()
- Specified by:
getAverageTimeBlocked
in interfaceFCMBean
-
getCreditRequestsReceived
public int getCreditRequestsReceived()
- Specified by:
getCreditRequestsReceived
in interfaceFCMBean
-
getCreditRequestsSent
public int getCreditRequestsSent()
- Specified by:
getCreditRequestsSent
in interfaceFCMBean
-
getCreditResponsesReceived
public int getCreditResponsesReceived()
- Specified by:
getCreditResponsesReceived
in interfaceFCMBean
-
getCreditResponsesSent
public int getCreditResponsesSent()
- Specified by:
getCreditResponsesSent
in interfaceFCMBean
-
printSenderCredits
public java.lang.String printSenderCredits()
- Specified by:
printSenderCredits
in interfaceFCMBean
-
printReceiverCredits
public java.lang.String printReceiverCredits()
- Specified by:
printReceiverCredits
in interfaceFCMBean
-
printCredits
public java.lang.String printCredits()
- Specified by:
printCredits
in interfaceFCMBean
-
showLastBlockingTimes
public java.lang.String showLastBlockingTimes()
- Specified by:
showLastBlockingTimes
in interfaceFCMBean
-
-