
public class ChannelRunnableWrapper extends DefaultChannelFuture implements Runnable
| Constructor and Description |
|---|
ChannelRunnableWrapper(Channel channel,
Runnable task) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancels the I/O operation associated with this future
and notifies all listeners if canceled successfully.
|
void |
run() |
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getCause, getChannel, isCancelled, isDone, isSuccess, isUseDeadLockChecker, removeListener, rethrowIfFailed, setFailure, setProgress, setSuccess, setUseDeadLockChecker, sync, syncUninterruptiblypublic boolean cancel()
ChannelFuturecancel in interface ChannelFuturecancel in class DefaultChannelFuturetrue if and only if the operation has been canceled.
false if the operation can't be canceled or is already
completed.Copyright © 2008-2014 The Netty Project. All Rights Reserved.