org.jgroups.jmx.protocols

Class FC

Implemented Interfaces:
FCMBean, ProtocolMBean

public class FC
extends Protocol
implements FCMBean

Version:
$Id: FC.java,v 1.5 2005/08/26 14:19:09 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()
boolean
isBlocked()
String
printCredits()
String
printReceiverCredits()
String
printSenderCredits()
void
setMaxBlockTime(long t)
void
setMaxCredits(long max_credits)
void
setMinCredits(long min_credits)
void
setMinThreshold(double min_threshold)
String
showLastBlockingTimes()
void
unblock()

Methods inherited from class org.jgroups.jmx.Protocol

attachProtocol, create, destroy, dumpStats, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, isTrace, isWarn, printStats, resetStats, setObserver, setProperties, setStatsEnabled, setTrace, setWarn, start, stop

Constructor Details

FC

public FC()

FC

public FC(Protocol p)

Method Details

attachProtocol

public void attachProtocol(Protocol p)
Overrides:
attachProtocol in interface Protocol

getAverageTimeBlocked

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

getBlockings

public int getBlockings()
Specified by:
getBlockings 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

getMaxBlockTime

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

getMaxCredits

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

getMinCredits

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

getMinThreshold

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

getTotalTimeBlocked

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

isBlocked

public boolean isBlocked()
Specified by:
isBlocked in interface FCMBean

printCredits

public String printCredits()
Specified by:
printCredits in interface FCMBean

printReceiverCredits

public String printReceiverCredits()
Specified by:
printReceiverCredits in interface FCMBean

printSenderCredits

public String printSenderCredits()
Specified by:
printSenderCredits in interface FCMBean

setMaxBlockTime

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

setMaxCredits

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

setMinCredits

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

setMinThreshold

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

showLastBlockingTimes

public String showLastBlockingTimes()
Specified by:
showLastBlockingTimes in interface FCMBean

unblock

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

Copyright B) 1998-2005 Bela Ban. All Rights Reserved.