Class SingletonTransport

  • All Implemented Interfaces:
    Transport

    public class SingletonTransport
    extends NettyConnectionFactoryTransport
    Creates netty connections using a single, shared EventLoopGroup using the best fit event loop group based on the operating system. See Epoll.isAvailable() and KQueue.isAvailable(). This event loop group uses daemon threads and does not expect to be shutdown, however it can be manually shutdown using shutdown().
    • Field Detail

      • SHARED_WORKER_GROUP

        private static final io.netty.channel.EventLoopGroup SHARED_WORKER_GROUP
        Event group used for all connections .
    • Constructor Detail

      • SingletonTransport

        public SingletonTransport()
        Default constructor.