net.sf.mmm.util.process.base
Class ProcessUtilImpl.AsyncProcessExecutorImpl
java.lang.Object
java.util.concurrent.FutureTask<Integer>
net.sf.mmm.util.process.base.ProcessUtilImpl.AsyncProcessExecutorImpl
- All Implemented Interfaces:
- Runnable, Future<Integer>, RunnableFuture<Integer>, AsyncProcessExecutor
- Enclosing class:
- ProcessUtilImpl
protected static class ProcessUtilImpl.AsyncProcessExecutorImpl
- extends FutureTask<Integer>
- implements AsyncProcessExecutor
This inner class is the default implementation of the AsyncProcessExecutor.
|
Method Summary |
boolean |
cancel(boolean mayInterruptIfRunning)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
executor
private final ProcessUtilImpl.ProcessExecutor executor
- The actual task to run.
ProcessUtilImpl.AsyncProcessExecutorImpl
public ProcessUtilImpl.AsyncProcessExecutorImpl(ProcessUtilImpl.ProcessExecutor executor)
- The constructor.
- Parameters:
executor - is the process-executor to call.
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
- Specified by:
cancel in interface Future<Integer>- Overrides:
cancel in class FutureTask<Integer>
Copyright © 2001-2010 mmm-Team. All Rights Reserved.