Uses of Class
com.atlassian.util.concurrent.NotNull

Packages that use NotNull
com.atlassian.util.concurrent   
 

Uses of NotNull in com.atlassian.util.concurrent
 

Methods in com.atlassian.util.concurrent with annotations of type NotNull
 V BlockingReference.get()
          Gets the current element if it is not null, if it is null then this method blocks and waits until it is not null.
 V BlockingReference.get(long time, java.util.concurrent.TimeUnit unit)
          Gets the current element if it is not null, if it is null then this method blocks and waits until it is not null.
static ManagedLock ManagedLocks.manage(java.util.concurrent.locks.Lock lock)
          Get a ManagedLock that manages the supplied Lock.
static ManagedLock.ReadWrite ManagedLocks.manageReadWrite(java.util.concurrent.locks.ReadWriteLock lock)
          Get a ManagedLock.ReadWrite that manages the supplied ReadWriteLock.
static ManagedLock ManagedLocks.newManagedLock()
          Get a ManagedLock that manages a ReentrantLock.
 V BlockingReference.take()
          Takes the current element if it is not null and replaces it with null.
 V BlockingReference.take(long time, java.util.concurrent.TimeUnit unit)
          Takes the current element if it is not null and replaces it with null.
static
<T> Function<T,ManagedLock>
ManagedLocks.weakManagedLockFactory()
          Convenience method that calls ManagedLocks.weakManagedLockFactory(Function) using the identity function for striping, essentially meaning that unique input will have its own lock.
static
<T,D> Function<T,ManagedLock>
ManagedLocks.weakManagedLockFactory(Function<T,D> stripeFunction)
          Convenience method that simply calls ManagedLocks.weakManagedLockFactory(Function, Supplier) with the default lock factory.
static
<T,D> Function<T,ManagedLock>
ManagedLocks.weakManagedLockFactory(Function<T,D> stripeFunction, Supplier<java.util.concurrent.locks.Lock> lockFactory)
          Create a Function for resolving managed locks .
static
<T> Function<T,ManagedLock.ReadWrite>
ManagedLocks.weakReadWriteManagedLockFactory()
          A convenience method for calling ManagedLocks.weakReadWriteManagedLockFactory(Function) that uses the identity function for striping, essentially meaning that unique input will have its own lock.
static
<T,D> Function<T,ManagedLock.ReadWrite>
ManagedLocks.weakReadWriteManagedLockFactory(Function<T,D> stripeFunction)
          A convenience method for calling ManagedLocks.weakReadWriteManagedLockFactory(Function, Supplier) that uses default locks
static
<T,D> Function<T,ManagedLock.ReadWrite>
ManagedLocks.weakReadWriteManagedLockFactory(Function<T,D> stripeFunction, Supplier<java.util.concurrent.locks.ReadWriteLock> lockFactory)
          Create a Function for resolving managed read-write locks.
 

Method parameters in com.atlassian.util.concurrent with annotations of type NotNull
static
<D,R> Function<D,R>
Functions.fromSupplier(Supplier<R> supplier)
          Get a function that uses the Supplier as a factory for all inputs.
 V BlockingReference.get(long time, java.util.concurrent.TimeUnit unit)
          Gets the current element if it is not null, if it is null then this method blocks and waits until it is not null.
static ManagedLock ManagedLocks.manage(java.util.concurrent.locks.Lock lock)
          Get a ManagedLock that manages the supplied Lock.
static ManagedLock.ReadWrite ManagedLocks.manageReadWrite(java.util.concurrent.locks.ReadWriteLock lock)
          Get a ManagedLock.ReadWrite that manages the supplied ReadWriteLock.
static java.util.concurrent.ThreadFactory ThreadFactories.namedThreadFactory(java.lang.String name)
          Get a ThreadFactory with the required name prefix.
static java.util.concurrent.ThreadFactory ThreadFactories.namedThreadFactory(java.lang.String name, ThreadFactories.Type type)
          Get a ThreadFactory with the required name prefix and type (user or daemon).
static java.util.concurrent.ThreadFactory ThreadFactories.namedThreadFactory(java.lang.String name, ThreadFactories.Type type)
          Get a ThreadFactory with the required name prefix and type (user or daemon).
static java.util.concurrent.ThreadFactory ThreadFactories.namedThreadFactory(java.lang.String name, ThreadFactories.Type type, int priority)
          Get a ThreadFactory with the required name prefix, type and priority.
static java.util.concurrent.ThreadFactory ThreadFactories.namedThreadFactory(java.lang.String name, ThreadFactories.Type type, int priority)
          Get a ThreadFactory with the required name prefix, type and priority.
static
<K,V> CopyOnWriteSortedMap<K,V>
CopyOnWriteSortedMap.newTreeMap(java.util.Comparator<? super K> comparator)
          Create a new CopyOnWriteSortedMap where the underlying map instances are TreeMap.
static
<K,V> CopyOnWriteSortedMap<K,V>
CopyOnWriteSortedMap.newTreeMap(java.util.Map<? extends K,? extends V> map)
          Create a new CopyOnWriteSortedMap where the underlying map instances are TreeMap, the sort uses the key's natural order and the initial values are supplied.
static
<K,V> CopyOnWriteSortedMap<K,V>
CopyOnWriteSortedMap.newTreeMap(java.util.Map<? extends K,? extends V> map, java.util.Comparator<? super K> comparator)
          Create a new CopyOnWriteSortedMap where the underlying map instances are TreeMap, the sort uses the key's natural order and the initial values are supplied.
static
<K,V> CopyOnWriteSortedMap<K,V>
CopyOnWriteSortedMap.newTreeMap(java.util.Map<? extends K,? extends V> map, java.util.Comparator<? super K> comparator)
          Create a new CopyOnWriteSortedMap where the underlying map instances are TreeMap, the sort uses the key's natural order and the initial values are supplied.
 void BlockingReference.set(V value)
          Set the value of this reference.
static
<T,D> Function<T,ManagedLock>
ManagedLocks.weakManagedLockFactory(Function<T,D> stripeFunction)
          Convenience method that simply calls ManagedLocks.weakManagedLockFactory(Function, Supplier) with the default lock factory.
static
<T,D> Function<T,ManagedLock>
ManagedLocks.weakManagedLockFactory(Function<T,D> stripeFunction, Supplier<java.util.concurrent.locks.Lock> lockFactory)
          Create a Function for resolving managed locks .
static
<T,D> Function<T,ManagedLock>
ManagedLocks.weakManagedLockFactory(Function<T,D> stripeFunction, Supplier<java.util.concurrent.locks.Lock> lockFactory)
          Create a Function for resolving managed locks .
static
<T,D> Function<T,ManagedLock.ReadWrite>
ManagedLocks.weakReadWriteManagedLockFactory(Function<T,D> stripeFunction, Supplier<java.util.concurrent.locks.ReadWriteLock> lockFactory)
          Create a Function for resolving managed read-write locks.
static
<T,D> Function<T,ManagedLock.ReadWrite>
ManagedLocks.weakReadWriteManagedLockFactory(Function<T,D> stripeFunction, Supplier<java.util.concurrent.locks.ReadWriteLock> lockFactory)
          Create a Function for resolving managed read-write locks.
<R> R
ManagedLock.withLock(java.util.concurrent.Callable<R> callable)
          Execute the supplied Callable under a lock determined by the descriptor.
 void ManagedLock.withLock(java.lang.Runnable runnable)
          Execute the supplied Runnable under a lock determined by the descriptor.
<R> R
ManagedLock.withLock(Supplier<R> supplier)
          Execute the supplied Supplier under a lock determined by the descriptor.
 

Constructor parameters in com.atlassian.util.concurrent with annotations of type NotNull
AsyncCompleter.Builder(java.util.concurrent.Executor executor)
          Create a Builder with the supplied Executor
BlockingReference(V value)
          Deprecated. use BlockingReference.newSRSW() instead.
 



Copyright © 2011 Atlassian. All Rights Reserved.