public interface SharedSegment<K,V>
Modifier and Type | Method and Description |
---|---|
Map.Entry<K,V> |
getEntry(VanillaChronicleMap.SegmentState segmentState,
long pos) |
int |
getIndex() |
long |
offsetFromPos(long pos) |
AutoCloseable |
readLock(VanillaChronicleMap.SegmentState segmentState)
if passed segmentState is null, null is returned instead of readLock
|
void |
readUnlock() |
long |
timeStamp(long pos) |
<T> T |
writeLock() |
void |
writeUnlock() |
AutoCloseable readLock(@Nullable VanillaChronicleMap.SegmentState segmentState)
Map.Entry<K,V> getEntry(@NotNull VanillaChronicleMap.SegmentState segmentState, long pos)
void readUnlock()
void writeUnlock()
int getIndex()
long offsetFromPos(long pos)
long timeStamp(long pos)
<T> T writeLock()
Copyright © 2017. All rights reserved.