com.atlassian.confluence.concurrent
Class LockOperationWithoutResult

java.lang.Object
  extended bycom.atlassian.confluence.concurrent.LockOperation
      extended bycom.atlassian.confluence.concurrent.LockOperationWithoutResult
All Implemented Interfaces:
Runnable

public abstract class LockOperationWithoutResult
extends LockOperation

Convenient subclass of LockOperation that discards the result.

See Also:
Lock, LockOperation

Constructor Summary
protected LockOperationWithoutResult(Lock lock)
           
 
Method Summary
protected  Object withLock()
           
protected abstract  void withLockNoResult()
           
 
Methods inherited from class com.atlassian.confluence.concurrent.LockOperation
doOperation, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockOperationWithoutResult

protected LockOperationWithoutResult(Lock lock)
Method Detail

withLock

protected final Object withLock()
Specified by:
withLock in class LockOperation

withLockNoResult

protected abstract void withLockNoResult()


Confluence is developed by Atlassian.