Package io.lettuce.core.dynamic.codec
Interface RedisCodecResolver
-
- All Known Implementing Classes:
AnnotationRedisCodecResolver
public interface RedisCodecResolver
Strategy interface to resolve aRedisCodec
for aCommandMethod
.- Since:
- 5.0
- Author:
- Mark Paluch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RedisCodec<?,?>
resolve(CommandMethod commandMethod)
Resolve aRedisCodec
for the givenCommandMethod
.
-
-
-
Method Detail
-
resolve
RedisCodec<?,?> resolve(CommandMethod commandMethod)
Resolve aRedisCodec
for the givenCommandMethod
.- Parameters:
commandMethod
- must not benull
.- Returns:
- the resolved
RedisCodec
ornull
if not resolvable.
-
-