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

io.lettuce.core.RedisConnectionStateAdapter Maven / Gradle / Ivy

Go to download

Advanced and thread-safe Java Redis client for synchronous, asynchronous, and reactive usage. Supports Cluster, Sentinel, Pipelining, Auto-Reconnect, Codecs and much more.

The newest version!
package io.lettuce.core;

import java.net.SocketAddress;

/**
 * Convenience adapter with an empty implementation of all {@link RedisConnectionStateListener} callback methods.
 *
 * @author Mark Paluch
 * @since 4.4
 */
public class RedisConnectionStateAdapter implements RedisConnectionStateListener {

    @Override
    public void onRedisConnected(RedisChannelHandler connection, SocketAddress socketAddress) {
        // empty adapter method
    }

    @Override
    public void onRedisDisconnected(RedisChannelHandler connection) {
        // empty adapter method
    }

    @Override
    public void onRedisExceptionCaught(RedisChannelHandler connection, Throwable cause) {
        // empty adapter method
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy