Class NioSingletonTransport

  • All Implemented Interfaces:
    Transport

    public class NioSingletonTransport
    extends NettyConnectionFactoryTransport
    Creates netty connections using a single, shared NioEventLoopGroup. 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

      • NioSingletonTransport

        public NioSingletonTransport()
        Default constructor.