org.infinispan.server.core.transport.netty
Class NettyChannelFuture

java.lang.Object
  extended by 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

Constructor Summary
NettyChannelFuture(org.jboss.netty.channel.ChannelFuture future)
           
 
Method Summary
 ChannelFuture await()
           
 boolean await(long timeoutMillis)
           
 boolean await(long timeout, TimeUnit unit)
           
 ChannelFuture awaitUninterruptibly()
           
 boolean awaitUninterruptibly(long timeoutMillis)
           
 boolean awaitUninterruptibly(long timeout, TimeUnit unit)
           
 Channel getChannel()
           
 boolean isCancelled()
           
 boolean isDone()
           
 boolean setFailure(Throwable cause)
           
 boolean setSuccess()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NettyChannelFuture

public NettyChannelFuture(org.jboss.netty.channel.ChannelFuture future)
Method Detail

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

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.