org.apache.tomcat.util.net
Class NioEndpoint.PollerEvent
java.lang.Object
org.apache.tomcat.util.net.NioEndpoint.PollerEvent
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- NioEndpoint
public static class NioEndpoint.PollerEvent
- extends Object
- implements Runnable
PollerEvent, cacheable object for poller events to avoid GC
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 Runnable
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.