org.jgroups.protocols
Class FlowControl.Credit
java.lang.Object
org.jgroups.protocols.FlowControl.Credit
- Enclosing class:
- FlowControl
protected class FlowControl.Credit
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
credits_left
protected long credits_left
num_blockings
protected int num_blockings
total_blocking_time
protected long total_blocking_time
last_credit_request
protected long last_credit_request
FlowControl.Credit
protected FlowControl.Credit(long credits)
decrementIfEnoughCredits
protected boolean decrementIfEnoughCredits(long credits,
long timeout)
decrement
protected boolean decrement(long credits)
decrementAndGet
protected long decrementAndGet(long credits)
increment
protected void increment(long credits)
needToSendCreditRequest
protected boolean needToSendCreditRequest()
getNumBlockings
protected int getNumBlockings()
getTotalBlockingTime
protected long getTotalBlockingTime()
get
protected long get()
set
protected void set(long new_credits)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.