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, writeData
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
readData, writeData
public void set(String name, FactoryImpl factory)
public void setHazelcastInstance(HazelcastInstance hazelcastInstance)
setHazelcastInstance
in interface HazelcastInstanceAware
setHazelcastInstance
in class FactoryAwareNamedProxy
public String getLongName()
getLongName
in interface TopicProxy
public Object getId()
Instance
public void addMessageListener(MessageListener listener)
addMessageListener
in interface ITopic
public void removeMessageListener(MessageListener listener)
removeMessageListener
in interface ITopic
public void destroy()
Instance
public Instance.InstanceType getInstanceType()
Instance
getInstanceType
in interface Instance
public String getName()
getName
in interface ITopic
getName
in class FactoryAwareNamedProxy
public LocalTopicStats getLocalTopicStats()
getLocalTopicStats
in interface ITopic
public TopicOperationsCounter getTopicOperationCounter()
getTopicOperationCounter
in interface TopicProxy
Copyright © 2013 Hazelcast, Inc.. All rights reserved.