Class ConcurrencyLimiter.Job<T>

  • Enclosing class:
    ConcurrencyLimiter<T>

    private static class ConcurrencyLimiter.Job<T>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.Callable<? extends com.google.common.util.concurrent.ListenableFuture<T>> callable  
      private com.google.common.util.concurrent.SettableFuture<T> response  
    • Constructor Summary

      Constructors 
      Constructor Description
      Job​(java.util.concurrent.Callable<? extends com.google.common.util.concurrent.ListenableFuture<T>> callable, com.google.common.util.concurrent.SettableFuture<T> response)  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • callable

        private final java.util.concurrent.Callable<? extends com.google.common.util.concurrent.ListenableFuture<T>> callable
      • response

        private final com.google.common.util.concurrent.SettableFuture<T> response
    • Constructor Detail

      • Job

        Job​(java.util.concurrent.Callable<? extends com.google.common.util.concurrent.ListenableFuture<T>> callable,
            com.google.common.util.concurrent.SettableFuture<T> response)