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.
 

Method Detail

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)