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

Mutex.Action (Utilities API) - NetBeans API Javadoc (Current Development Version)

org.openide.util 7.9.0 1

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)

org.openide.util 7.9.0 1

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.