Package org.apache.bookkeeper.bookie
Class AbstractLogCompactor.Throttler
- java.lang.Object
-
- org.apache.bookkeeper.bookie.AbstractLogCompactor.Throttler
-
- Enclosing class:
- AbstractLogCompactor
public static class AbstractLogCompactor.Throttler extends java.lang.Object
class Throttler.
-
-
Constructor Summary
Constructors Constructor Description Throttler(ServerConfiguration conf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acquire(int permits)
void
cancelledAcquire()
(package private) boolean
tryAcquire(int permits, long timeout, java.util.concurrent.TimeUnit unit)
-
-
-
Constructor Detail
-
Throttler
Throttler(ServerConfiguration conf)
-
-