|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectorg.jboss.netty.channel.CompleteChannelFuture
org.jboss.netty.channel.FailedChannelFuture
public class FailedChannelFuture

已经失败的CompleteChannelFuture.建议使用
Channels.failedFuture(Channel, Throwable)代替直接调用该future的构造方法.
| 构造方法摘要 | |
|---|---|
FailedChannelFuture(Channel channel,
java.lang.Throwable cause)
创建一个实例. |
|
| 方法摘要 | |
|---|---|
java.lang.Throwable |
getCause()
如果I/O操作失败,则返回导致I/O操作失败的原因. |
boolean |
isSuccess()
只有该future的I/O操作成功完成才返回true. |
| 从类 org.jboss.netty.channel.CompleteChannelFuture 继承的方法 |
|---|
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, getChannel, isCancelled, isDone, removeListener, setFailure, setProgress, setSuccess |
| 从类 java.lang.Object 继承的方法 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public FailedChannelFuture(Channel channel,
java.lang.Throwable cause)
channel - 该future关联的Channelcause - 失败的原因| 方法详细信息 |
|---|
public java.lang.Throwable getCause()
ChannelFuture 复制的描述
null.public boolean isSuccess()
ChannelFuture 复制的描述
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||