thrownewConfigurationException("Either config center or registry address is needed, please refer to https://github.com/apache/incubator-dubbo-admin/wiki/Dubbo-Admin-configuration");
}else{// Fix map can not be cleared when service is unregistered: when a unique “group/service:version” service is unregistered, but we still have the same services with different version or group, so empty protocols can not be invoked.
* @param expression Expression string containing variables. Variable names in expressions can also be enclosed in <code> {} </ code>。
* @param params Variable set. Variable names can include <code>. </ Code>, <code> _ </ code> characters.
* @return After the completion of the interpolation string. Such as: <code> <pre> xxx $ {name} zzz -> xxxjerryzzz </ pre> </ code> (where the variable name = "jerry")
* @throws IllegalStateException The variables used in the expression string are not in the variable set
*/
// FIXME Is it reasonable to throw an IllegalStateException??
* Whether to match Glob mode. Glob mode is the expression to be interpolated. Glob pattern has more than one, as long as matching a pattern, that match is successful.
*
* @param patternsNeedInterpolate Multiple Glob patterns to interpolate
* * @param interpolateParams Set of variables used for interpolation
up.append("name:"+service.toString()+",excute end time:"+newSimpleDateFormat("yyyy-MM-dd HH:mm:ss:SSS").format(newDate())+StringUtil.line()+",result:"+result);
up.append("name:"+service.toString()+",excute end time:"+newSimpleDateFormat("yyyy-MM-dd HH:mm:ss:SSS").format(newDate())+StringUtil.line()+",result:"+result);
Thread.currentThread().interrupt();
}
}
}
logger.info("DubboShutdownHook begin time------------>"+newSimpleDateFormat("yyyy-MM-dd HH:mm:ss:SSS").format(newDate()));