Class NioEndpoint.PollerEvent

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    NioEndpoint

    public static class NioEndpoint.PollerEvent
    extends java.lang.Object
    implements java.lang.Runnable
    PollerEvent, cacheable object for poller events to avoid GC
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void reset()  
      void reset​(NioChannel ch, int intOps)  
      void run()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PollerEvent

        public PollerEvent​(NioChannel ch,
                           int intOps)
    • Method Detail

      • reset

        public void reset​(NioChannel ch,
                          int intOps)
      • reset

        public void reset()
      • run

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object