
io.lettuce.core.ConnectionId Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lettuce-core Show documentation
Show all versions of lettuce-core Show documentation
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