Package org.jgroups.jmx.protocols
Class FC
java.lang.Object
org.jgroups.jmx.Protocol
org.jgroups.jmx.protocols.FC
- All Implemented Interfaces:
ProtocolMBean
,FCMBean
- Version:
- $Id: FC.java,v 1.6 2007/05/07 09:55:37 belaban Exp $
- Author:
- Bela Ban
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
double
int
int
int
int
int
long
long
long
double
long
void
setMaxBlockTime
(long t) void
setMaxCredits
(long max_credits) void
setMinCredits
(long min_credits) void
setMinThreshold
(double min_threshold) 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 Details
-
FC
public FC() -
FC
-
-
Method Details
-
attachProtocol
- 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
- Specified by:
printSenderCredits
in interfaceFCMBean
-
printReceiverCredits
- Specified by:
printReceiverCredits
in interfaceFCMBean
-
printCredits
- Specified by:
printCredits
in interfaceFCMBean
-
showLastBlockingTimes
- Specified by:
showLastBlockingTimes
in interfaceFCMBean
-
unblock
public void unblock()
-