use of com.easy.cloud.core.common.log.pojo.dto.EcLogDTO in project dq-easy-cloud by dq-open-cloud.
the class EcLogAnalysisBO method buildDqLogAnalysisData.
/**
* 构建日志分析数据---必须对dqLogAnalysisDTO中的dqLogDTO成员属性进行初始化后才能调用该方法
*/
public EcLogAnalysisBO buildDqLogAnalysisData() {
try {
EcLogDTO ecLogDTO = this.ecLogAnalysisDTO.getLogDTO();
if (EcBaseUtils.isNull(ecLogDTO)) {
throw new EcBaseBusinessException(EcLogErrorCodeEnum.DQ_LOG_DTO_CANT_NULL);
}
this.ecLogAnalysisDTO.buildRunTimeMinllisTotal().buildRunTimesTotal().buildRunTimeMinllisAvg();
this.ecLogAnalysisDTO.buildRunTimeMinllisMin().buildRunTimeMinllisMax().buildLogType();
} catch (Exception e) {
e.printStackTrace();
}
return this;
}
use of com.easy.cloud.core.common.log.pojo.dto.EcLogDTO in project dq-easy-cloud by dq-open-cloud.
the class TestRedisService method updateEcLogDTO.
@EcRedisAnnotation(actionType = EcRedisActionType.UPDATE, proxyClass = EcRedisDemoProxy.class)
public EcLogDTO updateEcLogDTO(String id) {
EcLogDTO logDTO = new EcLogDTO();
logDTO.setRequestPath("更新的path");
EcLogUtils.info("更新数据洛", logDTO, logger);
return logDTO;
}
use of com.easy.cloud.core.common.log.pojo.dto.EcLogDTO in project dq-easy-cloud by dq-open-cloud.
the class TestRedisService method saveEcLogDTO.
@EcRedisAnnotation(actionType = EcRedisActionType.SAVE, proxyClass = EcRedisDemoProxy.class)
public EcLogDTO saveEcLogDTO(String id) {
EcLogDTO logDTO = new EcLogDTO();
logDTO.setRequestPath("测试的path");
EcLogUtils.info("保存数据洛", logDTO, logger);
return logDTO;
}
use of com.easy.cloud.core.common.log.pojo.dto.EcLogDTO in project dq-easy-cloud by dq-open-cloud.
the class TestRedisDAOImp method queryRequestPath.
@Override
public EcLogDTO queryRequestPath(String id) {
EcLogDTO logDTO = new EcLogDTO();
logDTO.setRequestPath("dao下的对象");
return logDTO;
}
use of com.easy.cloud.core.common.log.pojo.dto.EcLogDTO in project dq-easy-cloud by dq-open-cloud.
the class EcRedisDemoProxy method update.
@Override
protected Object update() {
EcLogDTO logDTO = EcRedisTemplateHandler.get(key, EcLogDTO.class);
if (logDTO != null) {
logDTO.setRequestPath("更行的数据www.update.com");
EcRedisTemplateHandler.set(key, logDTO);
}
return super.update();
}
Aggregations