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, writeLockCopyright © 2019. All rights reserved.