public class RedisInfo extends Object
| Constructor and Description |
|---|
RedisInfo(Map<String,String> map) |
RedisInfo(String info) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEvictedKeys() |
int |
getExpiredKeys() |
int |
getKeyCount() |
protected int |
getKeyCount(String dbinfo) |
float |
getUsedCpuSys() |
float |
getUsedCpuUser() |
long |
getUsedMemory() |
String |
getUsedMemoryHuman() |
protected static Map<String,String> |
parse(String info) |
String |
toString() |
public RedisInfo(String info)
public long getUsedMemory()
public String getUsedMemoryHuman()
public int getKeyCount()
protected int getKeyCount(String dbinfo)
public int getExpiredKeys()
public int getEvictedKeys()
public float getUsedCpuUser()
public float getUsedCpuSys()
Copyright © 2018–2020. All rights reserved.