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)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addResult(IEntryPacket result)  | 
void | 
addToProcessedUidsIfNeeded(String uid)  | 
protected void | 
createProcessedUidsIfNeeded()  | 
List<Throwable> | 
getExceptions()  | 
int | 
getMaxEntries()  | 
int | 
getMinEntries()  | 
int | 
getNumResults()  | 
List<IEntryPacket> | 
getResults()  | 
boolean | 
hasAnyEntries()  | 
boolean | 
isClear()  | 
boolean | 
isInProcessedUids(String uid)  | 
protected boolean | 
keepResultsInBatchContext()  | 
boolean | 
needProcessEntriesForReturnedResult()  | 
boolean | 
needToProcessExecption()  | 
abstract void | 
onException(Throwable t)
Handles an exception that was thrown while executing the batch operation 
 | 
IEntryPacket[] | 
processReturnedValueForBatchOperation(ITemplateHolder template)  | 
boolean | 
reachedMaxEntries()  | 
boolean | 
reachedMinEntries()  | 
void | 
setExceptions(List<Throwable> exceptions)  | 
public BatchQueryOperationContext(ITemplatePacket template, int maxEntries, int minEntries)
public void addResult(IEntryPacket result)
protected boolean keepResultsInBatchContext()
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.