| 程序包 | 说明 |
|---|---|
| io.seata.core.rpc.netty |
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.commons.pool.impl.GenericKeyedObjectPool<NettyPoolKey,io.netty.channel.Channel> |
AbstractRpcRemotingClient.nettyClientKeyPool
The Netty client key pool.
|
| 限定符和类型 | 方法和说明 |
|---|---|
NettyPoolKey |
NettyPoolKey.setAddress(String address)
Sets set address.
|
NettyPoolKey |
NettyPoolKey.setTransactionRole(NettyPoolKey.TransactionRole transactionRole)
Sets set client role.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
NettyPoolableFactory.activateObject(NettyPoolKey key,
io.netty.channel.Channel obj) |
void |
NettyPoolableFactory.destroyObject(NettyPoolKey key,
io.netty.channel.Channel channel) |
io.netty.channel.Channel |
NettyPoolableFactory.makeObject(NettyPoolKey key) |
void |
NettyPoolableFactory.passivateObject(NettyPoolKey key,
io.netty.channel.Channel obj) |
boolean |
NettyPoolableFactory.validateObject(NettyPoolKey key,
io.netty.channel.Channel obj) |
Copyright © 2019 Seata. All rights reserved.