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