Class ConcurrencyLimiter<K,R>

java.lang.Object
com.aoapps.concurrent.KeyedConcurrencyReducer<K,R>
com.aoapps.concurrent.ConcurrencyLimiter<K,R>

@Deprecated public final class ConcurrencyLimiter<K,R> extends KeyedConcurrencyReducer<K,R>
Deprecated.
Limits the concurrency to a resource identified by any arbitrary key object. When a second thread tries to access the same resource as a previous thread, it will share the results that are obtained by the previous thread.
  • Constructor Details

    • ConcurrencyLimiter

      public ConcurrencyLimiter()
      Deprecated.