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

Packages that use ManagedLock
com.atlassian.util.concurrent   
 

Uses of ManagedLock in com.atlassian.util.concurrent
 

Methods in com.atlassian.util.concurrent that return ManagedLock
static ManagedLock ManagedLocks.manage(java.util.concurrent.locks.Lock lock)
          Get a ManagedLock that manages the supplied Lock.
static ManagedLock ManagedLocks.newManagedLock()
          Get a ManagedLock that manages a ReentrantLock.
 ManagedLock ManagedLock.ReadWrite.read()
          For performing operations that require read locks
 ManagedLock ManagedLock.ReadWrite.write()
          For performing operations that require write locks
 

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



Copyright © 2011 Atlassian. All Rights Reserved.