public class TotalOrderedTopicProxy extends TopicProxy
PARTITIONING_STRATEGY| Constructor and Description |
|---|
TotalOrderedTopicProxy(String name,
NodeEngine nodeEngine,
TopicService service) |
| Modifier and Type | Method and Description |
|---|---|
String |
addMessageListenerInternal(MessageListener listener) |
LocalTopicStats |
getLocalTopicStatsInternal() |
String |
getName()
Returns the unique name for this DistributedObject.
|
String |
getServiceName()
Returns the service name for this object.
|
void |
initialize() |
void |
publish(Object message)
Publishes the message to all subscribers of this topic
|
void |
publishInternal(Data message) |
boolean |
removeMessageListenerInternal(String registrationId) |
addMessageListener, getLocalTopicStats, removeMessageListenerdestroy, equals, getId, getNameAsPartitionAwareData, getNodeEngine, getPartitionKey, getService, hashCode, invalidate, postDestroy, throwNotActiveException, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, getId, getPartitionKey, getServiceNamepublic TotalOrderedTopicProxy(String name, NodeEngine nodeEngine, TopicService service)
public void publish(Object message)
ITopicpublish in interface ITopicpublish in class TopicProxymessage - the message to publish to all subscribers of this topicpublic void initialize()
initialize in interface InitializingObjectpublic LocalTopicStats getLocalTopicStatsInternal()
public void publishInternal(Data message)
public String addMessageListenerInternal(MessageListener listener)
public boolean removeMessageListenerInternal(String registrationId)
public String getServiceName()
DistributedObjectgetServiceName in interface DistributedObjectgetServiceName in class AbstractDistributedObject<TopicService>public String getName()
DistributedObjectgetName in interface DistributedObjectCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.