Remove Adaptor and update their own class (PubSub)

This commit is contained in:
Jungtaek Lim
2014-11-07 23:11:43 +09:00
parent 4ecca016a5
commit 8a33ab6e9a
7 changed files with 30 additions and 99 deletions

View File

@@ -255,7 +255,7 @@ public class JedisSentinelPool extends Pool<Jedis> {
j = new Jedis(host, port);
try {
j.subscribe(new JedisPubSubAdaptor() {
j.subscribe(new JedisPubSub() {
@Override
public void onMessage(String channel, String message) {
log.fine("Sentinel " + host + ":" + port