Uses of Interface
com.blackrook.redis.event.RedisSubscriptionListener
-
Packages that use RedisSubscriptionListener Package Description com.blackrook.redis Contains classes relevant to connecting to Redis servers.com.blackrook.redis.event Contains classes about Redis events. -
-
Uses of RedisSubscriptionListener in com.blackrook.redis
Methods in com.blackrook.redis with parameters of type RedisSubscriptionListener Modifier and Type Method Description void
RedisPubSubConnection. addListener(RedisSubscriptionListener... listeners)
AddsRedisSubscriptionListener
s to this connection.void
RedisPubSubConnection. removeListeners(RedisSubscriptionListener... listeners)
RemovesRedisSubscriptionListener
s from this connection.Constructors in com.blackrook.redis with parameters of type RedisSubscriptionListener Constructor Description RedisPubSubConnection(RedisSubscriptionListener... listeners)
Creates an open connection to localhost, port 6379, the default Redis port.RedisPubSubConnection(RedisInfo info, RedisSubscriptionListener... listeners)
Creates an open connection.RedisPubSubConnection(String host, int port, RedisSubscriptionListener... listeners)
Creates an open connection.RedisPubSubConnection(String host, int port, String password, RedisSubscriptionListener... listeners)
Creates an open connection. -
Uses of RedisSubscriptionListener in com.blackrook.redis.event
Classes in com.blackrook.redis.event that implement RedisSubscriptionListener Modifier and Type Class Description class
RedisSubscriptionAdapter
An adapter class forRedisSubscriptionListener
.class
RedisSubscriptionDebugListener
An adapter class forRedisSubscriptionListener
that prints messages to aPrintStream
when events are heard.
-