Apache Tomcat 6.0.41

org.apache.jk.common
Class ChannelNioSocket.Poller

java.lang.Object
  extended by org.apache.jk.common.ChannelNioSocket.Poller
All Implemented Interfaces:
ThreadPoolRunnable
Enclosing class:
ChannelNioSocket

protected class ChannelNioSocket.Poller
extends java.lang.Object
implements ThreadPoolRunnable


Method Summary
 java.lang.Object[] getInitData()
          Called when this object is first loaded in the thread pool.
 void runIt(java.lang.Object[] perTh)
          This method will be executed in one of the pool's threads.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInitData

public java.lang.Object[] getInitData()
Description copied from interface: ThreadPoolRunnable
Called when this object is first loaded in the thread pool. Important: all workers in a pool must be of the same type, otherwise the mechanism becomes more complex.

Specified by:
getInitData in interface ThreadPoolRunnable

runIt

public void runIt(java.lang.Object[] perTh)
Description copied from interface: ThreadPoolRunnable
This method will be executed in one of the pool's threads. The thread will be returned to the pool.

Specified by:
runIt in interface ThreadPoolRunnable

Apache Tomcat 6.0.41

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