Class LockOperation
- java.lang.Object
-
- com.atlassian.confluence.concurrent.LockOperation
-
- All Implemented Interfaces:
Runnable
@Deprecated public abstract class LockOperation extends Object implements Runnable
Deprecated.Since 5.6. UseClusterLockServicein conjunction withManagedLock.withLock(java.util.concurrent.Callable).Perform a unit of work while managing the lock lifecycle automatically.- Lock is acquired
- withLock called
- Lock is released
- See Also:
Lock
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLockOperation(Lock lock)Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ObjectdoOperation()Deprecated.voidrun()Deprecated.protected abstract ObjectwithLock()Deprecated.
-