public interface SegmentLock extends InterProcessReadWriteUpdateLock
InterProcessReadWriteUpdateLock
of a segment in ChronicleHash
.
In Chronicle-Map off-heap design, locks (and concurrency) are per-segment.
Modifier and Type | Method and Description |
---|---|
int |
segmentIndex()
Returns the index of the accessed segment.
|
readLock, updateLock, writeLock
Copyright © 2016. All rights reserved.