| Package | Description |
|---|---|
| io.seata.core.rpc | |
| io.seata.core.rpc.netty |
| Modifier and Type | Method and Description |
|---|---|
NettyPoolKey.TransactionRole |
RpcContext.getClientRole()
Gets get client role.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RpcContext.setClientRole(NettyPoolKey.TransactionRole clientRole)
Sets set client role.
|
| Modifier and Type | Method and Description |
|---|---|
static NettyPoolKey.TransactionRole |
ChannelManager.getRoleFromChannel(io.netty.channel.Channel channel)
Gets get role from channel.
|
NettyPoolKey.TransactionRole |
NettyPoolKey.getTransactionRole()
Gets get client role.
|
static NettyPoolKey.TransactionRole |
NettyPoolKey.TransactionRole.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NettyPoolKey.TransactionRole[] |
NettyPoolKey.TransactionRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
NettyPoolKey |
NettyPoolKey.setTransactionRole(NettyPoolKey.TransactionRole transactionRole)
Sets set client role.
|
| Constructor and Description |
|---|
AbstractNettyRemotingClient(NettyClientConfig nettyClientConfig,
io.netty.util.concurrent.EventExecutorGroup eventExecutorGroup,
ThreadPoolExecutor messageExecutor,
NettyPoolKey.TransactionRole transactionRole) |
NettyClientBootstrap(NettyClientConfig nettyClientConfig,
io.netty.util.concurrent.EventExecutorGroup eventExecutorGroup,
NettyPoolKey.TransactionRole transactionRole) |
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 © 2023 Seata. All rights reserved.