org.openide.util
Interface Mutex.Action

All Superinterfaces:
Mutex.ExceptionAction
Enclosing class:
Mutex

public static interface Mutex.Action
extends Mutex.ExceptionAction

Action to be executed in a mutex without throwing any checked exceptions. Unchecked exceptions will be propagated to calling code.


Method Summary
 Object run()
          Execute the action.
 

Method Detail

run

public Object run()
Execute the action.
Specified by:
run in interface Mutex.ExceptionAction
Returns:
any object, then returned from Mutex.readAccess(Mutex.Action) or Mutex.writeAccess(Mutex.Action)


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.