Package org.redisson.config
Interface CommandMapper
- All Known Implementing Classes:
DefaultCommandMapper
public interface CommandMapper
Maps Redis command names.
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionstatic CommandMapper
direct()
Returns input Redis command name.Applies map function to the input Redis commandname
-
Method Details
-
map
Applies map function to the input Redis commandname
- Parameters:
name
- - original command name- Returns:
- mapped command name
-
direct
Returns input Redis command name. Used by default- Returns:
- NameMapper instance
-