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

io.lettuce.core.ConnectionId 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;

/**
 * Connection identifier. A connection identifier consists of the {@link #localAddress()} and the {@link #remoteAddress()}.
 *
 * @author Mark Paluch
 * @since 3.4
 */
public interface ConnectionId {

    /**
     * Returns the local address.
     *
     * @return the local address
     */
    SocketAddress localAddress();

    /**
     * Returns the remote address.
     *
     * @return the remote address
     */
    SocketAddress remoteAddress();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy