public static class TokenBucketPool.TokenBucket extends Object
TokenBucket(long rate, long per)
boolean
consume()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public TokenBucket(long rate, long per)
rate
per
public boolean consume()
true
Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.