Interface PubSubStore
- All Known Implementing Classes:
HazelcastPubSubStore
,MemoryPubSubStore
,RedissonPubSubStore
public interface PubSubStore
-
Method Summary
Modifier and TypeMethodDescriptionvoid
publish
(PubSubType type, PubSubMessage msg) void
shutdown()
<T extends PubSubMessage>
voidsubscribe
(PubSubType type, PubSubListener<T> listener, Class<T> clazz) void
unsubscribe
(PubSubType type)
-
Method Details
-
publish
-
subscribe
<T extends PubSubMessage> void subscribe(PubSubType type, PubSubListener<T> listener, Class<T> clazz) -
unsubscribe
-
shutdown
void shutdown()
-