Uses of Interface
com.atlassian.util.concurrent.ManagedLock.ReadWrite

Uses of ManagedLock.ReadWrite in com.atlassian.util.concurrent
 

Methods in com.atlassian.util.concurrent that return ManagedLock.ReadWrite
static ManagedLock.ReadWrite ManagedLocks.manageReadWrite(java.util.concurrent.locks.ReadWriteLock lock)
          Get a ManagedLock.ReadWrite that manages the supplied ReadWriteLock.
 

Methods in com.atlassian.util.concurrent that return types with arguments of type ManagedLock.ReadWrite
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.
 



Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.