com.atlassian.confluence.concurrent
Class LockOperationWithoutResult

java.lang.Object
  extended by com.atlassian.confluence.concurrent.LockOperation
      extended by com.atlassian.confluence.concurrent.LockOperationWithoutResult
All Implemented Interfaces:
java.lang.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  java.lang.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 java.lang.Object withLock()
Specified by:
withLock in class LockOperation

withLockNoResult

protected abstract void withLockNoResult()


Copyright © 2003-2014 Atlassian. All Rights Reserved.