Class AbstractLogCompactor.Throttler

  • Enclosing class:
    AbstractLogCompactor

    public static class AbstractLogCompactor.Throttler
    extends java.lang.Object
    class Throttler.
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • tryAcquire

        boolean tryAcquire​(int permits,
                           long timeout,
                           java.util.concurrent.TimeUnit unit)
      • acquire

        public void acquire​(int permits)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • cancelledAcquire

        public void cancelledAcquire()