org.apache.tomcat.util.net
Class NioEndpoint.PollerEvent
java.lang.Object
org.apache.tomcat.util.net.NioEndpoint.PollerEvent
- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- NioEndpoint
public class NioEndpoint.PollerEvent
- extends java.lang.Object
- implements java.lang.Runnable
PollerEvent, cacheable object for poller events to avoid GC
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
socket
protected NioChannel socket
interestOps
protected int interestOps
key
protected NioEndpoint.KeyAttachment key
NioEndpoint.PollerEvent
public NioEndpoint.PollerEvent(NioChannel ch,
NioEndpoint.KeyAttachment k,
int intOps)
reset
public void reset(NioChannel ch,
NioEndpoint.KeyAttachment k,
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
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.