Class WindowCounter
Object
ch.aaap.harvestclient.core.ratelimit.WindowCounter
Keep track of event timestamps, can be use for rate limiting
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
WindowCounter
public WindowCounter(int window)
-
-
Method Details
-
waitUntilBelow
- Throws:
InterruptedException
-
mark
public void mark() -
getCount
public int getCount()
-