类 RedisContainer
- java.lang.Object
-
- net.wicp.tams.common.flink.connector.redis.container.RedisContainer
-
- 所有已实现的接口:
Closeable,Serializable,AutoCloseable,RedisCommandsContainer
public class RedisContainer extends Object implements RedisCommandsContainer, Closeable
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 RedisContainer(net.wicp.tams.common.redis.pool.AbsPool standalone)RedisContainer(redis.clients.jedis.JedisPool jedisPool)RedisContainer(redis.clients.jedis.JedisSentinelPool sentinelPool)
-
-
-
方法详细资料
-
open
public void open() throws Exception- 指定者:
open在接口中RedisCommandsContainer- 抛出:
Exception
-
multiGet
public List<Object> multiGet(List<byte[]> key)
- 指定者:
multiGet在接口中RedisCommandsContainer
-
get
public byte[] get(byte[] key)
- 指定者:
get在接口中RedisCommandsContainer
-
hget
public byte[] hget(byte[] key, byte[] hashField)- 指定者:
hget在接口中RedisCommandsContainer
-
close
public void close() throws IOException- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 抛出:
IOException
-
-