Package org.apache.druid.concurrent
-
Class Summary Class Description ConcurrentAwaitableCounter This synchronization object allows toConcurrentAwaitableCounter.increment()
a counter without blocking, potentially from multiple threads (although in some use cases there is just one incrementer thread), and block in other thread(s), awaiting when the count reaches the provided value: seeConcurrentAwaitableCounter.awaitCount(long)
, or the specified number of events since the call: seeConcurrentAwaitableCounter.awaitNextIncrements(long)
.LifecycleLock A synchronization tool for lifecycled objects (seeLifecycle
, that need happens-before between start() and other methods and/or to check that the object was successfully started in other methods.TaskThreadPriority Threads