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 leaseTime) |
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 referenceId,
long leaseTime) |
boolean |
txnLock(Data key,
String caller,
long threadId,
long referenceId,
long leaseTime) |
boolean |
unlock(Data key,
String caller,
long threadId,
long referenceId) |
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.