Skip to content

Commit

Permalink
remove trans for update config value
Browse files Browse the repository at this point in the history
  • Loading branch information
knightliao committed Nov 8, 2016
1 parent c066d8e commit d7b0102
Show file tree
Hide file tree
Showing 2 changed files with 197 additions and 181 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ public interface ConfigMgr {
*/
ConfListVo getConfVo(Long configId);

/**
* @param configId
*
* @return
*/
MachineListVo getConfVoWithZk(Long configId);

/**
Expand All @@ -55,20 +60,34 @@ public interface ConfigMgr {
String updateItemValue(Long configId, String value);

/**
* 获取config value
*
* @param configId
*
* @return
*/
String getValue(Long configId);

/**
* 通知zk
*
* @param configId
*/
void notifyZookeeper(Long configId);

/**
* 新建一个config
*
* @param confNewForm
* @param disConfigTypeEnum
*/
void newConfig(ConfNewItemForm confNewForm, DisConfigTypeEnum disConfigTypeEnum);

/**
* 删除一个config
*
* @param configId
*/
void delete(Long configId);

/**
Expand Down
Loading

0 comments on commit d7b0102

Please sign in to comment.