コード例 #1
0
		/// <summary>
		/// 根据详细参数获取配置
		/// </summary>
		public virtual Config getConfByParameter(long? appId, long? envId, string env, string key, DisConfigTypeEnum disConfigTypeEnum)
		{

			return configDao.getByParameter(appId, envId, env, key, disConfigTypeEnum);
		}
コード例 #2
0
		/// 
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void reload(com.baidu.disconf.client.core.processor.DisconfCoreProcessor disconfCoreMgr, com.baidu.disconf.core.common.constants.DisConfigTypeEnum disConfigTypeEnum, String keyName) throws Exception
		public virtual void reload(DisconfCoreProcessor disconfCoreMgr, DisConfigTypeEnum disConfigTypeEnum, string keyName)
		{

			// 更新配置数据仓库 && 调用用户的回调函数列表
			disconfCoreMgr.updateOneConfAndCallback(keyName);
		}
コード例 #3
0
		public DisconfKey(DisConfigTypeEnum disConfigTypeEnum, string key) : base()
		{
			this.disConfigTypeEnum = disConfigTypeEnum;
			this.key = key;
		}