public interface BatchProcessWorkProvider<T>
BatchProcessor
.Modifier and Type | Method and Description |
---|---|
Collection<T> |
getNextWork()
Get the next lot of work for the batch processor.
|
int |
getTotalEstimatedWorkSize()
Get an estimate of the total number of objects that will be provided by this instance.
|
int getTotalEstimatedWorkSize()
Collection<T> getNextWork()
BatchProcessor
will keep calling
this method until it has enough work for the individual worker threads to process
or until the work load is empty.Copyright © 2005–2017 Alfresco Software. All rights reserved.