public class Adaptor4Jedis extends Object implements JedisAdaptor
| Constructor and Description |
|---|
Adaptor4Jedis(redis.clients.jedis.Jedis 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 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 © 2020. All rights reserved.