Package 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 java.lang.ObjectPollerEvent, cacheable object for poller events to avoid GC
-
-
Constructor Summary
Constructors Constructor Description PollerEvent(NioChannel ch, int intOps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetInterestOps()NioChannelgetSocket()voidreset()voidreset(NioChannel ch, int intOps)java.lang.StringtoString()
-
-
-
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 java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-