Interface RedisCommandsProvider
- All Known Subinterfaces:
DefaultedRedisClusterConnection
,DefaultedRedisConnection
,RedisClusterCommandsProvider
,RedisClusterConnection
,RedisConnection
,RedisConnectionUtils.RedisConnectionProxy
,StringRedisConnection
- All Known Implementing Classes:
AbstractRedisConnection
,DefaultStringRedisConnection
,JedisClusterConnection
,JedisConnection
,LettuceClusterConnection
,LettuceConnection
public interface RedisCommandsProvider
Provides access to
RedisCommands
and the segregated command interfaces.- Since:
- 3.0
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptioncommands()
GetRedisCommands
.GetRedisGeoCommands
.GetRedisHashCommands
.GetRedisKeyCommands
.GetRedisListCommands
.GetRedisServerCommands
.GetRedisSetCommands
.GetRedisStreamCommands
.GetRedisStringCommands
.GetRedisZSetCommands
.
-
Method Details
-
commands
RedisCommands commands()GetRedisCommands
.- Returns:
- never null.
- Since:
- 3.0
-
geoCommands
RedisGeoCommands geoCommands()GetRedisGeoCommands
.- Returns:
- never null.
- Since:
- 2.0
-
hashCommands
RedisHashCommands hashCommands()GetRedisHashCommands
.- Returns:
- never null.
- Since:
- 2.0
-
hyperLogLogCommands
RedisHyperLogLogCommands hyperLogLogCommands()- Returns:
- never null.
- Since:
- 2.0
-
keyCommands
RedisKeyCommands keyCommands()GetRedisKeyCommands
.- Returns:
- never null.
- Since:
- 2.0
-
listCommands
RedisListCommands listCommands()GetRedisListCommands
.- Returns:
- never null.
- Since:
- 2.0
-
setCommands
RedisSetCommands setCommands()GetRedisSetCommands
.- Returns:
- never null.
- Since:
- 2.0
-
scriptingCommands
RedisScriptingCommands scriptingCommands()- Returns:
- never null.
- Since:
- 2.0
-
serverCommands
RedisServerCommands serverCommands()GetRedisServerCommands
.- Returns:
- never null.
- Since:
- 2.0
-
streamCommands
RedisStreamCommands streamCommands()GetRedisStreamCommands
.- Returns:
- never null.
- Since:
- 2.2
-
stringCommands
RedisStringCommands stringCommands()GetRedisStringCommands
.- Returns:
- never null.
- Since:
- 2.0
-
zSetCommands
RedisZSetCommands zSetCommands()GetRedisZSetCommands
.- Returns:
- never null.
- Since:
- 2.0
-