站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

Mutex.Action (NetBeans Utilities API) - NetBeans API Javadoc 5.0.0

 

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 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.