Interface DeletionInfo

All Superinterfaces:
IMeasurableMemory
All Known Implementing Classes:
MutableDeletionInfo

public interface DeletionInfo extends IMeasurableMemory
A combination of a top-level (partition) tombstone and range tombstones describing the deletions within a partition.

Note that in practice MutableDeletionInfo is the only concrete implementation of this, however different parts of the code will return either DeletionInfo or MutableDeletionInfo based on whether it can/should be mutated or not.

Warning: do not ever cast a DeletionInfo into a MutableDeletionInfo to mutate it!!! TODO: it would be safer to have 2 actual implementation of DeletionInfo, one mutable and one that isn't (I'm just lazy right this minute).