com.hazelcast.spi
Class AbstractWaitNotifyKey

java.lang.Object
  extended by com.hazelcast.spi.AbstractWaitNotifyKey
All Implemented Interfaces:
WaitNotifyKey
Direct Known Subclasses:
LatchKey, QueueWaitNotifyKey, 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()
           
 String getServiceName()
           
 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()
Specified by:
getServiceName in interface WaitNotifyKey

getObjectName

public String getObjectName()
Specified by:
getObjectName in interface WaitNotifyKey

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.