Class Summary |
Assertions |
Design by contract assertions. |
AsyncCompleter |
Convenient encapsulation of CompletionService usage that allows a
collection of jobs to be issued to an Executor and return an
Iterable of the results that is in the order that the results return. |
AsyncCompleter.Builder |
For creating instances of AsyncCompleter . |
BlockingReference<V> |
A Reference with queue semantics where the current reference may be retrieved
or taken instead, and if there is no current element then it will be block
until the reference becomes available. |
BooleanLatch |
A BooleanLatch is a reusable latch that resets after it is released
and waited on. |
ConcurrentOperationMapImpl<K,R> |
|
CopyOnWriteMap<K,V> |
A thread-safe variant of Map in which all mutative operations (the
"destructive" operations described by Map put, remove and so on) are
implemented by making a fresh copy of the underlying map. |
CopyOnWriteMap.Builder<K,V> |
Build a CopyOnWriteMap and specify all the options. |
CopyOnWriteMaps |
Deprecated. use the static factory methods is CopyOnWriteMap and
CopyOnWriteSortedMap directly. |
CopyOnWriteSortedMap<K,V> |
A thread-safe variant of SortedMap in which all mutative operations
(the "destructive" operations described by SortedMap put, remove and
so on) are implemented by making a fresh copy of the underlying map. |
CopyOnWriteSortedMap.Builder<K,V> |
Build a CopyOnWriteSortedMap and specify all the options. |
Effects |
Useful Effect related static methods. |
Executors |
|
ForwardingPromise<A> |
A promise which forwards all its method calls to another promise. |
Functions |
|
Lazy |
Factory for creating lazily populated references. |
LazyReference<T> |
Lazily loaded reference that is not constructed until required. |
LockManagers |
Deprecated. since 0.0.7 use ManagedLocks instead |
ManagedLocks |
Static factory for producing ManagedLock and ManagedLock.ReadWrite
instances. |
Memory |
Value representing an amount of Memory, as measured in memory
units . |
PhasedLatch |
A PhasedLatch is a shared latch that resets after it is released and
can be reused. |
Promises |
Library of utility Promise functions |
ResettableLazyReference<T> |
Lazily loaded reference that is not constructed until required. |
SettableFuture<T> |
SettableFuture is a Future implementation where the
responsibility for producing the result is external to the future instance,
unlike FutureTask where the future holds the operation (a
Callable or Runnable instance) and the first thread that
calls FutureTask.run() executes the operation. |
Suppliers |
Useful Supplier implementations. |
ThreadFactories |
Factory for creating ThreadFactory instances. |
ThreadFactories.Builder |
Simple builder for ThreadFactory instances |
Timeout |
Automatically calculates elapsed time from when it is created. |