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 Details

    • SHARED_WORKER_GROUP

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

    • SingletonTransport

      public SingletonTransport()
      Default constructor.
  • Method Details