|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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.
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 nanosecond precision.
Timeout
that uses nanosecond precision.
new value supplier
and return
that instead.
new value supplier
and return
that instead.
LazyReference.create()
reference been initialized.
ResettableLazyReference.create()
reference been initialized.
LazyReference.create()
method threw an exception,
this wraps it.Function
that returns a ManagedLock
instead.read/write locks
ManagedLocks
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 locks
ManagedLock
and ManagedLock.ReadWrite
instances.ManagedLock.ReadWrite
that manages the supplied
ReadWriteLock
.
Supplier
that always returns the supplied source.
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.Builder
instead
CopyOnWriteMap.Builder
instead
CopyOnWriteMap.newHashMap()
instead.
CopyOnWriteMap.newHashMap(Map)
instead.
CopyOnWriteMap.Builder
instead
CopyOnWriteMap.Builder
instead
CopyOnWriteMap.newLinkedMap()
instead.
CopyOnWriteMap.newLinkedMap(Map)
instead.
CopyOnWriteSortedMap.newTreeMap()
instead.
CopyOnWriteSortedMap.newTreeMap(Map)
instead.
CopyOnWriteSortedMap.newTreeMap(Comparator)
instead.
CopyOnWriteSortedMap.newTreeMap(Map, Comparator)
instead.
CopyOnWriteSortedMap.Builder
instead
CopyOnWriteSortedMap.Builder
instead
CopyOnWriteSortedMap.Builder
instead
CopyOnWriteSortedMap.Builder
instead
PhasedLatch
is a shared latch that resets after it is released and
can be reused.CountDownLatch
.InterruptedException
.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.TimeoutException
.
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.
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 |