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

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.
 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> lockSupplier)
          Create a Function for resolving managed locks .
 



Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.