@Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) @Documented public @interface CommandNaming
Command or derived from its name. Annotate a command interface or method with CommandNaming to set a
command naming CommandNaming.Strategy.Command| Modifier and Type | Optional Element and Description |
|---|---|
CommandNaming.LetterCase |
letterCase
Adjust letter case, defaults to
CommandNaming.LetterCase.UPPERCASE. |
CommandNaming.Strategy |
strategy
Apply a naming
CommandNaming.Strategy to transform the method name into a Redis command name. |
public abstract CommandNaming.Strategy strategy
CommandNaming.Strategy to transform the method name into a Redis command name.public abstract CommandNaming.LetterCase letterCase
CommandNaming.LetterCase.UPPERCASE.Copyright © 2020 lettuce.io. All rights reserved.