public class SpaceIteratorBatchResultProvider extends Object implements Serializable
| Constructor and Description |
|---|
SpaceIteratorBatchResultProvider(ISpaceProxy spaceProxy,
int batchSize,
int readModifiers,
ITemplatePacket queryPacket,
UUID uuid,
long maxInactiveDuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAsyncBatchResult(AsyncResult<SpaceIteratorBatchResult> spaceIteratorBatchAsyncResult) |
void |
addBatchResult(SpaceIteratorBatchResult spaceIteratorBatchResult) |
void |
close() |
SpaceIteratorBatchResult |
consumeBatch(long timeout) |
int |
getBatchSize() |
int |
getInitialNumberOfActivePartitions() |
long |
getMaxInactiveDuration() |
int |
getNumberOfPartitions() |
ITemplatePacket |
getQueryPacket() |
int |
getReadModifiers() |
ISpaceProxy |
getSpaceProxy() |
UUID |
getUuid() |
void |
renewIteratorLease() |
void |
triggerSinglePartitionBatchTask(int partitionId,
int batchNumber) |
public SpaceIteratorBatchResultProvider(ISpaceProxy spaceProxy, int batchSize, int readModifiers, ITemplatePacket queryPacket, UUID uuid, long maxInactiveDuration)
public void addBatchResult(SpaceIteratorBatchResult spaceIteratorBatchResult)
public void addAsyncBatchResult(AsyncResult<SpaceIteratorBatchResult> spaceIteratorBatchAsyncResult)
public SpaceIteratorBatchResult consumeBatch(long timeout) throws InterruptedException
InterruptedExceptionpublic void triggerSinglePartitionBatchTask(int partitionId,
int batchNumber)
throws RemoteException,
TransactionException
RemoteExceptionTransactionExceptionpublic void close()
public int getBatchSize()
public int getReadModifiers()
public ITemplatePacket getQueryPacket()
public UUID getUuid()
public int getNumberOfPartitions()
public long getMaxInactiveDuration()
public int getInitialNumberOfActivePartitions()
public ISpaceProxy getSpaceProxy()
public void renewIteratorLease()
Copyright © GigaSpaces.