public final class EntryTracker
extends java.lang.Object
EntryTracker
tracks entries to be written to a memory-mapped buffer.Constructor and Description |
---|
EntryTracker(ru.ispras.fortress.data.types.bitvector.BitVector bufferBaseAddress) |
Modifier and Type | Method and Description |
---|---|
void |
add(EntryObject entry) |
boolean |
contains(long id) |
java.util.Map<ru.ispras.fortress.data.types.bitvector.BitVector,EntryObject> |
getEntries() |
ru.ispras.fortress.data.types.bitvector.BitVector |
getEntryAddress(EntryObject entry) |
int |
size() |
public EntryTracker(ru.ispras.fortress.data.types.bitvector.BitVector bufferBaseAddress)
public ru.ispras.fortress.data.types.bitvector.BitVector getEntryAddress(EntryObject entry)
public boolean contains(long id)
public void add(EntryObject entry)
public int size()
public java.util.Map<ru.ispras.fortress.data.types.bitvector.BitVector,EntryObject> getEntries()