
io.lettuce.core.dynamic.ExecutableCommandLookupStrategy 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.lang.reflect.Method;
/**
* Strategy interface to resolve {@link ExecutableCommand} from a {@link Method} and {@link RedisCommandsMetadata}.
*
* @author Mark Paluch
* @since 5.0
*/
@FunctionalInterface
interface ExecutableCommandLookupStrategy {
/**
* Resolve a {@link ExecutableCommand} given the {@link Method} and {@link RedisCommandsMetadata}.
*
* @param method must not be {@code null}.
* @param metadata must not be {@code null}.
* @return the {@link ExecutableCommand}.
*/
ExecutableCommand resolveCommandMethod(CommandMethod method, RedisCommandsMetadata metadata);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy