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

Mutex.Action (NetBeans APIs) - NetBeans API Javadoc 4.1.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 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.