public class RingbufferWaitNotifyKey extends Object implements WaitNotifyKey
AbstractWaitNotifyKey
to make it possible to wait
for an item to be published in the ringbuffer.
The exact ringbuffer is specified by the partition ID and namespace as those
two parameters uniquely identify a single ringbuffer inside the ringbuffer service.Constructor and Description |
---|
RingbufferWaitNotifyKey(ObjectNamespace namespace,
int partitionId) |
Modifier and Type | Method and Description |
---|---|
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() |
String |
toString() |
public RingbufferWaitNotifyKey(ObjectNamespace namespace, int partitionId)
public String getServiceName()
WaitNotifyKey
getServiceName
in interface WaitNotifyKey
public String getObjectName()
WaitNotifyKey
getObjectName
in interface WaitNotifyKey
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.