com.hazelcast.concurrent.lock
public interface LockStore
Modifier and Type | Method and Description |
---|---|
boolean |
canAcquireLock(Data key,
String caller,
long threadId) |
boolean |
extendLeaseTime(Data key,
String caller,
long threadId,
long ttl) |
boolean |
forceUnlock(Data dataKey) |
int |
getLockCount(Data key) |
Set<Data> |
getLockedKeys() |
String |
getOwnerInfo(Data dataKey) |
long |
getRemainingLeaseTime(Data key) |
boolean |
isLocked(Data key) |
boolean |
isLockedBy(Data key,
String caller,
long threadId) |
boolean |
isTransactionallyLocked(Data key) |
boolean |
lock(Data key,
String caller,
long threadId,
long ttl) |
boolean |
txnLock(Data key,
String caller,
long threadId,
long ttl) |
boolean |
unlock(Data key,
String caller,
long threadId) |
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.