public class IndexMutation extends Mutation<IndexEntry,IndexEntry>
IndexProvider to execute updates more
efficiently.| Constructor and Description |
|---|
IndexMutation(KeyInformation.StoreRetriever storeRetriever,
boolean isNew,
boolean isDeleted) |
IndexMutation(KeyInformation.StoreRetriever storeRetriever,
List<IndexEntry> additions,
List<IndexEntry> deletions,
boolean isNew,
boolean isDeleted) |
| Modifier and Type | Method and Description |
|---|---|
void |
consolidate() |
int |
determineTTL() |
static int |
determineTTL(List<IndexEntry> additions) |
boolean |
isConsolidated() |
boolean |
isDeleted() |
boolean |
isNew() |
void |
merge(IndexMutation m) |
void |
resetDelete() |
addition, consolidate, deletion, getAdditions, getDeletions, getTotalMutations, hasAdditions, hasDeletions, isConsolidated, isEmpty, mergepublic IndexMutation(KeyInformation.StoreRetriever storeRetriever, List<IndexEntry> additions, List<IndexEntry> deletions, boolean isNew, boolean isDeleted)
public IndexMutation(KeyInformation.StoreRetriever storeRetriever, boolean isNew, boolean isDeleted)
public void merge(IndexMutation m)
public boolean isNew()
public boolean isDeleted()
public void resetDelete()
public void consolidate()
consolidate in class Mutation<IndexEntry,IndexEntry>public boolean isConsolidated()
isConsolidated in class Mutation<IndexEntry,IndexEntry>public int determineTTL()
public static int determineTTL(List<IndexEntry> additions)
Copyright © 2012–2024. All rights reserved.