Initial commit
This commit is contained in:
parent
c4deaccf55
commit
74462dc377
@ -33,7 +33,6 @@ public class CacheController {
|
|||||||
public R<CacheListInfoVo> getInfo() throws Exception {
|
public R<CacheListInfoVo> getInfo() throws Exception {
|
||||||
RedisConnection connection = connectionFactory.getConnection();
|
RedisConnection connection = connectionFactory.getConnection();
|
||||||
Properties commandStats = connection.commands().info("commandstats");
|
Properties commandStats = connection.commands().info("commandstats");
|
||||||
|
|
||||||
List<Map<String, String>> pieList = new ArrayList<>();
|
List<Map<String, String>> pieList = new ArrayList<>();
|
||||||
if (commandStats != null) {
|
if (commandStats != null) {
|
||||||
commandStats.stringPropertyNames().forEach(key -> {
|
commandStats.stringPropertyNames().forEach(key -> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user