MediaWiki
1.29.1
|
Interface for configuration instances. More...
Public Member Functions | |
__construct (array $params) | |
fetchAllFromEtcd () | |
get ( $name) | |
has ( $name) | |
setLogger (LoggerInterface $logger) | |
Protected Member Functions | |
fetchAllFromEtcdServer ( $address) | |
Private Member Functions | |
load () | |
unserialize ( $string) | |
Private Attributes | |
integer | $baseCacheTTL |
string | $directory |
string | $directoryHash |
string | $encoding |
string | $host |
MultiHttpClient | $http |
LoggerInterface | $logger |
array | $procCache |
string | $protocol |
integer | $skewCacheTTL |
BagOStuff | $srvCache |
integer | $timeout |
EtcdConfig::__construct | ( | array | $params | ) |
array | $params | Parameter map:
|
Definition at line 72 of file EtcdConfig.php.
References $params, directory, ObjectFactory\getObjectFromSpec(), and http.
EtcdConfig::fetchAllFromEtcd | ( | ) |
Definition at line 196 of file EtcdConfig.php.
References $host, IP\combineHostAndPort(), fetchAllFromEtcdServer(), and list.
Referenced by load().
|
protected |
string | $address | Host and port |
Definition at line 224 of file EtcdConfig.php.
References $name, $value, as, false, http, list, true, and unserialize().
Referenced by fetchAllFromEtcd().
EtcdConfig::get | ( | $name | ) |
Definition at line 115 of file EtcdConfig.php.
EtcdConfig::has | ( | $name | ) |
Definition at line 109 of file EtcdConfig.php.
|
private |
Definition at line 125 of file EtcdConfig.php.
References $baseCacheTTL, $skewCacheTTL, $timeout, fetchAllFromEtcd(), list, IExpiringStore\TTL_INDEFINITE, and use.
EtcdConfig::setLogger | ( | LoggerInterface | $logger | ) |
Definition at line 105 of file EtcdConfig.php.
References $logger.
|
private |
string | $string |
Definition at line 268 of file EtcdConfig.php.
Referenced by fetchAllFromEtcdServer().
|
private |
Definition at line 52 of file EtcdConfig.php.
Referenced by load().
|
private |
Definition at line 48 of file EtcdConfig.php.
|
private |
Definition at line 58 of file EtcdConfig.php.
|
private |
Definition at line 50 of file EtcdConfig.php.
|
private |
Definition at line 44 of file EtcdConfig.php.
Referenced by fetchAllFromEtcd().
|
private |
Definition at line 35 of file EtcdConfig.php.
|
private |
Definition at line 41 of file EtcdConfig.php.
Referenced by setLogger().
|
private |
Definition at line 39 of file EtcdConfig.php.
|
private |
Definition at line 46 of file EtcdConfig.php.
|
private |
Definition at line 54 of file EtcdConfig.php.
Referenced by load().
|
private |
Definition at line 37 of file EtcdConfig.php.
|
private |
Definition at line 56 of file EtcdConfig.php.
Referenced by load().