Detailed Description
Manages application servers information.
Definition at line 9 of file oxserversmanager.php.
Member Function Documentation
oxServersManager::createServer |
( |
|
$sServerId, |
|
|
|
$aData = array() |
|
) |
| |
|
protected |
oxServersManager::deleteInActiveServers |
( |
|
$aServersData | ) |
|
Removes information about old and not used servers.
- Parameters
-
array | $aServersData | Information of all servers data |
- Returns
- array $aServersData Information of all servers data
Definition at line 161 of file oxserversmanager.php.
oxServersManager::deleteServer |
( |
|
$sServerId | ) |
|
Removes server node information.
- Parameters
-
string | $sServerId | Server id |
Definition at line 124 of file oxserversmanager.php.
oxServersManager::getAllServersDataConfigsFromDb |
( |
| ) |
|
|
protected |
Returns all servers information array from database.
- Returns
- object ResultSetInterface
Definition at line 210 of file oxserversmanager.php.
oxServersManager::getConfigValueFromDB |
( |
|
$sVarName | ) |
|
|
private |
Returns configuration value from database.
- Parameters
-
string | $sVarName | Variable name |
- Returns
- string
Definition at line 246 of file oxserversmanager.php.
oxServersManager::getServer |
( |
|
$sServerId | ) |
|
oxServersManager::getServerDataFromDb |
( |
|
$sServerId | ) |
|
|
protected |
Returns server information from configuration.
- Parameters
-
- Returns
- array
Definition at line 228 of file oxserversmanager.php.
oxServersManager::getServerParameter |
( |
|
$aData, |
|
|
|
$sName |
|
) |
| |
|
protected |
Gets server parameter.
- Parameters
-
array | $aData | Data |
string | $sName | Name |
- Returns
- mixed
Definition at line 90 of file oxserversmanager.php.
oxServersManager::getServers |
( |
| ) |
|
oxServersManager::getServersData |
( |
| ) |
|
Returns all servers information array from configuration.
- Returns
- array
Definition at line 177 of file oxserversmanager.php.
oxServersManager::markInActiveServers |
( |
|
$aServersData = null | ) |
|
Mark servers as inactive if they are not used anymore.
- Parameters
-
array | $aServersData | Information of all servers data |
- Returns
- array $aServersData Information of all servers data
Definition at line 141 of file oxserversmanager.php.
oxServersManager::parseServerIdFromConfig |
( |
|
$sVarName | ) |
|
|
private |
Parses config option name to get the server id.
- Parameters
-
string | $sVarName | The name of the config option. |
- Returns
- string The id of server.
Definition at line 198 of file oxserversmanager.php.
oxServersManager::saveServer |
( |
|
$oServer | ) |
|
oxServersManager::saveToDb |
( |
|
$sServerId, |
|
|
|
$aServerData |
|
) |
| |
|
protected |
Saves servers data to database.
- Parameters
-
string | $sServerId | Server id |
array | $aServerData | Server data |
Definition at line 265 of file oxserversmanager.php.
Member Data Documentation
const oxServersManager::CONFIG_NAME_FOR_SERVER_INFO = 'aServersData_' |
The name of config option for saving servers data information.
Definition at line 25 of file oxserversmanager.php.
const oxServersManager::INACTIVE_NODE_STORAGE_PERIOD = 259200 |
const oxServersManager::NODE_AVAILABILITY_CHECK_PERIOD = 86400 |
The documentation for this class was generated from the following file: