com.sun.grizzly.http.jk.common
Class ChannelNioSocket.Poller

java.lang.Object
  extended by com.sun.grizzly.http.jk.common.ChannelNioSocket.Poller
All Implemented Interfaces:
ThreadPoolRunnable
Enclosing class:
ChannelNioSocket

protected class ChannelNioSocket.Poller
extends Object
implements ThreadPoolRunnable


Method Summary
 Object[] getInitData()
          Called when this object is first loaded in the thread pool.
 void runIt(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 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(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


Copyright © 2012 Oracle Corporation. All Rights Reserved.