Class RateLimitedCreateLifeCycle<T>

    • Constructor Summary

      Constructors 
      Constructor Description
      RateLimitedCreateLifeCycle​(AsyncPool.LifeCycle<T> lifeCycle, java.util.concurrent.ScheduledExecutorService executor, long minimumTimeDelay, long maximumTimeDelay, long timeIncrement, java.util.concurrent.TimeUnit unit)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<T> create()  
      java.util.concurrent.CompletableFuture<java.lang.Void> destroy​(T entity)  
      java.util.concurrent.CompletableFuture<java.lang.Boolean> testAfterIdle​(T entity)  
      java.util.concurrent.CompletableFuture<java.lang.Boolean> testOnRelease​(T entity)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait