Annotation Type CommandNaming
-
@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented public @interface CommandNaming
Command naming strategy for Redis command methods. Redis command methods name can be provided either by annotating method withCommand
or derived from its name. Annotate a command interface or method withCommandNaming
to set a command namingCommandNaming.Strategy
.- Since:
- 5.0
- Author:
- Mark Paluch
- See Also:
Command
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description CommandNaming.LetterCase
letterCase
Adjust letter case, defaults toCommandNaming.LetterCase.UPPERCASE
.CommandNaming.Strategy
strategy
Apply a namingCommandNaming.Strategy
to transform the method name into a Redis command name.
-
-
-
Element Detail
-
strategy
CommandNaming.Strategy strategy
Apply a namingCommandNaming.Strategy
to transform the method name into a Redis command name.- Default:
- io.lettuce.core.dynamic.annotation.CommandNaming.Strategy.DEFAULT
-
-
-
letterCase
CommandNaming.LetterCase letterCase
Adjust letter case, defaults toCommandNaming.LetterCase.UPPERCASE
.- Default:
- io.lettuce.core.dynamic.annotation.CommandNaming.LetterCase.DEFAULT
-
-