use of com.ctrip.xpipe.redis.console.model.ConfigModel in project x-pipe by ctripcorp.
the class ConfigDao method setKey.
public synchronized void setKey(String key, String val) throws DalException {
ConfigModel model = new ConfigModel().setKey(key).setVal(val);
setConfig(model);
}
use of com.ctrip.xpipe.redis.console.model.ConfigModel in project x-pipe by ctripcorp.
the class ChangeConfig method startAlertSystem.
@RequestMapping(value = "/config/alert_system/start", method = RequestMethod.POST)
public void startAlertSystem(HttpServletRequest request, @RequestBody(required = false) ConfigModel configModel) throws DalException {
ConfigModel config = configModel(request, configModel);
configService.startAlertSystem(config);
}
Aggregations