Class SpaceIteratorBatchResultProvider
java.lang.Object
com.gigaspaces.client.iterator.cursor.SpaceIteratorBatchResultProvider
- All Implemented Interfaces:
Serializable
- Since:
- 15.2.0
- Author:
- Alon Shoham
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSpaceIteratorBatchResultProvider(ISpaceProxy spaceProxy, int batchSize, int readModifiers, ITemplatePacket queryPacket, UUID uuid, long maxInactiveDuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAsyncBatchResult(AsyncResult<SpaceIteratorBatchResult> spaceIteratorBatchAsyncResult) voidaddBatchResult(SpaceIteratorBatchResult spaceIteratorBatchResult) voidclose()consumeBatch(long timeout) intintlongintintgetUuid()voidvoidtriggerSinglePartitionBatchTask(int partitionId, int batchNumber)
-
Constructor Details
-
SpaceIteratorBatchResultProvider
public SpaceIteratorBatchResultProvider(ISpaceProxy spaceProxy, int batchSize, int readModifiers, ITemplatePacket queryPacket, UUID uuid, long maxInactiveDuration)
-
-
Method Details
-
addBatchResult
-
addAsyncBatchResult
public void addAsyncBatchResult(AsyncResult<SpaceIteratorBatchResult> spaceIteratorBatchAsyncResult) -
consumeBatch
- Throws:
InterruptedException
-
triggerSinglePartitionBatchTask
public void triggerSinglePartitionBatchTask(int partitionId, int batchNumber) throws RemoteException, TransactionException - Throws:
RemoteExceptionTransactionException
-
close
public void close() -
getBatchSize
public int getBatchSize() -
getReadModifiers
public int getReadModifiers() -
getQueryPacket
-
getUuid
-
getNumberOfPartitions
public int getNumberOfPartitions() -
getMaxInactiveDuration
public long getMaxInactiveDuration() -
getInitialNumberOfActivePartitions
public int getInitialNumberOfActivePartitions() -
getSpaceProxy
-
renewIteratorLease
public void renewIteratorLease()
-