public class IndexImpl extends AbstractIndex
Index.OperationSource
copyBehavior, extractors, indexStore, NULL, ss
Constructor and Description |
---|
IndexImpl(String name,
String[] components,
boolean ordered,
InternalSerializationService ss,
Extractors extractors,
IndexCopyBehavior copyBehavior,
PerIndexStats stats) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears out all entries from this index.
|
protected IndexStore |
createIndexStore(boolean ordered,
PerIndexStats stats) |
boolean |
hasPartitionIndexed(int partitionId)
Returns
true if the given partition is indexed by this index,
false otherwise. |
void |
markPartitionAsIndexed(int partitionId)
Marks the given partition as indexed by this index.
|
void |
markPartitionAsUnindexed(int partitionId)
Marks the given partition as unindexed by this index.
|
destroy, getComponents, getConverter, getName, getPerIndexStats, getRecords, getRecords, getRecords, getRecords, isOrdered, putEntry, removeEntry
public IndexImpl(String name, String[] components, boolean ordered, InternalSerializationService ss, Extractors extractors, IndexCopyBehavior copyBehavior, PerIndexStats stats)
protected IndexStore createIndexStore(boolean ordered, PerIndexStats stats)
createIndexStore
in class AbstractIndex
public void clear()
Index
clear
in interface Index
clear
in class AbstractIndex
public boolean hasPartitionIndexed(int partitionId)
InternalIndex
true
if the given partition is indexed by this index,
false
otherwise.public void markPartitionAsIndexed(int partitionId)
InternalIndex
partitionId
- the ID of the partition to mark as indexed.public void markPartitionAsUnindexed(int partitionId)
InternalIndex
partitionId
- the ID of the partition to mark as unindexed.Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.