Package cc.carm.plugin.mineredis.api
Interface RedisManager
-
- All Superinterfaces:
RedisMessageManager
public interface RedisManager extends RedisMessageManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.lettuce.core.api.async.RedisAsyncCommands<java.lang.String,java.lang.String>
async()
准备以异步方式操作RedisCommands。io.lettuce.core.RedisClient
getClient()
io.lettuce.core.api.sync.RedisCommands<java.lang.String,java.lang.String>
sync()
准备以同步方式操作RedisCommands。-
Methods inherited from interface cc.carm.plugin.mineredis.api.RedisMessageManager
callback, callback, callback, publish, publish, publish, publishAsync, publishAsync, publishAsync, registerChannel, registerChannelListener, registerChannels, registerGlobalListener, registerPatternListener, subscribe, subscribePattern, unregisterChannels, unregisterListener, unsubscribe, unsubscribePattern
-
-
-
-
Method Detail
-
getClient
io.lettuce.core.RedisClient getClient()
-
sync
io.lettuce.core.api.sync.RedisCommands<java.lang.String,java.lang.String> sync()
准备以同步方式操作RedisCommands。- Returns:
RedisCommands
-
async
io.lettuce.core.api.async.RedisAsyncCommands<java.lang.String,java.lang.String> async()
准备以异步方式操作RedisCommands。- Returns:
RedisAsyncCommands
-
-