public class Adaptor4JedisCluster extends Object implements JedisAdaptor
| Constructor and Description |
|---|
Adaptor4JedisCluster(redis.clients.jedis.JedisCluster jedis) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Long |
del(byte[] key) |
byte[] |
get(byte[] key) |
Long |
pexpire(byte[] key,
long milliseconds) |
String |
set(byte[] key,
byte[] value) |
public Adaptor4JedisCluster(redis.clients.jedis.JedisCluster jedis)
public Long del(byte[] key)
del in interface JedisAdaptorpublic Long pexpire(byte[] key, long milliseconds)
pexpire in interface JedisAdaptorpublic String set(byte[] key, byte[] value)
set in interface JedisAdaptorpublic byte[] get(byte[] key)
get in interface JedisAdaptorpublic void close()
close in interface JedisAdaptorCopyright © 2018. All rights reserved.