Package com.illumon.iris.db.v2
Interface UpdatableTable.IndexChangeRecorder
- Enclosing class:
- UpdatableTable
public static interface UpdatableTable.IndexChangeRecorder
Interface provided to updater functions that allows index changes to be recorded for propagation.
-
Method Summary
Modifier and Type Method Description void
addIndex(long key)
Flag key as an addition (or a modification if previously removed in this cycle).void
modifyIndex(long key)
Flag key as an modification (unless it was added this cycle).void
removeIndex(long key)
Flag key as a removal (if it wasn't added on this cycle).
-
Method Details
-
addIndex
void addIndex(long key)Flag key as an addition (or a modification if previously removed in this cycle). Must only be called in an updater function.- Parameters:
key
- The key
-
removeIndex
void removeIndex(long key)Flag key as a removal (if it wasn't added on this cycle). Must only be called in an updater function.- Parameters:
key
- The key
-
modifyIndex
void modifyIndex(long key)Flag key as an modification (unless it was added this cycle). Must only be called in an updater function.- Parameters:
key
- The key
-