|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilMemcacheServer:
Collaboration diagram for ilMemcacheServer:Public Member Functions | |
| isActive () | |
| isReachable () | |
| getId () | |
| setId (int $id) | |
| getStatus () | |
| setStatus (int $status) | |
| getHost () | |
| setHost (string $host) | |
| getPort () | |
| setPort (int $port) | |
| getFlushNeeded () | |
| setFlushNeeded (string $flush_needed) | |
| getWeight () | |
| setWeight (int $weight) | |
Public Member Functions inherited from ActiveRecord | |
| getArConnector () | |
| getArFieldList () | |
| getConnectorContainerName () | |
| @description Return the Name of your Connector Table More... | |
| setConnectorContainerName (string $connector_container_name) | |
| getPrimaryFieldValue () | |
| setPrimaryFieldValue ($value) | |
| __construct ($primary_key=0) | |
| storeObjectToCache () | |
| asStdClass () | |
| buildFromArray (array $array) | |
| fixDateField ($field_name, $value) | |
| sleep ($field_name) | |
| wakeUp ($field_name, $field_value) | |
| getArrayForConnector () | |
| installConnector () | |
| store () | |
| save () | |
| create () | |
| copy (int $new_id=0) | |
| afterObjectLoad () | |
| read () | |
| update () | |
| delete () | |
| __call ($name, $arguments) | |
Static Public Member Functions | |
| static | returnDbTableName () |
| @description Return the Name of your Database Table More... | |
Static Public Member Functions inherited from ActiveRecord | |
| static | returnDbTableName () |
| static | installDB () |
| static | renameDBField (string $old_name, string $new_name) |
| static | tableExists () |
| static | fieldExists (string $field_name) |
| static | removeDBField (string $field_name) |
| static | updateDB () |
| static | resetDB () |
| static | truncateDB () |
| static | flushDB () |
| @depracated never use in ILIAS Core, Plugins only More... | |
| static | preloadObjects () |
| static | additionalParams (array $additional_params) |
| static | findOrFail ($primary_key, array $add_constructor_args=array()) |
| Tries to find the object and throws an Exception if object is not found, instead of returning null. More... | |
| static | findOrGetInstance ($primary_key, array $add_constructor_args=array()) |
| static | where ($where, $operator=null) |
| static | innerjoinAR (ActiveRecord $ar, $on_this, $on_external, array $fields=array(' *'), string $operator='=', $both_external=false) |
| static | innerjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false) |
| static | leftjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false) |
| static | orderBy ($orderBy, string $orderDirection='ASC') |
| static | dateFormat (string $date_format='d.m.Y - H:i:s') |
| static | limit ($start, $end) |
| static | affectedRows () |
| static | count () |
| static | get () |
| static | debug () |
| static | first () |
| static | getCollection () |
| static | last () |
| static | getFirstFromLastQuery () |
| static | connector (arConnector $connector) |
| static | raw (bool $set_raw=true) |
| static | getArray (?string $key=null, $values=null) |
| static | _toCamelCase (string $str, bool $capitalise_first_char=false) |
Data Fields | |
| const | STATUS_INACTIVE = 0 |
| const | STATUS_ACTIVE = 1 |
Protected Attributes | |
| int | $id = 0 |
| @con_is_primary true @con_is_unique true @con_has_field true @con_fieldtype integer @con_length 8 @con_sequence true More... | |
| int | $status = self::STATUS_INACTIVE |
| string | $host = '' |
| @con_has_field true @con_fieldtype text @con_length 256 More... | |
| int | $port = 0 |
| @con_has_field true @con_fieldtype integer @con_length 8 More... | |
| int | $weight = 100 |
| @con_has_field true @con_fieldtype integer @con_length 2 More... | |
| $flush_needed = false | |
Protected Attributes inherited from ActiveRecord | |
| bool | $ar_safe_read = true |
| string | $connector_container_name = '' |
| bool | $is_new = true |
Additional Inherited Members | |
Protected Member Functions inherited from ActiveRecord | |
| installDatabase () | |
Static Protected Member Functions inherited from ActiveRecord | |
| static | getCalledClass () |
| @description Returns an instance of the instatiated calling active record (needs to be done in static methods) @TODO : This should be cached somehow More... | |
| static | fromCamelCase (string $str) |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilMemcacheServer
Definition at line 24 of file class.ilMemcacheServer.php.
| ilMemcacheServer::getFlushNeeded | ( | ) |
Definition at line 142 of file class.ilMemcacheServer.php.
References $flush_needed.
| ilMemcacheServer::getHost | ( | ) |
Definition at line 122 of file class.ilMemcacheServer.php.
References $host.
Referenced by isReachable().
Here is the caller graph for this function:| ilMemcacheServer::getId | ( | ) |
Definition at line 102 of file class.ilMemcacheServer.php.
References $id.
| ilMemcacheServer::getPort | ( | ) |
Definition at line 132 of file class.ilMemcacheServer.php.
References $port.
Referenced by isReachable().
Here is the caller graph for this function:| ilMemcacheServer::getStatus | ( | ) |
Definition at line 112 of file class.ilMemcacheServer.php.
References $status.
Referenced by isActive().
Here is the caller graph for this function:| ilMemcacheServer::getWeight | ( | ) |
Definition at line 152 of file class.ilMemcacheServer.php.
References $weight.
Referenced by isReachable().
Here is the caller graph for this function:| ilMemcacheServer::isActive | ( | ) |
Definition at line 44 of file class.ilMemcacheServer.php.
References getStatus(), and STATUS_ACTIVE.
Here is the call graph for this function:| ilMemcacheServer::isReachable | ( | ) |
Definition at line 49 of file class.ilMemcacheServer.php.
References getHost(), getPort(), and getWeight().
Here is the call graph for this function:
|
static |
@description Return the Name of your Database Table
Reimplemented from ActiveRecord.
Definition at line 39 of file class.ilMemcacheServer.php.
| ilMemcacheServer::setFlushNeeded | ( | string | $flush_needed | ) |
Definition at line 147 of file class.ilMemcacheServer.php.
References $flush_needed.
| ilMemcacheServer::setHost | ( | string | $host | ) |
Definition at line 127 of file class.ilMemcacheServer.php.
References $host.
| ilMemcacheServer::setId | ( | int | $id | ) |
Definition at line 107 of file class.ilMemcacheServer.php.
References $id.
| ilMemcacheServer::setPort | ( | int | $port | ) |
Definition at line 137 of file class.ilMemcacheServer.php.
References $port.
| ilMemcacheServer::setStatus | ( | int | $status | ) |
Definition at line 117 of file class.ilMemcacheServer.php.
References $status.
| ilMemcacheServer::setWeight | ( | int | $weight | ) |
Definition at line 157 of file class.ilMemcacheServer.php.
References $weight.
|
protected |
Definition at line 100 of file class.ilMemcacheServer.php.
Referenced by getFlushNeeded(), and setFlushNeeded().
|
protected |
@con_has_field true @con_fieldtype text @con_length 256
Definition at line 81 of file class.ilMemcacheServer.php.
|
protected |
@con_is_primary true @con_is_unique true @con_has_field true @con_fieldtype integer @con_length 8 @con_sequence true
Definition at line 68 of file class.ilMemcacheServer.php.
|
protected |
@con_has_field true @con_fieldtype integer @con_length 8
Definition at line 87 of file class.ilMemcacheServer.php.
|
protected |
Definition at line 75 of file class.ilMemcacheServer.php.
Referenced by getStatus(), and setStatus().
|
protected |
@con_has_field true @con_fieldtype integer @con_length 2
Definition at line 93 of file class.ilMemcacheServer.php.
Referenced by getWeight(), and setWeight().
| const ilMemcacheServer::STATUS_ACTIVE = 1 |
Definition at line 33 of file class.ilMemcacheServer.php.
Referenced by ilGlobalCacheSetupAgent\getMemcachedServer(), isActive(), and ILIAS\Tests\GlobalCache\Setup\ilGlobalCacheSetupAgentTest\testGetMemcachedServerActive().
| const ilMemcacheServer::STATUS_INACTIVE = 0 |
Definition at line 29 of file class.ilMemcacheServer.php.
Referenced by ilGlobalCacheSetupAgent\getMemcachedServer(), and ILIAS\Tests\GlobalCache\Setup\ilGlobalCacheSetupAgentTest\testGetMemcachedServerInactive().