NioEndpoint.PollerEvent (Apache Tomcat 9.0.37 API Documentation)

org.apache.tomcat.util.net

## Class NioEndpoint.PollerEvent

- java.lang.Object
- - org.apache.tomcat.util.net.NioEndpoint.PollerEvent

- Enclosing class:
    NioEndpoint

      public static class NioEndpoint.PollerEvent
      extends Object

  PollerEvent, cacheable object for poller events to avoid GC

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PollerEvent(NioChannel ch, int intOps)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getInterestOps()`
    `NioChannel` | `getSocket()`
    `void` | `reset()`
    `void` | `reset(NioChannel ch, int intOps)`
    `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)

    - #### getSocket

          public NioChannel getSocket()

    - #### getInterestOps

          public int getInterestOps()

    - #### reset

          public void reset()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.