public class MemoryPubSubStore extends Object implements PubSubStore
| Constructor and Description |
|---|
MemoryPubSubStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
publish(PubSubType type,
PubSubMessage msg) |
void |
shutdown() |
<T extends PubSubMessage> |
subscribe(PubSubType type,
PubSubListener<T> listener,
Class<T> clazz) |
void |
unsubscribe(PubSubType type) |
public void publish(PubSubType type, PubSubMessage msg)
publish in interface PubSubStorepublic <T extends PubSubMessage> void subscribe(PubSubType type, PubSubListener<T> listener, Class<T> clazz)
subscribe in interface PubSubStorepublic void unsubscribe(PubSubType type)
unsubscribe in interface PubSubStorepublic void shutdown()
shutdown in interface PubSubStoreCopyright © 2012–2021. All rights reserved.