com.hazelcast.spi
Class AbstractWaitNotifyKey

java.lang.Object
  extended by com.hazelcast.spi.AbstractWaitNotifyKey
All Implemented Interfaces:
WaitNotifyKey
Direct Known Subclasses:
LatchKey, QueueWaitNotifyKey, RingbufferWaitNotifyKey, SemaphoreWaitNotifyKey

public abstract class AbstractWaitNotifyKey
extends Object
implements WaitNotifyKey

Abstract implementation of the WaitNotifyKey.


Constructor Summary
protected AbstractWaitNotifyKey(String service, String objectName)
           
 
Method Summary
 boolean equals(Object o)
           
 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

AbstractWaitNotifyKey

protected AbstractWaitNotifyKey(String service,
                                String objectName)
Method Detail

getServiceName

public final 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

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.