public class GetBatchForIteratorDistributedSpaceTask extends SystemDistributedTask<SpaceIteratorBatchResult> implements AsyncResultFilter<SpaceIteratorBatchResult>
AsyncResultFilter.Decision| Constructor and Description |
|---|
GetBatchForIteratorDistributedSpaceTask() |
GetBatchForIteratorDistributedSpaceTask(SpaceIteratorBatchResultProvider spaceIteratorBatchResultProvider) |
| Modifier and Type | Method and Description |
|---|---|
SpaceRequestInfo |
getSpaceRequestInfo() |
AsyncResultFilter.Decision |
onResult(AsyncResultFilterEvent<SpaceIteratorBatchResult> event)
A callback invoked for each result that arrives as a result of a distributed task execution
allowing to access the result that caused this event, the events received so far, and the
total expected results.
|
void |
readExternal(ObjectInput in) |
SpaceIteratorBatchResult |
reduce(List<AsyncResult<SpaceIteratorBatchResult>> asyncResults) |
void |
writeExternal(ObjectOutput out) |
executeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenabledSmartExternalizableWithReferencepublic GetBatchForIteratorDistributedSpaceTask()
public GetBatchForIteratorDistributedSpaceTask(SpaceIteratorBatchResultProvider spaceIteratorBatchResultProvider)
public AsyncResultFilter.Decision onResult(AsyncResultFilterEvent<SpaceIteratorBatchResult> event)
AsyncResultFilteronResult in interface AsyncResultFilter<SpaceIteratorBatchResult>public SpaceIteratorBatchResult reduce(List<AsyncResult<SpaceIteratorBatchResult>> asyncResults) throws Exception
reduce in interface AsyncResultsReducer<SpaceIteratorBatchResult,SpaceIteratorBatchResult>Exceptionpublic SpaceRequestInfo getSpaceRequestInfo()
getSpaceRequestInfo in class SystemTask<SpaceIteratorBatchResult>public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class SystemDistributedTask<SpaceIteratorBatchResult>IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class SystemDistributedTask<SpaceIteratorBatchResult>IOExceptionClassNotFoundExceptionCopyright © GigaSpaces.