com.lambdaworks.redis.pubsub.RedisPubSubAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redisson Show documentation
Show all versions of redisson Show documentation
Redis Java client with features of In-Memory Data Grid
// Copyright (C) 2011 - Will Glozer. All rights reserved.
package com.lambdaworks.redis.pubsub;
/**
* Convenience adapter with an empty implementation of all
* {@link RedisPubSubListener} callback methods.
*
* @param Value type.
*
* @author Will Glozer
*/
public class RedisPubSubAdapter implements RedisPubSubListener {
@Override
public void message(String channel, V message) {
}
@Override
public void message(String pattern, String channel, V message) {
}
@Override
public void subscribed(String channel, long count) {
}
@Override
public void psubscribed(String pattern, long count) {
}
@Override
public void unsubscribed(String channel, long count) {
}
@Override
public void punsubscribed(String pattern, long count) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy