public class ParallelPartitionScanExecutor extends Object implements PartitionScanExecutor
PartitionScanExecutor which executes the partition scan in a parallel-fashion
delegating to the underlying executor.| Constructor and Description |
|---|
ParallelPartitionScanExecutor(PartitionScanRunner partitionScanRunner,
ManagedExecutorService executor,
int timeoutInMillis) |
| Modifier and Type | Method and Description |
|---|---|
List<QueryableEntry> |
execute(String mapName,
Predicate predicate,
Collection<Integer> partitions) |
protected Future<Collection<QueryableEntry>> |
runPartitionScanForPartition(String name,
Predicate predicate,
int partitionId) |
protected List<QueryableEntry> |
runUsingPartitionScanWithoutPaging(String name,
Predicate predicate,
Collection<Integer> partitions) |
public ParallelPartitionScanExecutor(PartitionScanRunner partitionScanRunner, ManagedExecutorService executor, int timeoutInMillis)
public List<QueryableEntry> execute(String mapName, Predicate predicate, Collection<Integer> partitions)
execute in interface PartitionScanExecutorprotected List<QueryableEntry> runUsingPartitionScanWithoutPaging(String name, Predicate predicate, Collection<Integer> partitions)
protected Future<Collection<QueryableEntry>> runPartitionScanForPartition(String name, Predicate predicate, int partitionId)
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.