| threaddemo.locking.LockExceptionAction
LockExceptionAction | public interface LockExceptionAction (Code) | | Action to be executed in a lock, possibly throwing checked exceptions.
May throw a checked exception.
Unchecked exceptions will be propagated to calling code without encapsulation.
|
Method Summary | |
public T | run() Execute the action. |
run | public T run() throws E(Code) | | Execute the action.
Can throw an exception.
any object, then returned from Lock.read(LockExceptionAction) or Lock.write(LockExceptionAction) throws: E - any exception the body needs to throw |
|
|