public static ExecutorService getExecutor ( final boolean isOccupyThreadForPerConnection , final TransactionType transactionType , final ChannelId channelId ) { return ( isOccupyThreadForPerConnection || TransactionType . XA == transactionType || TransactionType . BASE == transactionType ) ? ChannelThreadExecutorGroup . getInstance ( ) . get ( channelId ) : UserExecutorGroup . getInstance ( ) . getExecutorService ( ) ; }
Get executor service .