public class TopicProxyImpl extends FactoryAwareNamedProxy implements TopicProxy, DataSerializable
factory, name| Constructor and Description |
|---|
TopicProxyImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessageListener(MessageListener listener) |
void |
destroy()
Destroys this instance cluster-wide.
|
boolean |
equals(Object o) |
Object |
getId()
Returns the unique id for this instance.
|
Instance.InstanceType |
getInstanceType()
Returns instance type such as map, set, list, lock, topic, multimap, id generator
|
LocalTopicStats |
getLocalTopicStats() |
String |
getLongName() |
String |
getName() |
TopicOperationsCounter |
getTopicOperationCounter() |
int |
hashCode() |
void |
publish(Object msg) |
void |
removeMessageListener(MessageListener listener) |
void |
set(String name,
FactoryImpl factory) |
void |
setHazelcastInstance(HazelcastInstance hazelcastInstance) |
String |
toString() |
getFactory, readData, setName, writeDataclone, finalize, getClass, notify, notifyAll, wait, wait, waitreadData, writeDatapublic void set(String name, FactoryImpl factory)
public void setHazelcastInstance(HazelcastInstance hazelcastInstance)
setHazelcastInstance in interface HazelcastInstanceAwaresetHazelcastInstance in class FactoryAwareNamedProxypublic String getLongName()
getLongName in interface TopicProxypublic Object getId()
Instancepublic void addMessageListener(MessageListener listener)
addMessageListener in interface ITopicpublic void removeMessageListener(MessageListener listener)
removeMessageListener in interface ITopicpublic void destroy()
Instancepublic Instance.InstanceType getInstanceType()
InstancegetInstanceType in interface Instancepublic String getName()
getName in interface ITopicgetName in class FactoryAwareNamedProxypublic LocalTopicStats getLocalTopicStats()
getLocalTopicStats in interface ITopicpublic TopicOperationsCounter getTopicOperationCounter()
getTopicOperationCounter in interface TopicProxyCopyright © 2013 Hazelcast, Inc.. All rights reserved.