org.jppf.client.concurrent
Class BatchHandler

java.lang.Object
  extended by org.jppf.utils.ThreadSynchronization
      extended by org.jppf.client.concurrent.BatchHandler
All Implemented Interfaces:
Runnable

public class BatchHandler
extends ThreadSynchronization
implements Runnable

This class is a processor for tasks submitted via a JPPFExecutorService. It handles both normal mode and batching mode, where the tasks throughput is streamlined by specifying how many tasks should be sent to the grid, and a which intervals.

Author:
Laurent Cohen

Field Summary
 
Fields inherited from class org.jppf.utils.ThreadSynchronization
stopped
 
Method Summary
 void run()
          
 
Methods inherited from class org.jppf.utils.ThreadSynchronization
goToSleep, goToSleep, goToSleep, isStopped, setStopped, wakeUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

run

public void run()

Specified by:
run in interface Runnable


Copyright © 2005-2010 JPPF Team.