@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
with
Command or derived from its name. Annotate a command interface or method with CommandNaming to set a
command naming CommandNaming.Strategy.- Since:
- 5.0
- Author:
- Mark Paluch
- See Also:
Command
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommandNaming.LetterCasestatic classCommandNaming.Strategy -
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description CommandNaming.LetterCaseletterCaseAdjust letter case, defaults toCommandNaming.LetterCase.UPPERCASE.CommandNaming.StrategystrategyApply a namingCommandNaming.Strategyto transform the method name into a Redis command name.
-
Element Details
-
strategy
CommandNaming.Strategy strategyApply a namingCommandNaming.Strategyto transform the method name into a Redis command name.- Default:
- DEFAULT
-
letterCase
CommandNaming.LetterCase letterCaseAdjust letter case, defaults toCommandNaming.LetterCase.UPPERCASE.- Default:
- DEFAULT
-