public final class CommandExecutorSelector extends Object
| Constructor and Description |
|---|
CommandExecutorSelector() |
| Modifier and Type | Method and Description |
|---|---|
static ExecutorService |
getExecutor(boolean isOccupyThreadForPerConnection,
org.apache.shardingsphere.transaction.core.TransactionType transactionType,
io.netty.channel.ChannelId channelId)
Get executor service.
|
public static ExecutorService getExecutor(boolean isOccupyThreadForPerConnection, org.apache.shardingsphere.transaction.core.TransactionType transactionType, io.netty.channel.ChannelId channelId)
isOccupyThreadForPerConnection - is occupy thread for per connection or nottransactionType - transaction typechannelId - channel IDCopyright © 2019 The Apache Software Foundation. All rights reserved.