Class NativeTransportService


  • public class NativeTransportService
    extends java.lang.Object
    Handles native transport server lifecycle and associated resources. Lazily initialized.
    • Constructor Detail

      • NativeTransportService

        public NativeTransportService()
    • Method Detail

      • start

        public void start()
        Starts native transport servers.
      • stop

        public void stop()
        Stops currently running native transport servers.
      • stop

        public void stop​(boolean force)
      • destroy

        public void destroy()
        Ultimately stops servers and closes all resources.
      • useEpoll

        public static boolean useEpoll()
        Returns:
        intend to use epoll based event looping
      • isRunning

        public boolean isRunning()
        Returns:
        true in case native transport server is running
      • clearConnectionHistory

        public void clearConnectionHistory()