类 RedisPubSubConnection
java.lang.Object
com.cdkjframework.redis.realize.RedisPubSubConnection
- 所有已实现的接口:
io.lettuce.core.api.AsyncCloseable
,io.lettuce.core.api.StatefulConnection<String,
,String> io.lettuce.core.api.StatefulRedisConnection<String,
,String> io.lettuce.core.internal.AsyncCloseable
,io.lettuce.core.pubsub.StatefulRedisPubSubConnection<String,
,String> AutoCloseable
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
addListener
(io.lettuce.core.api.push.PushListener pushListener) void
addListener
(io.lettuce.core.pubsub.RedisPubSubListener<String, String> redisPubSubListener) void
addListener
(io.lettuce.core.RedisConnectionStateListener redisConnectionStateListener) async()
void
close()
Collection<io.lettuce.core.protocol.RedisCommand<String,
String, ?>> dispatch
(Collection<? extends io.lettuce.core.protocol.RedisCommand<String, String, ?>> collection) void
io.lettuce.core.ClientOptions
io.lettuce.core.resource.ClientResources
boolean
isMulti()
boolean
isOpen()
reactive()
void
removeListener
(io.lettuce.core.api.push.PushListener pushListener) void
removeListener
(io.lettuce.core.pubsub.RedisPubSubListener<String, String> redisPubSubListener) void
removeListener
(io.lettuce.core.RedisConnectionStateListener redisConnectionStateListener) void
reset()
已过时。void
setAutoFlushCommands
(boolean b) void
setTimeout
(Duration duration) sync()
-
构造器详细资料
-
RedisPubSubConnection
public RedisPubSubConnection()
-
-
方法详细资料
-
isMulti
public boolean isMulti() -
sync
-
async
-
reactive
-
addListener
-
removeListener
-
setTimeout
-
getTimeout
-
dispatch
-
dispatch
public Collection<io.lettuce.core.protocol.RedisCommand<String,String, dispatch?>> (Collection<? extends io.lettuce.core.protocol.RedisCommand<String, String, ?>> collection) -
close
public void close()- 指定者:
close
在接口中AutoCloseable
- 指定者:
close
在接口中io.lettuce.core.api.StatefulConnection<String,
String>
-
closeAsync
-
isOpen
public boolean isOpen() -
getOptions
public io.lettuce.core.ClientOptions getOptions() -
getResources
public io.lettuce.core.resource.ClientResources getResources() -
reset
已过时。 -
setAutoFlushCommands
public void setAutoFlushCommands(boolean b) -
flushCommands
public void flushCommands() -
addListener
public void addListener(io.lettuce.core.api.push.PushListener pushListener) -
removeListener
public void removeListener(io.lettuce.core.api.push.PushListener pushListener) -
addListener
public void addListener(io.lettuce.core.RedisConnectionStateListener redisConnectionStateListener) -
removeListener
public void removeListener(io.lettuce.core.RedisConnectionStateListener redisConnectionStateListener)
-