
io.lettuce.core.dynamic.ExecutableCommand 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.dynamic;
import java.util.concurrent.ExecutionException;
/**
* An executable command that can be executed calling {@link #execute(Object[])}.
*
* @author Mark Paluch
* @since 5.0
*/
interface ExecutableCommand {
/**
* Executes the {@link ExecutableCommand} with the given parameters.
*
* @param parameters
* @return
*/
Object execute(Object[] parameters) throws ExecutionException, InterruptedException;
/**
* Returns the {@link CommandMethod}.
*
* @return
*/
CommandMethod getCommandMethod();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy