Class NioLoop

  • All Implemented Interfaces:
    java.lang.Runnable

    public class NioLoop
    extends java.lang.Object
    implements java.lang.Runnable
    Logic of the NIO loop.
    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
      • nioParams

        private final NioParams nioParams
      • connectionShutdownExecutor

        private final java.util.concurrent.ExecutorService connectionShutdownExecutor
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • dispatchShutdownToConnection

        protected void dispatchShutdownToConnection​(java.lang.Runnable connectionShutdownRunnable,
                                                    java.lang.String connectionName)
      • executorService

        private java.util.concurrent.ExecutorService executorService()
      • threadFactory

        private java.util.concurrent.ThreadFactory threadFactory()