com.netflix.astyanax.connectionpool.impl
Class SimpleRateLimiterImpl
java.lang.Object
com.netflix.astyanax.connectionpool.impl.SimpleRateLimiterImpl
- All Implemented Interfaces:
- RateLimiter
public class SimpleRateLimiterImpl
- extends Object
- implements RateLimiter
Method Summary |
boolean |
check()
|
boolean |
check(long currentTimeMillis)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleRateLimiterImpl
public SimpleRateLimiterImpl(ConnectionPoolConfiguration config)
check
public boolean check()
- Specified by:
check
in interface RateLimiter
check
public boolean check(long currentTimeMillis)
- Specified by:
check
in interface RateLimiter
Copyright © 2012. All Rights Reserved.