187962b0f78116a2ddaa5f61ce0856d5dd5642c0.svn-base 834 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package org.jeecg.modules.monitor.service;
  2. import java.util.List;
  3. import java.util.Map;
  4. import java.util.Set;
  5. import com.alibaba.fastjson.JSONArray;
  6. import org.jeecg.modules.monitor.domain.RedisInfo;
  7. import org.jeecg.modules.monitor.exception.RedisConnectException;
  8. public interface RedisService {
  9. /**
  10. * 获取 redis 的详细信息
  11. *
  12. * @return List
  13. */
  14. List<RedisInfo> getRedisInfo() throws RedisConnectException;
  15. /**
  16. * 获取 redis key 数量
  17. *
  18. * @return Map
  19. */
  20. Map<String, Object> getKeysSize() throws RedisConnectException;
  21. /**
  22. * 获取 redis 内存信息
  23. *
  24. * @return Map
  25. */
  26. Map<String, Object> getMemoryInfo() throws RedisConnectException;
  27. /**
  28. * 获取 报表需要个redis信息
  29. *
  30. * @return Map
  31. */
  32. Map<String, JSONArray> getMapForReport(String type) throws RedisConnectException ;
  33. }