T
- the type of object to returnpublic static interface Mutex.ExceptionAction<T>
Modifier and Type | Method and Description |
---|---|
T |
run()
Execute the action.
|
T run() throws Exception
Mutex.readAccess(Mutex.ExceptionAction)
or Mutex.writeAccess(Mutex.ExceptionAction)
Exception
- any exception the body needs to throw