org.rutil.util
Class BatchProcessor

java.lang.Object
  extended by org.rutil.util.BatchProcessor

public class BatchProcessor
extends java.lang.Object

A helper class that helps with slicing the input into smaller batches and processing them. The actual processing is accomplished via a callback.

Author:
mohan
See Also:
BatchProcessCallback

Constructor Summary
BatchProcessor()
           
 
Method Summary
static
<T> void
process(BatchProcessCallback<T> callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchProcessor

public BatchProcessor()
Method Detail

process

public static <T> void process(BatchProcessCallback<T> callback)