org.apache.tomcat.util.net

Class NioEndpoint.PollerEvent

public class NioEndpoint.PollerEvent extends Object implements Runnable

PollerEvent, cacheable object for poller events to avoid GC
Field Summary
protected intinterestOps
protected NioEndpoint.KeyAttachmentkey
protected NioChannelsocket
Constructor Summary
PollerEvent(NioChannel ch, NioEndpoint.KeyAttachment k, int intOps)
Method Summary
voidreset(NioChannel ch, NioEndpoint.KeyAttachment k, int intOps)
voidreset()
voidrun()
StringtoString()

Field Detail

interestOps

protected int interestOps

key

protected NioEndpoint.KeyAttachment key

socket

protected NioChannel socket

Constructor Detail

PollerEvent

public PollerEvent(NioChannel ch, NioEndpoint.KeyAttachment k, int intOps)

Method Detail

reset

public void reset(NioChannel ch, NioEndpoint.KeyAttachment k, int intOps)

reset

public void reset()

run

public void run()

toString

public String toString()
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.