当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
Mutex.Action (Utilities API) - NetBeans API Javadoc (Current Development Version)
org.openide.util
Interface Mutex.Action<T>
- All Superinterfaces:
- Mutex.ExceptionAction<T>
- Enclosing class:
- Mutex
public static interface Mutex.Action<T>
- extends Mutex.ExceptionAction<T>
Action to be executed in a mutex without throwing any checked exceptions.
Unchecked exceptions will be propagated to calling code.
Method Summary |
T |
run()
Execute the action. |
run
T run()
- Execute the action.
- Specified by:
run
in interface Mutex.ExceptionAction<T>
- Returns:
- any object, then returned from
Mutex.readAccess(Mutex.Action)
or Mutex.writeAccess(Mutex.Action)