Package org.apache.pulsar.io.redis
Class RedisSession
java.lang.Object
org.apache.pulsar.io.redis.RedisSession
-
Constructor Summary
ConstructorsConstructorDescriptionRedisSession(io.lettuce.core.AbstractRedisClient client, io.lettuce.core.api.StatefulConnection connection, io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[], byte[]> asyncCommands) -
Method Summary
Modifier and TypeMethodDescriptionio.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[],byte[]> io.lettuce.core.AbstractRedisClientclient()voidclose()io.lettuce.core.api.StatefulConnectionstatic RedisSessioncreate(RedisSinkConfig config)
-
Constructor Details
-
RedisSession
public RedisSession(io.lettuce.core.AbstractRedisClient client, io.lettuce.core.api.StatefulConnection connection, io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[], byte[]> asyncCommands)
-
-
Method Details
-
client
public io.lettuce.core.AbstractRedisClient client() -
connection
public io.lettuce.core.api.StatefulConnection connection() -
asyncCommands
public io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[],byte[]> asyncCommands() -
close
- Throws:
Exception
-
create
-