public class TracingTopic<E> extends Object implements com.hazelcast.core.ITopic<E>
| Constructor and Description |
|---|
TracingTopic(String topic,
boolean reliable,
com.hazelcast.core.HazelcastInstance instance,
boolean traceWithActiveSpanOnly) |
| Modifier and Type | Method and Description |
|---|---|
String |
addMessageListener(com.hazelcast.core.MessageListener<E> listener) |
void |
destroy() |
com.hazelcast.monitor.LocalTopicStats |
getLocalTopicStats() |
String |
getName() |
String |
getPartitionKey() |
String |
getServiceName() |
void |
publish(E message) |
boolean |
removeMessageListener(String registrationId) |
public TracingTopic(String topic, boolean reliable, com.hazelcast.core.HazelcastInstance instance, boolean traceWithActiveSpanOnly)
public String getName()
getName in interface com.hazelcast.core.DistributedObjectgetName in interface com.hazelcast.core.ITopic<E>public void publish(E message)
publish in interface com.hazelcast.core.ITopic<E>public String addMessageListener(com.hazelcast.core.MessageListener<E> listener)
addMessageListener in interface com.hazelcast.core.ITopic<E>public boolean removeMessageListener(String registrationId)
removeMessageListener in interface com.hazelcast.core.ITopic<E>public com.hazelcast.monitor.LocalTopicStats getLocalTopicStats()
getLocalTopicStats in interface com.hazelcast.core.ITopic<E>public String getPartitionKey()
getPartitionKey in interface com.hazelcast.core.DistributedObjectpublic String getServiceName()
getServiceName in interface com.hazelcast.core.DistributedObjectpublic void destroy()
destroy in interface com.hazelcast.core.DistributedObjectCopyright © 2018-2019–2019. All rights reserved.