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, removeMessageListener
destroy, equals, getId, getNameAsPartitionAwareData, getNodeEngine, getPartitionKey, getService, hashCode, invalidate, postDestroy, throwNotActiveException, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
destroy, getId, getPartitionKey, getServiceName
public TotalOrderedTopicProxy(String name, NodeEngine nodeEngine, TopicService service)
public void publish(Object message)
ITopic
publish
in interface ITopic
publish
in class TopicProxy
message
- the message to publish to all subscribers of this topicpublic void initialize()
initialize
in interface InitializingObject
public LocalTopicStats getLocalTopicStatsInternal()
public void publishInternal(Data message)
public String addMessageListenerInternal(MessageListener listener)
public boolean removeMessageListenerInternal(String registrationId)
public String getServiceName()
DistributedObject
getServiceName
in interface DistributedObject
getServiceName
in class AbstractDistributedObject<TopicService>
public String getName()
DistributedObject
getName
in interface DistributedObject
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.