public abstract class BatchQueryOperationContext extends Object
Modifier and Type | Field and Description |
---|---|
protected HashSet<String> |
_processedUids |
Constructor and Description |
---|
BatchQueryOperationContext(ITemplatePacket template,
int maxEntries,
int minEntries) |
public BatchQueryOperationContext(ITemplatePacket template, int maxEntries, int minEntries)
protected List<IEntryPacket> createResultList(ITemplatePacket template, int maxEntries)
public void addResult(IEntryPacket result)
protected boolean keepResultsInBatchContext()
protected void setResults(List<IEntryPacket> _results)
public List<IEntryPacket> getResults()
public int getNumResults()
public boolean reachedMinEntries()
public boolean reachedMaxEntries()
public abstract void onException(Throwable t)
public boolean needToProcessExecption()
public boolean needProcessEntriesForReturnedResult()
public IEntryPacket[] processReturnedValueForBatchOperation(ITemplateHolder template)
public int getMaxEntries()
public int getMinEntries()
public boolean hasAnyEntries()
protected void createProcessedUidsIfNeeded()
public boolean isInProcessedUids(String uid)
public void addToProcessedUidsIfNeeded(String uid)
public boolean isClear()
Copyright © GigaSpaces.