public class DisClientSysConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
CONF_SERVER_MASTER_NUM_ACTION
获取远程主机个数的URL
|
String |
CONF_SERVER_STORE_ACTION
STORE URL
|
String |
CONF_SERVER_ZOO_ACTION
STORE URL
|
protected static String |
filename |
protected static DisClientSysConfig |
INSTANCE |
String |
LOCAL_DOWNLOAD_DIR
下载文件夹, 远程文件下载后会放在这里
|
protected static org.slf4j.Logger |
LOGGER |
| Modifier and Type | Method and Description |
|---|---|
static DisClientSysConfig |
getInstance() |
boolean |
isLoaded() |
void |
loadConfig(String filePath)
load config normal
|
protected static final org.slf4j.Logger LOGGER
protected static final DisClientSysConfig INSTANCE
protected static final String filename
@DisInnerConfigAnnotation(name="disconf.conf_server_store_action") public String CONF_SERVER_STORE_ACTION
@DisInnerConfigAnnotation(name="disconf.conf_server_zoo_action") public String CONF_SERVER_ZOO_ACTION
@DisInnerConfigAnnotation(name="disconf.conf_server_master_num_action") public String CONF_SERVER_MASTER_NUM_ACTION
@DisInnerConfigAnnotation(name="disconf.local_download_dir") public String LOCAL_DOWNLOAD_DIR
public static DisClientSysConfig getInstance()
public boolean isLoaded()
Copyright © 2015–2016 Baidu. All rights reserved.