com.hazelcast.concurrent.lock
Interface LockResource


public interface LockResource


Method Summary
 long getAcquireTime()
           
 long getExpirationTime()
           
 Data getKey()
           
 int getLockCount()
           
 String getOwner()
           
 long getRemainingLeaseTime()
           
 long getThreadId()
           
 boolean isLocked()
           
 boolean isLockedBy(String owner, long threadId)
           
 boolean isTransactional()
           
 

Method Detail

getKey

Data getKey()

isLocked

boolean isLocked()

isLockedBy

boolean isLockedBy(String owner,
                   long threadId)

getOwner

String getOwner()

isTransactional

boolean isTransactional()

getThreadId

long getThreadId()

getLockCount

int getLockCount()

getAcquireTime

long getAcquireTime()

getRemainingLeaseTime

long getRemainingLeaseTime()

getExpirationTime

long getExpirationTime()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.