Package co.paralleluniverse.strands
Strands - abstractions over fibers and threads
-
Interface Summary Interface Description CheckedSuspendableCallable<V,E extends java.lang.Exception> This interface can represent any operation that may suspend the currently executingStrand(i.e.Condition Strand.UncaughtExceptionHandler Interface for handlers invoked when aStrandabruptly terminates due to an uncaught exception.Stranded StrandFactory Creates newstrandson demand.SuspendableAction1<S> SuspendableAction2<S1,S2> SuspendableCallable<V> This interface can represent any operation that may suspend the currently executingStrand(i.e.SuspendableRunnable This interface can represent any operation that may suspend the currently executingStrand(i.e.Synchronization -
Class Summary Class Description AbstractFuture<V> ConditionSelector ConditionSynchronizer DoneSynchronizer OwnedSynchronizer SettableFuture<V> SimpleConditionSynchronizer Strand A Strand is either a Thread or a FiberStrandFactoryBuilder Easily createsStrandFactorys.StrandLocalRandom A random number generator isolated to the current thread.SuspendableUtils SuspendableUtils.VoidSuspendableCallable Timeout Represents a timeout that can span several operations. -
Enum Summary Enum Description Strand.State A strand's running state