com.hazelcast.client
Class LockClientProxy

java.lang.Object
  extended by com.hazelcast.client.LockClientProxy
All Implemented Interfaces:
ILock, Instance, Lock

public class LockClientProxy
extends Object
implements ILock


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hazelcast.core.Instance
Instance.InstanceType
 
Constructor Summary
LockClientProxy(Object object, HazelcastClient client)
           
 
Method Summary
 void destroy()
           
 boolean equals(Object o)
           
 Object getId()
           
 Instance.InstanceType getInstanceType()
           
 LocalLockStats getLocalLockStats()
           
 Object getLockObject()
           
 int hashCode()
           
 void lock()
           
 void lockInterruptibly()
           
 Condition newCondition()
           
 boolean tryLock()
           
 boolean tryLock(long l, TimeUnit timeUnit)
           
 void unlock()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockClientProxy

public LockClientProxy(Object object,
                       HazelcastClient client)
Method Detail

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.