|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.concurrent.LockOperation
public abstract class LockOperation
Perform a unit of work while managing the lock lifecycle automatically.
Lock| Constructor Summary | |
|---|---|
protected |
LockOperation(Lock lock)
|
| Method Summary | |
|---|---|
java.lang.Object |
doOperation()
|
void |
run()
|
protected abstract java.lang.Object |
withLock()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected LockOperation(Lock lock)
| Method Detail |
|---|
public java.lang.Object doOperation()
public final void run()
run in interface java.lang.Runnableprotected abstract java.lang.Object withLock()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||