A B C F G H I L N P R S T W

A

Assertions - Class in com.atlassian.util.concurrent
Design by contract assertions.
await() - Method in class com.atlassian.util.concurrent.BooleanLatch
Causes the current thread to wait until the latch has been released, unless the thread is interrupted.
await(long, TimeUnit) - Method in class com.atlassian.util.concurrent.BooleanLatch
Causes the current thread to wait until the latch has been released, unless the thread is interrupted, or the specified waiting time elapses.
await() - Method in class com.atlassian.util.concurrent.PhasedLatch
Await the current phase.
await(long, TimeUnit) - Method in class com.atlassian.util.concurrent.PhasedLatch
Await the current phase for the specified period.
awaitPhase(int) - Method in class com.atlassian.util.concurrent.PhasedLatch
Await the specified phase.
awaitPhase(int, long, TimeUnit) - Method in class com.atlassian.util.concurrent.PhasedLatch
Await the specified phase for the specified period.

B

BlockingReference<V> - Class in com.atlassian.util.concurrent
A Reference with queue semantics where rather than getting the current reference it is taken instead.
BlockingReference() - Constructor for class com.atlassian.util.concurrent.BlockingReference
 
BooleanLatch - Class in com.atlassian.util.concurrent
A BooleanLatch is a reusable latch that resets after it is released and waited on.
BooleanLatch() - Constructor for class com.atlassian.util.concurrent.BooleanLatch
 

C

cancel() - Method in class com.atlassian.util.concurrent.LazyReference
Has the LazyReference.create() reference been initialized.
com.atlassian.util.concurrent - package com.atlassian.util.concurrent
 
comparator() - Method in class com.atlassian.util.concurrent.CopyOnWriteSortedMap
 
ConcurrentOperationMap<K,R> - Interface in com.atlassian.util.concurrent
This will allow you to submit an operation, encapsulated by a Callable, and keyed by an Object , such that the result of the Callable will be available to any concurrent callers with the same Object key.
ConcurrentOperationMapImpl<K,R> - Class in com.atlassian.util.concurrent
 
ConcurrentOperationMapImpl() - Constructor for class com.atlassian.util.concurrent.ConcurrentOperationMapImpl
 
CopyOnWriteMap<K,V> - Class in com.atlassian.util.concurrent
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(Map<K, V>, CopyOnWriteMap.CopyFunction<Map<K, V>>) - Constructor for class com.atlassian.util.concurrent.CopyOnWriteMap
Create a new CopyOnWriteMap with the supplied Map to initialize the values and the CopyOnWriteMap.CopyFunction for creating our actual delegate instances.
CopyOnWriteMap(CopyOnWriteMap.CopyFunction<Map<K, V>>) - Constructor for class com.atlassian.util.concurrent.CopyOnWriteMap
Create a new empty CopyOnWriteMap with the CopyOnWriteMap.CopyFunction for creating our actual delegate instances.
CopyOnWriteMap.CopyFunction<M extends java.util.Map<?,?>> - Interface in com.atlassian.util.concurrent
 
CopyOnWriteMap.Functions - Class in com.atlassian.util.concurrent
Factories that create the standard Collections Map implementations.
CopyOnWriteMap.Functions() - Constructor for class com.atlassian.util.concurrent.CopyOnWriteMap.Functions
 
CopyOnWriteSortedMap<K,V> - Class in com.atlassian.util.concurrent
/** 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(SortedMap<K, V>, CopyOnWriteSortedMap.CopyFunction<SortedMap<K, V>>) - Constructor for class com.atlassian.util.concurrent.CopyOnWriteSortedMap
Create a new CopyOnWriteMap with the supplied Map to initialize the values and the CopyOnWriteSortedMap.CopyFunction for creating our actual delegate instances.
CopyOnWriteSortedMap(CopyOnWriteSortedMap.CopyFunction<SortedMap<K, V>>) - Constructor for class com.atlassian.util.concurrent.CopyOnWriteSortedMap
Create a new empty CopyOnWriteMap with the CopyOnWriteSortedMap.CopyFunction for creating our actual delegate instances.
CopyOnWriteSortedMap.CopyFunction<M extends java.util.SortedMap<?,?>> - Interface in com.atlassian.util.concurrent
 
CopyOnWriteSortedMap.Functions - Class in com.atlassian.util.concurrent
Factories that create the standard Collections Map implementations.
CopyOnWriteSortedMap.Functions() - Constructor for class com.atlassian.util.concurrent.CopyOnWriteSortedMap.Functions
 
create() - Method in class com.atlassian.util.concurrent.LazyReference
The object factory method, guaranteed to be called once and only once.

F

firstKey() - Method in class com.atlassian.util.concurrent.CopyOnWriteSortedMap
 
Function<A,B> - Interface in com.atlassian.util.concurrent
 

G

get(A) - Method in interface com.atlassian.util.concurrent.Function
 
get() - Method in class com.atlassian.util.concurrent.LazyReference
Get the lazily loaded reference in a non-cancellable manner.
getCause() - Method in exception com.atlassian.util.concurrent.RuntimeInterruptedException
 
getInterruptibly() - Method in class com.atlassian.util.concurrent.LazyReference
Get the lazily loaded reference in a cancellable manner.
getMillisTimeout(long, TimeUnit) - Static method in class com.atlassian.util.concurrent.Timeout
Get a Timeout that uses nanosecond precision.
getNanosTimeout(long, TimeUnit) - Static method in class com.atlassian.util.concurrent.Timeout
Get a Timeout that uses nanosecond precision.
getPhase() - Method in class com.atlassian.util.concurrent.PhasedLatch
 
getTime() - Method in class com.atlassian.util.concurrent.Timeout
 
getUnit() - Method in class com.atlassian.util.concurrent.Timeout
 

H

hash() - Static method in class com.atlassian.util.concurrent.CopyOnWriteMap.Functions
HashMap copy function.
headMap(K) - Method in class com.atlassian.util.concurrent.CopyOnWriteSortedMap
 

I

isEmpty() - Method in class com.atlassian.util.concurrent.BlockingReference
Whether or not the current value is null or not.
isExpired() - Method in class com.atlassian.util.concurrent.Timeout
Has this timeout expired
isInitialized() - Method in class com.atlassian.util.concurrent.LazyReference
Has the LazyReference.create() reference been initialized.
isTrue(String, boolean) - Static method in class com.atlassian.util.concurrent.Assertions
 
iterator() - Method in class com.atlassian.util.concurrent.WeakIterable
 

L

lastKey() - Method in class com.atlassian.util.concurrent.CopyOnWriteSortedMap
 
LazyReference<T> - Class in com.atlassian.util.concurrent
Lazily loaded reference that is not constructed until required.
LazyReference() - Constructor for class com.atlassian.util.concurrent.LazyReference
 
LazyReference.InitializationException - Exception in com.atlassian.util.concurrent
If the factory LazyReference.create() method threw an exception, this wraps it.
linked() - Static method in class com.atlassian.util.concurrent.CopyOnWriteMap.Functions
LinkedHashMap copy function.

N

notNull(String, T) - Static method in class com.atlassian.util.concurrent.Assertions
 

P

PhasedLatch - Class in com.atlassian.util.concurrent
A PhasedLatch is a shared latch that resets after it is released and can be reused.
PhasedLatch() - Constructor for class com.atlassian.util.concurrent.PhasedLatch
 

R

release() - Method in class com.atlassian.util.concurrent.BooleanLatch
Release the latch, releasing at most one waiting thread.
release() - Method in class com.atlassian.util.concurrent.PhasedLatch
Release the current phase.
runOperation(K, Callable<R>) - Method in interface com.atlassian.util.concurrent.ConcurrentOperationMap
The operation will be keyed on the name .
runOperation(K, Callable<R>) - Method in class com.atlassian.util.concurrent.ConcurrentOperationMapImpl
 
RuntimeInterruptedException - Exception in com.atlassian.util.concurrent
Convenience class for re-throwing InterruptedException.
RuntimeInterruptedException(InterruptedException) - Constructor for exception com.atlassian.util.concurrent.RuntimeInterruptedException
 
RuntimeInterruptedException(String, InterruptedException) - Constructor for exception com.atlassian.util.concurrent.RuntimeInterruptedException
 

S

set(V) - Method in class com.atlassian.util.concurrent.BlockingReference
Set the value of this reference.
subMap(K, K) - Method in class com.atlassian.util.concurrent.CopyOnWriteSortedMap
 

T

tailMap(K) - Method in class com.atlassian.util.concurrent.CopyOnWriteSortedMap
 
take() - Method in class com.atlassian.util.concurrent.BlockingReference
Takes the current element if it is not null and replaces it with null.
take(long, TimeUnit) - Method in class com.atlassian.util.concurrent.BlockingReference
Takes the current element if it is not null and replaces it with null.
Timeout - Class in com.atlassian.util.concurrent
Used to calculate timeouts from when it is created when successively calling blocking methods.
tree() - Static method in class com.atlassian.util.concurrent.CopyOnWriteSortedMap.Functions
 

W

WeakIterable<E> - Class in com.atlassian.util.concurrent
Simple Iterable that holds weak references to content elements.
WeakIterable() - Constructor for class com.atlassian.util.concurrent.WeakIterable
 

A B C F G H I L N P R S T W

Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.