Package io.temporal.internal.worker
Class AdjustableSemaphore
- java.lang.Object
-
- io.temporal.internal.worker.AdjustableSemaphore
-
@ThreadSafe public final class AdjustableSemaphore extends java.lang.ObjectA simple implementation of an adjustable semaphore.
-
-
Constructor Summary
Constructors Constructor Description AdjustableSemaphore(int initialPermits)Create a new adjustable semaphore with the given number of initial permits.
-