org.openide.util
Interface Mutex.Action

All Superinterfaces:
Mutex.ExceptionAction
Enclosing interface:
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 May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.