java.util.concurrent
Class Executors.PrivilegedActionAdapter
java.lang.Object
java.util.concurrent.Executors.PrivilegedActionAdapter
- All Implemented Interfaces:
- Callable<Object>
- Enclosing class:
- Executors
static final class Executors.PrivilegedActionAdapter
- extends Object
- implements Callable<Object>
A callable that runs given privileged action and returns its result
|
Method Summary |
Object |
call()
Computes a result, or throws an exception if unable to do so. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Executors.PrivilegedActionAdapter
Executors.PrivilegedActionAdapter(PrivilegedAction action)
call
public Object call()
- Description copied from interface:
Callable
- Computes a result, or throws an exception if unable to do so.
- Specified by:
call in interface Callable<Object>
- Returns:
- computed result
Please submit a feedback, bug or feature