public class InMemoryChangeListStorage extends java.lang.Object implements ChangeListStorage
Constructor and Description |
---|
InMemoryChangeListStorage() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
nextId() |
void |
purge(long period,
int intervalBetweenActivities,
Consumer<? super ChangeSet> processor) |
ChangeSetHolder |
readPrevious(int id,
TIntHashSet recursionGuard) |
void |
writeNextSet(ChangeSet changeSet) |
public void close()
close
in interface ChangeListStorage
public long nextId()
nextId
in interface ChangeListStorage
public ChangeSetHolder readPrevious(int id, TIntHashSet recursionGuard)
readPrevious
in interface ChangeListStorage
public void writeNextSet(ChangeSet changeSet)
writeNextSet
in interface ChangeListStorage
public void purge(long period, int intervalBetweenActivities, Consumer<? super ChangeSet> processor)
purge
in interface ChangeListStorage