public class FC extends Protocol implements FCMBean
Modifier and Type | Method and 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() |
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
public FC()
public FC(Protocol p)
public void attachProtocol(Protocol p)
attachProtocol
in class Protocol
public long getMaxCredits()
getMaxCredits
in interface FCMBean
public void setMaxCredits(long max_credits)
setMaxCredits
in interface FCMBean
public double getMinThreshold()
getMinThreshold
in interface FCMBean
public void setMinThreshold(double min_threshold)
setMinThreshold
in interface FCMBean
public long getMinCredits()
getMinCredits
in interface FCMBean
public void setMinCredits(long min_credits)
setMinCredits
in interface FCMBean
public int getBlockings()
getBlockings
in interface FCMBean
public long getTotalTimeBlocked()
getTotalTimeBlocked
in interface FCMBean
public long getMaxBlockTime()
getMaxBlockTime
in interface FCMBean
public void setMaxBlockTime(long t)
setMaxBlockTime
in interface FCMBean
public double getAverageTimeBlocked()
getAverageTimeBlocked
in interface FCMBean
public int getCreditRequestsReceived()
getCreditRequestsReceived
in interface FCMBean
public int getCreditRequestsSent()
getCreditRequestsSent
in interface FCMBean
public int getCreditResponsesReceived()
getCreditResponsesReceived
in interface FCMBean
public int getCreditResponsesSent()
getCreditResponsesSent
in interface FCMBean
public java.lang.String printSenderCredits()
printSenderCredits
in interface FCMBean
public java.lang.String printReceiverCredits()
printReceiverCredits
in interface FCMBean
public java.lang.String printCredits()
printCredits
in interface FCMBean
public java.lang.String showLastBlockingTimes()
showLastBlockingTimes
in interface FCMBean
Copyright ? 1998-2008 Bela Ban. All Rights Reserved.