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

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

/**
 * Exception thrown when the command waiting timeout is exceeded.
 *
 * @author Mark Paluch
 */
@SuppressWarnings("serial")
public class RedisCommandTimeoutException extends RedisException {

    /**
     * Create a {@code RedisCommandTimeoutException} with a default message.
     */
    public RedisCommandTimeoutException() {
        super("Command timed out");
    }

    /**
     * Create a {@code RedisCommandTimeoutException} with the specified detail message.
     *
     * @param msg the detail message.
     */
    public RedisCommandTimeoutException(String msg) {
        super(msg);
    }

    /**
     * Create a {@code RedisException} with the specified nested exception.
     *
     * @param cause the nested exception.
     */
    public RedisCommandTimeoutException(Throwable cause) {
        super(cause);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy