All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebean.redis.topic.DaemonTopic Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebean.redis.topic;

import redis.clients.jedis.Jedis;

/**
 * Topic subscriber that has re-connect notification.
 */
public interface DaemonTopic {

  /**
   * Subscribe to the topic/channel (blocking).
   *
   * @param jedis The redis connection to subscribe (and block on).
   */
  void subscribe(Jedis jedis);

  /**
   * Notify that the topic subscription has been connected (or reconnected).
   */
  void notifyConnected();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy