mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Added InterProcessLock.newCondition default implementation
This commit is contained in:
@@ -46,5 +46,8 @@ public interface InterProcessLock extends Lock {
|
||||
*/
|
||||
@NotNull
|
||||
@Override
|
||||
Condition newCondition();
|
||||
default Condition newCondition() {
|
||||
throw new UnsupportedOperationException(
|
||||
"Conditions are not supported by inter-process locks");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user