public interface DaemonTopic
Topic subscriber that has re-connect notification.
-
Method Summary
Modifier and TypeMethodDescriptionvoidNotify that the topic subscription has been connected (or reconnected).voidsubscribe(redis.clients.jedis.Jedis jedis) Subscribe to the topic/channel (blocking).
-
Method Details
-
subscribe
void subscribe(redis.clients.jedis.Jedis jedis) Subscribe to the topic/channel (blocking).- Parameters:
jedis- The redis connection to subscribe (and block on).
-
notifyConnected
void notifyConnected()Notify that the topic subscription has been connected (or reconnected).
-