Mutex.Action<T>
public static interface Mutex.ExceptionAction<T>
Modifier and Type | Method | 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 throwBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.