org.infinispan.server.core.transport.netty
Class NettyChannelFuture
java.lang.Object
org.infinispan.server.core.transport.netty.NettyChannelFuture
- All Implemented Interfaces:
- ChannelFuture
public class NettyChannelFuture
- extends Object
- implements ChannelFuture
NettyChannelFuture.
- Since:
- 4.0
- Author:
- Galder ZamarreƱo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyChannelFuture
public NettyChannelFuture(org.jboss.netty.channel.ChannelFuture future)
await
public ChannelFuture await()
throws InterruptedException
- Specified by:
await
in interface ChannelFuture
- Throws:
InterruptedException
await
public boolean await(long timeout,
TimeUnit unit)
throws InterruptedException
- Specified by:
await
in interface ChannelFuture
- Throws:
InterruptedException
await
public boolean await(long timeoutMillis)
throws InterruptedException
- Specified by:
await
in interface ChannelFuture
- Throws:
InterruptedException
awaitUninterruptibly
public ChannelFuture awaitUninterruptibly()
- Specified by:
awaitUninterruptibly
in interface ChannelFuture
awaitUninterruptibly
public boolean awaitUninterruptibly(long timeout,
TimeUnit unit)
- Specified by:
awaitUninterruptibly
in interface ChannelFuture
awaitUninterruptibly
public boolean awaitUninterruptibly(long timeoutMillis)
- Specified by:
awaitUninterruptibly
in interface ChannelFuture
getChannel
public Channel getChannel()
- Specified by:
getChannel
in interface ChannelFuture
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interface ChannelFuture
isDone
public boolean isDone()
- Specified by:
isDone
in interface ChannelFuture
setFailure
public boolean setFailure(Throwable cause)
- Specified by:
setFailure
in interface ChannelFuture
setSuccess
public boolean setSuccess()
- Specified by:
setSuccess
in interface ChannelFuture
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.