|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
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.AtomicInteger with richer functionality.AtomicLong with richer functionality.AtomicReference classes and the like.BlockingReference.newSRSW() instead.
BlockingReference.newSRSW() instead.
BooleanLatch is a reusable latch that resets after it is released
and waited on.CopyOnWriteMap.Builder for a CopyOnWriteMap instance.
CopyOnWriteSortedMap.Builder for a CopyOnWriteSortedMap instance.
Callable, and keyed by an Object 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 with the supplied Map to
initialize the values.
CopyOnWriteMap.
CopyOnWriteMap and specify all the options.CopyOnWriteMap and
CopyOnWriteSortedMap directly.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.CopyOnWriteMap.
CopyOnWriteMap with the supplied Map to
initialize the values.
CopyOnWriteSortedMap and specify all the options.Supplier that asks the argument function for the result using the
input argument.
FutureCallback by composing two Effects.
reference but if it
matches the oldValue argument, compare-and-set it to one created by the
new value supplier.
reference and if it
matches the old value argument, compare-and-set it to the new value and
return that instead.
array reference
but if it matches the oldValue argument, compare-and-set it to one created
by the new value supplier.
array reference
but if it matches the oldValue argument, compare-and-set it the new value.
reference but if it matches
the oldValue argument, compare-and-set it the new value.
reference but if it
matches the oldValue argument, compare-and-set it to one created by the
newValue Supplier.
reference but if it
matches the oldValue argument, compare-and-set it to one created by the
newValue Supplier.
reference but if it is
null, compare-and-set it to one created by the new value Supplier.
reference but if it is
null, compare-and-set it the new value.
array reference
but if it is null, compare-and-set it to one created by the new value
Supplier.
array reference
but if it is null, compare-and-set it the new value
Timeout that uses millisecond precision.
Timeout that uses nanosecond precision.
new value supplier and return that
instead.
new value supplier and return that
instead.
units
Callables, note will cause nulls
in the resulting iterable!
jobs on the contained Executor and
return a lazily evaluated Iterable of the results in the order they
return in (fastest first).
AsyncCompleter.invokeAll(Iterable) that supports a timeout.
LazyReference.create() reference been initialized.
ResettableLazyReference.create() reference been initialized.
LazyReference.create() method threw an exception,
this wraps it.AsyncCompleter that limits the number of jobs executed
to the underlying executor to a hard limit.
Function that returns a ManagedLock
instead.read/write locksManagedLocks insteadManagedLock that manages the supplied Lock.
ManagedLock allows callables, runnables and suppliers to be run under a lock that is
resolved against an input object.read/write locksManagedLock and ManagedLock.ReadWrite
instances.ManagedLock.ReadWrite that manages the supplied
ReadWriteLock.
Promise from one type to another by way of a
transformation function.
Supplier that always returns the supplied source.
ThreadFactories.Builder with the required name prefix.
ThreadFactory with the required name prefix.
ThreadFactory with the required name prefix and type (user or
daemon).
ThreadFactory with the required name prefix, type and
priority.
CopyOnWriteMap with an underlying HashMap.
CopyOnWriteMap with an underlying HashMap
using the supplied map as the initial values.
CopyOnWriteMap.newHashMap() instead.
CopyOnWriteMap.newHashMap(Map) instead.
CopyOnWriteMap with an underlying
LinkedHashMap.
CopyOnWriteMap with an underlying
LinkedHashMap using the supplied map as the initial values.
CopyOnWriteMap.newLinkedMap() instead.
CopyOnWriteMap.newLinkedMap(Map) instead.
ManagedLock that manages a ReentrantLock.
CopyOnWriteSortedMap.newTreeMap() instead.
CopyOnWriteSortedMap.newTreeMap(Map) instead.
CopyOnWriteSortedMap.newTreeMap(Comparator)
instead.
CopyOnWriteSortedMap.newTreeMap(Map, Comparator)
instead.
CopyOnWriteSortedMap where the underlying map
instances are TreeMap and the sort uses the key's natural order.
CopyOnWriteSortedMap where the underlying map
instances are TreeMap, the sort uses the key's natural order and
the initial values are supplied.
CopyOnWriteSortedMap where the underlying map
instances are TreeMap.
CopyOnWriteSortedMap where the underlying map
instances are TreeMap, the sort uses the key's natural order and
the initial values are supplied.
FutureCallback from an Effect to be run if there is a
failure.
FutureCallback from an Effect to be run if there is a
success.
PhasedLatch is a shared latch that resets after it is released and
can be reused.Future.Promise functionsEffect that forwards a promise's fail events to the
specified future delegate's SettableFuture.setException(Throwable)
method -- that is, the new callback rejects the delegate future if invoked.
Throwable and result
type.
CountDownLatch.ExecutionException.InterruptedException.TimeoutException as an unchecked
exception.SettableFuture.get() and SettableFuture.get(long, TimeUnit)
SettableFuture.get() and SettableFuture.get(long, TimeUnit)
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.Supplier produces.Supplier implementations.ThreadFactory instances.ThreadFactory instancesTimeoutException.
Timeout.ManagedLocks.weakManagedLockFactory() instead.
ManagedLocks.weakManagedLockFactory(Function)
instead.
Function for resolving managed locks .
ManagedLocks.weakManagedLockFactory(Function, Supplier) with the
default lock factory.
ManagedLocks.weakManagedLockFactory(Function) using the
identity function for striping, essentially
meaning that unique input will have its own lock.
Function for resolving managed read-write locks.
ManagedLocks.weakReadWriteManagedLockFactory(Function, Supplier) that uses
default locks
ManagedLocks.weakReadWriteManagedLockFactory(Function) that uses the
identity function for striping, essentially
meaning that unique input will have its own lock.
Promise representing the status of a list of other
promises.
Promise representing the status of a list of other
promises.
Supplier under a lock determined by the
descriptor.
Callable under a lock determined by the
descriptor.
Runnable under a lock determined by the
descriptor.
Callable under a lock determined by the
descriptor.
Supplier under a lock determined by the
descriptor.
Runnable under a lock determined by the
descriptor.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||