public class RedisSession extends Object
| Constructor and Description |
|---|
RedisSession(io.lettuce.core.AbstractRedisClient client,
io.lettuce.core.api.StatefulConnection connection,
io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[],byte[]> asyncCommands) |
| Modifier and Type | Method and Description |
|---|---|
io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[],byte[]> |
asyncCommands() |
io.lettuce.core.AbstractRedisClient |
client() |
void |
close() |
io.lettuce.core.api.StatefulConnection |
connection() |
static RedisSession |
create(RedisSinkConfig config) |
public RedisSession(io.lettuce.core.AbstractRedisClient client,
io.lettuce.core.api.StatefulConnection connection,
io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[],byte[]> asyncCommands)
public io.lettuce.core.AbstractRedisClient client()
public io.lettuce.core.api.StatefulConnection connection()
public io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[],byte[]> asyncCommands()
public static RedisSession create(RedisSinkConfig config)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.