org.jgroups.jmx.protocols
Class FC

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

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

getMaxCredits

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

setMaxCredits

public void setMaxCredits(long max_credits)
Specified by:
setMaxCredits in interface FCMBean

getMinThreshold

public double getMinThreshold()
Specified by:
getMinThreshold in interface FCMBean

setMinThreshold

public void setMinThreshold(double min_threshold)
Specified by:
setMinThreshold in interface FCMBean

getMinCredits

public long getMinCredits()
Specified by:
getMinCredits in interface FCMBean

setMinCredits

public void setMinCredits(long min_credits)
Specified by:
setMinCredits in interface FCMBean

getBlockings

public int getBlockings()
Specified by:
getBlockings in interface FCMBean

getTotalTimeBlocked

public long getTotalTimeBlocked()
Specified by:
getTotalTimeBlocked in interface FCMBean

getMaxBlockTime

public long getMaxBlockTime()
Specified by:
getMaxBlockTime in interface FCMBean

setMaxBlockTime

public void setMaxBlockTime(long t)
Specified by:
setMaxBlockTime in interface FCMBean

getAverageTimeBlocked

public double getAverageTimeBlocked()
Specified by:
getAverageTimeBlocked in interface FCMBean

getCreditRequestsReceived

public int getCreditRequestsReceived()
Specified by:
getCreditRequestsReceived in interface FCMBean

getCreditRequestsSent

public int getCreditRequestsSent()
Specified by:
getCreditRequestsSent in interface FCMBean

getCreditResponsesReceived

public int getCreditResponsesReceived()
Specified by:
getCreditResponsesReceived in interface FCMBean

getCreditResponsesSent

public int getCreditResponsesSent()
Specified by:
getCreditResponsesSent in interface FCMBean

printSenderCredits

public java.lang.String printSenderCredits()
Specified by:
printSenderCredits in interface FCMBean

printReceiverCredits

public java.lang.String printReceiverCredits()
Specified by:
printReceiverCredits in interface FCMBean

printCredits

public java.lang.String printCredits()
Specified by:
printCredits in interface FCMBean

showLastBlockingTimes

public java.lang.String showLastBlockingTimes()
Specified by:
showLastBlockingTimes in interface FCMBean

unblock

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


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