| 程序包 | 说明 |
|---|---|
| io.netty.channel.pool |
Implementations and API for
Channel pools. |
| 限定符和类型 | 方法和说明 |
|---|---|
static FixedChannelPool.AcquireTimeoutAction |
FixedChannelPool.AcquireTimeoutAction.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static FixedChannelPool.AcquireTimeoutAction[] |
FixedChannelPool.AcquireTimeoutAction.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 构造器和说明 |
|---|
FixedChannelPool(Bootstrap bootstrap,
ChannelPoolHandler handler,
ChannelHealthChecker healthCheck,
FixedChannelPool.AcquireTimeoutAction action,
long acquireTimeoutMillis,
int maxConnections,
int maxPendingAcquires)
Creates a new instance.
|
FixedChannelPool(Bootstrap bootstrap,
ChannelPoolHandler handler,
ChannelHealthChecker healthCheck,
FixedChannelPool.AcquireTimeoutAction action,
long acquireTimeoutMillis,
int maxConnections,
int maxPendingAcquires,
boolean releaseHealthCheck)
Creates a new instance.
|
FixedChannelPool(Bootstrap bootstrap,
ChannelPoolHandler handler,
ChannelHealthChecker healthCheck,
FixedChannelPool.AcquireTimeoutAction action,
long acquireTimeoutMillis,
int maxConnections,
int maxPendingAcquires,
boolean releaseHealthCheck,
boolean lastRecentUsed)
Creates a new instance.
|