public class ClientTopicProxy<E> extends ClientProxy implements ITopic<E>
| Constructor and Description |
|---|
ClientTopicProxy(String serviceName,
String objectId) |
| Modifier and Type | Method and Description |
|---|---|
String |
addMessageListener(MessageListener<E> listener) |
LocalTopicStats |
getLocalTopicStats() |
protected <T> T |
invoke(ClientRequest req) |
void |
publish(E message) |
boolean |
removeMessageListener(String registrationId) |
String |
toString() |
destroy, equals, getClient, getContext, getId, getName, getPartitionKey, getServiceName, hashCode, invoke, invoke, invokeInterruptibly, invokeOnPartition, listen, listen, onDestroy, onInitialize, onShutdown, setContext, stopListening, throwExceptionIfNull, toData, toObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, getId, getPartitionKey, getServiceNamepublic String addMessageListener(MessageListener<E> listener)
addMessageListener in interface ITopic<E>public boolean removeMessageListener(String registrationId)
removeMessageListener in interface ITopic<E>public LocalTopicStats getLocalTopicStats()
getLocalTopicStats in interface ITopic<E>protected <T> T invoke(ClientRequest req)
invoke in class ClientProxyCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.