Class HazelcastMapLock
-
- All Implemented Interfaces:
-
java.util.concurrent.locks.Lock
public class HazelcastMapLock implements Lock
- Since:
2021-03-09
trydofor
-
-
Constructor Summary
Constructors Constructor Description HazelcastMapLock(IMap<Object, Object> imap, String name)
-
Method Summary
Modifier and Type Method Description voidlock()voidlockInterruptibly()booleantryLock()booleantryLock(long time, @NotNull() TimeUnit unit)voidunlock()ConditionnewCondition()-
-
Method Detail
-
lock
void lock()
-
lockInterruptibly
void lockInterruptibly()
-
tryLock
boolean tryLock()
-
tryLock
boolean tryLock(long time, @NotNull() TimeUnit unit)
-
unlock
void unlock()
-
newCondition
@NotNull() Condition newCondition()
-
-
-
-