- addAll(Map<? extends K, ? extends V>) - Method in class io.atlassian.util.concurrent.CopyOnWriteMap.Builder
-
Views are live (reflecting concurrent updates) and mutator methods are
supported.
- addAll(Map<? extends K, ? extends V>) - Method in class io.atlassian.util.concurrent.CopyOnWriteSortedMap.Builder
-
Views are live (reflecting concurrent updates) and mutator methods are
supported.
- AsyncCompleter - Class in io.atlassian.util.concurrent
-
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 - Class in io.atlassian.util.concurrent
-
- AsyncCompleter.ExecutorCompletionServiceFactory - Interface in io.atlassian.util.concurrent
-
Extension point if a custom CompletionService is required, for instance to
implement a custom concellation policy.
- AtomicInteger - Class in io.atlassian.util.concurrent.atomic
-
- AtomicInteger() - Constructor for class io.atlassian.util.concurrent.atomic.AtomicInteger
-
Creates a new AtomicInteger with a zero initial value.
- AtomicInteger(int) - Constructor for class io.atlassian.util.concurrent.atomic.AtomicInteger
-
Creates a new AtomicInteger with the given initial value.
- AtomicLong - Class in io.atlassian.util.concurrent.atomic
-
- AtomicLong() - Constructor for class io.atlassian.util.concurrent.atomic.AtomicLong
-
Creates a new AtomicLong with a zero initial value.
- AtomicLong(long) - Constructor for class io.atlassian.util.concurrent.atomic.AtomicLong
-
Creates a new AtomicLong with the given initial value.
- AtomicLongArray - Class in io.atlassian.util.concurrent.atomic
-
AtomicReferenceArray with richer functionality.
- AtomicLongArray(int) - Constructor for class io.atlassian.util.concurrent.atomic.AtomicLongArray
-
Creates a new AtomicLongArray of given length.
- AtomicLongArray(long[]) - Constructor for class io.atlassian.util.concurrent.atomic.AtomicLongArray
-
Creates a new AtomicLongArray with the same length as, and all elements
copied from, the given array.
- AtomicReference<V> - Class in io.atlassian.util.concurrent.atomic
-
AtomicReference with richer functionality.
- AtomicReference() - Constructor for class io.atlassian.util.concurrent.atomic.AtomicReference
-
Creates a new AtomicReference with null initial value.
- AtomicReference(V) - Constructor for class io.atlassian.util.concurrent.atomic.AtomicReference
-
Creates a new AtomicReference with the given initial value.
- AtomicReferenceArray<E> - Class in io.atlassian.util.concurrent.atomic
-
AtomicReferenceArray with richer functionality.
- AtomicReferenceArray(int) - Constructor for class io.atlassian.util.concurrent.atomic.AtomicReferenceArray
-
Creates a new AtomicReferenceArray of given length.
- AtomicReferenceArray(E[]) - Constructor for class io.atlassian.util.concurrent.atomic.AtomicReferenceArray
-
Creates a new AtomicReferenceArray with the same length as, and all
elements copied from, the given array.
- AtomicReferenceUpdater<T> - Class in io.atlassian.util.concurrent.atomic
-
Experimental.
- AtomicReferenceUpdater(AtomicReference<T>) - Constructor for class io.atlassian.util.concurrent.atomic.AtomicReferenceUpdater
-
Constructor for AtomicReferenceUpdater.
- Atomics - Class in io.atlassian.util.concurrent.atomic
-
Utility methods for handling the specifics of correctly using the CAS
operations on
AtomicReference classes and
the like.
- await() - Method in interface io.atlassian.util.concurrent.Awaitable
-
Await for the condition to become true.
- await(long, TimeUnit) - Method in interface io.atlassian.util.concurrent.Awaitable
-
Await for the specified time for the condition to become true.
- await() - Method in class io.atlassian.util.concurrent.BooleanLatch
-
Await for the condition to become true.
- await(long, TimeUnit) - Method in class io.atlassian.util.concurrent.BooleanLatch
-
Await for the specified time for the condition to become true.
- await() - Method in class io.atlassian.util.concurrent.PhasedLatch
-
Await the current phase.
- await(long, TimeUnit) - Method in class io.atlassian.util.concurrent.PhasedLatch
-
Await for the specified time for the condition to become true.
- Awaitable - Interface in io.atlassian.util.concurrent
-
Something that can be awaited upon.
- awaitPhase(int) - Method in class io.atlassian.util.concurrent.PhasedLatch
-
Await the specified phase.
- awaitPhase(int, long, TimeUnit) - Method in class io.atlassian.util.concurrent.PhasedLatch
-
Await the specified phase for the specified period.
- get() - Method in class io.atlassian.util.concurrent.BlockingReference
-
Gets the current element if it is not null, if it is null then this method
blocks and waits until it is not null.
- get(long, TimeUnit) - Method in class io.atlassian.util.concurrent.BlockingReference
-
Gets the current element if it is not null, if it is null then this method
blocks and waits until it is not null.
- get() - Method in class io.atlassian.util.concurrent.LazyReference
-
Get the lazily loaded reference in a non-cancellable manner.
- get() - Method in class io.atlassian.util.concurrent.ResettableLazyReference
-
Get the lazily loaded reference in a non-cancellable manner.
- get() - Method in class io.atlassian.util.concurrent.SettableFuture
-
Get the value of the future.
- get(long, TimeUnit) - Method in class io.atlassian.util.concurrent.SettableFuture
- getAndSetIf(AtomicReference<T>, T, Supplier<T>) - Static method in class io.atlassian.util.concurrent.atomic.Atomics
-
Get the current value of the
reference but if it
matches the oldValue argument, compare-and-set it to one created by the
new value supplier.
- getAndSetIf(AtomicReference<T>, T, T) - Static method in class io.atlassian.util.concurrent.atomic.Atomics
-
Check the current value of the
reference and if it
matches the old value argument, compare-and-set it to the new value and
return that instead.
- getAndSetIf(AtomicReferenceArray<T>, int, T, Supplier<T>) - Static method in class io.atlassian.util.concurrent.atomic.Atomics
-
- getAndSetIf(AtomicReferenceArray<T>, int, T, T) - Static method in class io.atlassian.util.concurrent.atomic.Atomics
-
Get the current value of the
array reference
but if it matches the oldValue argument, compare-and-set it the new value.
- getAndSetIf(AtomicLong, long, long) - Static method in class io.atlassian.util.concurrent.atomic.Atomics
-
Get the current value of the
reference but if it matches
the oldValue argument, compare-and-set it the new value.
- getAndSetIf(AtomicInteger, int, int) - Static method in class io.atlassian.util.concurrent.atomic.Atomics
-
Get the current value of the
reference but if it
matches the oldValue argument, compare-and-set it to one created by the
newValue
Supplier.
- getAndSetIf(AtomicBoolean, boolean, boolean) - Static method in class io.atlassian.util.concurrent.atomic.Atomics
-
Get the current value of the
reference but if it
matches the oldValue argument, compare-and-set it to one created by the
newValue
Supplier.
- getAndSetIfNull(AtomicReference<T>, Supplier<T>) - Static method in class io.atlassian.util.concurrent.atomic.Atomics
-
Get the current value of the
reference but if it is
null, compare-and-set it to one created by the new value
Supplier.
- getAndSetIfNull(AtomicReference<T>, T) - Static method in class io.atlassian.util.concurrent.atomic.Atomics
-
Get the current value of the
reference but if it is
null, compare-and-set it the new value.
- getAndSetIfNull(AtomicReferenceArray<T>, int, Supplier<T>) - Static method in class io.atlassian.util.concurrent.atomic.Atomics
-
Get the current value of the
array reference
but if it is null, compare-and-set it to one created by the new value
Supplier.
- getAndSetIfNull(AtomicReferenceArray<T>, int, T) - Static method in class io.atlassian.util.concurrent.atomic.Atomics
-
Get the current value of the
array reference
but if it is null, compare-and-set it the new value
- getCause() - Method in exception io.atlassian.util.concurrent.RuntimeInterruptedException
- getCause() - Method in exception io.atlassian.util.concurrent.RuntimeTimeoutException
- getInterruptibly() - Method in class io.atlassian.util.concurrent.LazyReference
-
Get the lazily loaded reference in a cancellable manner.
- getInterruptibly() - Method in class io.atlassian.util.concurrent.ResettableLazyReference
-
Get the lazily loaded reference in a cancellable manner.
- getMillisTimeout(long, TimeUnit) - Static method in class io.atlassian.util.concurrent.Timeout
-
Get a
Timeout that uses millisecond
precision.
- getNanosTimeout(long, TimeUnit) - Static method in class io.atlassian.util.concurrent.Timeout
-
Get a
Timeout that uses nanosecond
precision.
- getOrSetAndGetIf(int, int) - Method in class io.atlassian.util.concurrent.atomic.AtomicInteger
-
Check the current value and if it matches the old value argument, set it to
the new value and return that instead.
- getOrSetAndGetIf(long, long) - Method in class io.atlassian.util.concurrent.atomic.AtomicLong
-
Check the current value and if it matches the old value argument, set it to
the new value and return that instead.
- getOrSetAndGetIf(int, long, long) - Method in class io.atlassian.util.concurrent.atomic.AtomicLongArray
-
Check the current value and if it matches the old value argument, set it to
the new value and return that instead.
- getOrSetAndGetIf(V, Supplier<V>) - Method in class io.atlassian.util.concurrent.atomic.AtomicReference
-
Check the current value and if it matches the old value argument, set it to
the one created by the
new value supplier and return that
instead.
- getOrSetAndGetIf(V, V) - Method in class io.atlassian.util.concurrent.atomic.AtomicReference
-
Check the current value and if it matches the old value argument, set it to
the new value and return that instead.
- getOrSetAndGetIf(int, E, Supplier<E>) - Method in class io.atlassian.util.concurrent.atomic.AtomicReferenceArray
-
Check the current value and if it matches the old value argument, set it to
the one created by the
new value supplier and return that
instead.
- getOrSetAndGetIf(int, E, E) - Method in class io.atlassian.util.concurrent.atomic.AtomicReferenceArray
-
Check the current value and if it matches the old value argument, set it to
the new value and return that instead.
- getPhase() - Method in class io.atlassian.util.concurrent.PhasedLatch
-
Get the current phase of the latch.
- getTime() - Method in class io.atlassian.util.concurrent.Timeout
-
Get time remaining
- getTimeoutException() - Method in class io.atlassian.util.concurrent.Timeout
-
Build a new time out exception for this timeout
- getTimeoutPeriod() - Method in class io.atlassian.util.concurrent.Timeout
-
The original timeout period expressed in
units
- getUnit() - Method in class io.atlassian.util.concurrent.Timeout
-
Get the precision of this timeout.
- gigabytes(long) - Static method in class io.atlassian.util.concurrent.Memory
-
Construct a Memory represented in gigabytes.
- read() - Method in interface io.atlassian.util.concurrent.ManagedLock.ReadWrite
-
For performing operations that require read locks
- recover(Function<Throwable, ? extends A>) - Method in interface io.atlassian.util.concurrent.Promise
-
Recover from an exception using the supplied exception strategy
- rejected(Throwable) - Static method in class io.atlassian.util.concurrent.Promises
-
Creates a new, rejected promise from the given
Throwable
and result type.
- release() - Method in class io.atlassian.util.concurrent.BooleanLatch
-
Release the latch, releasing one or more threads that are waiting on it.
- release() - Method in class io.atlassian.util.concurrent.PhasedLatch
-
Release the current phase.
- release() - Method in interface io.atlassian.util.concurrent.ReusableLatch
-
Release the latch, releasing one or more threads that are waiting on it.
- reset() - Method in class io.atlassian.util.concurrent.ResettableLazyReference
-
Reset the internal reference.
- resets() - Method in class io.atlassian.util.concurrent.ResettableLazyReference
-
Reset the internal reference and returns a LazyReference of the old value.
- resettable(Supplier<T>) - Static method in class io.atlassian.util.concurrent.Lazy
-
- ResettableLazyReference<T> - Class in io.atlassian.util.concurrent
-
Lazily loaded reference that is not constructed until required.
- ResettableLazyReference() - Constructor for class io.atlassian.util.concurrent.ResettableLazyReference
-
- ReusableLatch - Interface in io.atlassian.util.concurrent
-
- runOperation(K, Callable<R>) - Method in interface io.atlassian.util.concurrent.ConcurrentOperationMap
-
The operation <R> will be keyed on the name <K>.
- runOperation(K, Callable<R>) - Method in class io.atlassian.util.concurrent.ConcurrentOperationMapImpl
-
The operation <R> will be keyed on the name <K>.
- RuntimeExecutionException - Exception in io.atlassian.util.concurrent
-
- RuntimeExecutionException(ExecutionException) - Constructor for exception io.atlassian.util.concurrent.RuntimeExecutionException
-
Constructor for RuntimeExecutionException.
- RuntimeExecutionException(String, ExecutionException) - Constructor for exception io.atlassian.util.concurrent.RuntimeExecutionException
-
Constructor for RuntimeExecutionException.
- RuntimeInterruptedException - Exception in io.atlassian.util.concurrent
-
- RuntimeInterruptedException(InterruptedException) - Constructor for exception io.atlassian.util.concurrent.RuntimeInterruptedException
-
Constructor for RuntimeInterruptedException.
- RuntimeInterruptedException(String, InterruptedException) - Constructor for exception io.atlassian.util.concurrent.RuntimeInterruptedException
-
Constructor for RuntimeInterruptedException.
- RuntimeTimeoutException - Exception in io.atlassian.util.concurrent
-
- RuntimeTimeoutException(TimeoutException) - Constructor for exception io.atlassian.util.concurrent.RuntimeTimeoutException
-
Constructor for RuntimeTimeoutException.
- RuntimeTimeoutException(String, TimeoutException) - Constructor for exception io.atlassian.util.concurrent.RuntimeTimeoutException
-
Constructor for RuntimeTimeoutException.
- RuntimeTimeoutException(long, TimeUnit) - Constructor for exception io.atlassian.util.concurrent.RuntimeTimeoutException
-
Constructor for RuntimeTimeoutException.
- valueOf(String) - Static method in enum io.atlassian.util.concurrent.ExceptionPolicy.Policies
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.atlassian.util.concurrent.Memory.MemoryComparator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.atlassian.util.concurrent.Memory.Unit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.atlassian.util.concurrent.Memory.UnitComparator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.atlassian.util.concurrent.ThreadFactories.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.atlassian.util.concurrent.ExceptionPolicy.Policies
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.atlassian.util.concurrent.Memory.MemoryComparator
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.atlassian.util.concurrent.Memory.Unit
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.atlassian.util.concurrent.Memory.UnitComparator
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.atlassian.util.concurrent.ThreadFactories.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.