com.hazelcast.client
Class LockClientProxy
java.lang.Object
com.hazelcast.client.LockClientProxy
- All Implemented Interfaces:
- ILock, Instance, Lock
public class LockClientProxy
- extends Object
- implements ILock
LockClientProxy
public LockClientProxy(Object object,
HazelcastClient client)
getLockObject
public Object getLockObject()
- Specified by:
getLockObject in interface ILock
lock
public void lock()
- Specified by:
lock in interface Lock
lockInterruptibly
public void lockInterruptibly()
throws InterruptedException
- Specified by:
lockInterruptibly in interface Lock
- Throws:
InterruptedException
tryLock
public boolean tryLock()
- Specified by:
tryLock in interface Lock
tryLock
public boolean tryLock(long l,
TimeUnit timeUnit)
throws InterruptedException
- Specified by:
tryLock in interface Lock
- Throws:
InterruptedException
unlock
public void unlock()
- Specified by:
unlock in interface Lock
newCondition
public Condition newCondition()
- Specified by:
newCondition in interface Lock
getInstanceType
public Instance.InstanceType getInstanceType()
- Specified by:
getInstanceType in interface Instance
destroy
public void destroy()
- Specified by:
destroy in interface Instance
getId
public Object getId()
- Specified by:
getId in interface Instance
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getLocalLockStats
public LocalLockStats getLocalLockStats()
- Specified by:
getLocalLockStats in interface ILock
Copyright © 2012 Hazel Bilisim Ltd.. All Rights Reserved.