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

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

/**
 * Enumeration of intentions for how a connection is going to be used.
 *
 * @author Mark Paluch
 * @since 6.2
 */
public enum ConnectionIntent {

    /**
     * Intention to use read-only operations through a connection.
     */
    READ,

    /**
     * Intention to run read or write commands through a connection.
     */
    WRITE;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy