| 程序包 | 说明 |
|---|---|
| io.seata.core.rpc | |
| io.seata.core.rpc.netty |
| 限定符和类型 | 方法和说明 |
|---|---|
NettyPoolKey.TransactionRole |
RpcContext.getClientRole()
Gets get client role.
|
static NettyPoolKey.TransactionRole |
ChannelManager.getRoleFromChannel(io.netty.channel.Channel channel)
Gets get role from channel.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RpcContext.setClientRole(NettyPoolKey.TransactionRole clientRole)
Sets set client role.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract NettyPoolKey.TransactionRole |
AbstractRpcRemotingClient.getTransactionRole()
Gets transaction role.
|
NettyPoolKey.TransactionRole |
NettyPoolKey.getTransactionRole()
Gets get client role.
|
protected NettyPoolKey.TransactionRole |
RmRpcClient.getTransactionRole() |
protected NettyPoolKey.TransactionRole |
TmRpcClient.getTransactionRole() |
static NettyPoolKey.TransactionRole |
NettyPoolKey.TransactionRole.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static NettyPoolKey.TransactionRole[] |
NettyPoolKey.TransactionRole.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
NettyPoolKey |
NettyPoolKey.setTransactionRole(NettyPoolKey.TransactionRole transactionRole)
Sets set client role.
|
| 构造器和说明 |
|---|
NettyPoolKey(NettyPoolKey.TransactionRole transactionRole,
String address)
Instantiates a new Netty pool key.
|
NettyPoolKey(NettyPoolKey.TransactionRole transactionRole,
String address,
AbstractMessage message)
Instantiates a new Netty pool key.
|
Copyright © 2019 Seata. All rights reserved.