com.hazelcast.concurrent.lock
Class ConditionKey

java.lang.Object
  extended by com.hazelcast.concurrent.lock.ConditionKey
All Implemented Interfaces:
WaitNotifyKey

public final class ConditionKey
extends Object
implements WaitNotifyKey


Constructor Summary
ConditionKey(String name, Data key, String conditionId)
           
 
Method Summary
 boolean equals(Object o)
           
 String getConditionId()
           
 Data getKey()
           
 String getObjectName()
          Returns the object name of the wait notify object for this key.
 String getServiceName()
          Returns the service name of the wait notify object for this key.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionKey

public ConditionKey(String name,
                    Data key,
                    String conditionId)
Method Detail

getServiceName

public String getServiceName()
Description copied from interface: WaitNotifyKey
Returns the service name of the wait notify object for this key.

Specified by:
getServiceName in interface WaitNotifyKey
Returns:
the service name of the wait notify object for this key

getObjectName

public String getObjectName()
Description copied from interface: WaitNotifyKey
Returns the object name of the wait notify object for this key.

Specified by:
getObjectName in interface WaitNotifyKey
Returns:
the object name of the wait notify object for this key

getKey

public Data getKey()

getConditionId

public String getConditionId()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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