获取redis信息

yun-zuoyi
castle.zang 3 years ago
parent bad5dc8134
commit 6508ad8082

@ -2,6 +2,7 @@ package cn.estsh.i3plus.pojo.base.util;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
/**
@ -308,4 +309,30 @@ public interface BaseRedis {
*/
void removeList(String key,long count,Object value);
/**
* keyrediskey
* server: Redis
* clients:
* memory:
* persistence: RDBAOF
* stats:
* replication:
* cpu: cpu
* commandstats: redis
* cluster: "Redis
* keyspace :
* @param key
* @return
*/
Properties getRedisConnectionInfo(String key);
/**
* key
* NONE("none"), STRING("string"), LIST("list"), SET("set"), ZSET("zset"), HASH("hash"),
* @since 2.2
* STREAM("stream");
* @param key
* @return
*/
String getKeyType(String key);
}

Loading…
Cancel
Save