| Modifier and Type | Method and Description |
|---|---|
static ArrayList<String> |
Qconf.getAllHost(String key)
get all the hosts available from Qconf by the key in current server room
it will wait for a while if the qconf-agent not get the configure yet, at most 100 * 5 millisecond |
static ArrayList<String> |
Qconf.getAllHost(String key,
String idc)
get all the hosts available from Qconf by the key and idc
it will wait for a while if the qconf-agent not get the configure yet, at most 100 * 5 millisecond |
static Map<String,String> |
Qconf.getBatchConf(String key)
get all children conf with its value
|
static Map<String,String> |
Qconf.getBatchConf(String key,
String idc)
get all children conf with its value
|
static ArrayList<String> |
Qconf.getBatchKeys(String key)
get all children keys
|
static ArrayList<String> |
Qconf.getBatchKeys(String key,
String idc)
get all children conf keys
|
static String |
Qconf.getConf(String key)
get value configure from Qconf by the key in current server room
it will wait for a while if the qconf-agent not get the configure yet, at most 100 * 5 millisecond |
static String |
Qconf.getConf(String key,
String idc)
get value configure from Qconf by the key and idc
it will wait for a while if the qconf-agent not get the configure yet, at most 100 * 5 millisecond |
static String |
Qconf.getHost(String key)
get one host configure available from Qconf by the key in current server room
it will pick one randomly if multi-host available it will wait for a while if the qconf-agent not get the configure yet, at most 100 * 5 millisecond |
static String |
Qconf.getHost(String key,
String idc)
get one host configure available from Qconf by the key and idc
it will pick one randomly if multi-host available it will wait for a while if the qconf-agent not get the configure yet, at most 100 * 5 millisecond |
Copyright © 2015. All rights reserved.