com.netflix.astyanax.connectionpool.impl
Class SimpleRateLimiterImpl

java.lang.Object
  extended by com.netflix.astyanax.connectionpool.impl.SimpleRateLimiterImpl
All Implemented Interfaces:
RateLimiter

public class SimpleRateLimiterImpl
extends Object
implements RateLimiter


Constructor Summary
SimpleRateLimiterImpl(ConnectionPoolConfiguration config)
           
 
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
 

Constructor Detail

SimpleRateLimiterImpl

public SimpleRateLimiterImpl(ConnectionPoolConfiguration config)
Method Detail

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.