软件包 | 描述 |
---|---|
io.netty.channel.pool |
Channel 池的实现和API。
|
Modifier and Type | Method and Description |
---|---|
static FixedChannelPool.AcquireTimeoutAction |
FixedChannelPool.AcquireTimeoutAction.valueOf(java.lang.String name)
以指定名称返回此类型的枚举常量。
|
static FixedChannelPool.AcquireTimeoutAction[] |
FixedChannelPool.AcquireTimeoutAction.values()
按照声明的顺序返回包含此枚举类型常量的数组。
|
Constructor and Description |
---|
FixedChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, ChannelHealthChecker healthCheck, FixedChannelPool.AcquireTimeoutAction action, long acquireTimeoutMillis, int maxConnections, int maxPendingAcquires)
创建一个新的实例。
|
FixedChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, ChannelHealthChecker healthCheck, FixedChannelPool.AcquireTimeoutAction action, long acquireTimeoutMillis, int maxConnections, int maxPendingAcquires, boolean releaseHealthCheck)
创建一个新的实例。
|
FixedChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, ChannelHealthChecker healthCheck, FixedChannelPool.AcquireTimeoutAction action, long acquireTimeoutMillis, int maxConnections, int maxPendingAcquires, boolean releaseHealthCheck, boolean lastRecentUsed)
创建一个新的实例。
|
Copyright © 2008–2018 The Netty Project. All rights reserved.