public abstract class TopicProxySupport extends AbstractDistributedObject<TopicService> implements InitializingObject
PARTITIONING_STRATEGY| Constructor and Description |
|---|
TopicProxySupport(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 |
publishInternal(Object message)
Publishes the message and increases the local statistics
for the number of published messages.
|
boolean |
removeMessageListenerInternal(String registrationId) |
destroy, equals, getDistributedObjectName, getNameAsPartitionAwareData, getNodeEngine, getOperationService, getPartitionId, getPartitionKey, getService, hashCode, invalidate, invokeOnPartition, isClusterVersionEqualTo, isClusterVersionGreaterOrEqual, isClusterVersionGreaterThan, isClusterVersionLessOrEqual, isClusterVersionLessThan, isClusterVersionUnknown, isClusterVersionUnknownOrGreaterOrEqual, isClusterVersionUnknownOrGreaterThan, isClusterVersionUnknownOrLessOrEqual, isClusterVersionUnknownOrLessThan, postDestroy, preDestroy, throwNotActiveException, toData, toStringpublic TopicProxySupport(String name, NodeEngine nodeEngine, TopicService service)
public void initialize()
initialize in interface InitializingObjectpublic LocalTopicStats getLocalTopicStatsInternal()
public void publishInternal(Object message)
message - the message to be publishedpublic String addMessageListenerInternal(MessageListener listener)
public boolean removeMessageListenerInternal(String registrationId)
public String getServiceName()
DistributedObjectgetServiceName in interface DistributedObjectgetServiceName in class AbstractDistributedObject<TopicService>public String getName()
DistributedObjectDistributedObjectUtil.getName(DistributedObject)
because this might be also a PrefixedDistributedObject.getName in interface DistributedObjectCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.