mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
propogating interupted exception, so that resources can be closed when it is received.
This commit is contained in:
@@ -32,7 +32,7 @@ interface SharedSegment<K, V> {
|
||||
/**
|
||||
* if passed segmentState is null, null is returned instead of readLock
|
||||
*/
|
||||
AutoCloseable readLock(@Nullable VanillaChronicleMap.SegmentState segmentState);
|
||||
AutoCloseable readLock(@Nullable VanillaChronicleMap.SegmentState segmentState) throws InterruptedException;
|
||||
|
||||
Map.Entry<K, V> getEntry(@NotNull VanillaChronicleMap.SegmentState segmentState, long pos);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user