package org.jeecg.modules.monitor.service; import java.util.List; import java.util.Map; import java.util.Set; import com.alibaba.fastjson.JSONArray; import org.jeecg.modules.monitor.domain.RedisInfo; import org.jeecg.modules.monitor.exception.RedisConnectException; /** * @Description: redis信息service接口 * @author: jeecg-boot */ public interface RedisService { /** * 获取 redis 的详细信息 * * @return List * @throws RedisConnectException */ List getRedisInfo() throws RedisConnectException; /** * 获取 redis key 数量 * * @return Map * @throws RedisConnectException */ Map getKeysSize() throws RedisConnectException; /** * 获取 redis 内存信息 * * @return Map * @throws RedisConnectException */ Map getMemoryInfo() throws RedisConnectException; /** * 获取 报表需要个redis信息 * @param type * @return Map * @throws RedisConnectException */ Map getMapForReport(String type) throws RedisConnectException ; }