Package org.kiwiproject.concurrent
package org.kiwiproject.concurrent
-
ClassDescriptionStatic utilities that work with
CompletableFutureand can make testing easier by permitting selective (e.g. in unit tests) forcing of synchronous behavior for things that would normally execute asynchronously.TheAsync.Mode.ENABLEDmode enables asynchronous behavior, which is the default behavior.A subclassRuntimeExceptionused to indicate problems in asynchronous code.StripedLockprovides simple lambdas for encapsulating a block of code with a read/write lock.Utility that aids in usingLock.tryLock(long, TimeUnit).