MDL-40903 cached: fixed up versions
This commit is contained in:
Vendored
+1
-1
@@ -832,7 +832,7 @@ class cache_definition {
|
||||
* Please call {@link cache_definition::get_static_acceleration_size()} instead.
|
||||
*
|
||||
* @see cache_definition::get_static_acceleration_size()
|
||||
* @deprecated since 2.6
|
||||
* @deprecated since 2.5.3
|
||||
* @return int
|
||||
*/
|
||||
public function get_persistent_max_size() {
|
||||
|
||||
Vendored
+1
-1
@@ -307,7 +307,7 @@ class cache_factory {
|
||||
|
||||
/**
|
||||
* Returns the cache instances that have been used within this request.
|
||||
* @since 2.6
|
||||
* @since 2.5.3
|
||||
* @return array
|
||||
*/
|
||||
public function get_caches_in_use() {
|
||||
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
This files describes API changes in /cache/stores/* - cache store plugins.
|
||||
Information provided here is intended especially for developers.
|
||||
|
||||
=== 2.6 ===
|
||||
=== 2.5.3 ===
|
||||
* All cache instances are recorded and subsequent requests are given a reference to the original instance.
|
||||
* The persistent option for the cache definition has been deprecated. Please use the staticacceleration option instead.
|
||||
* There is a new static acceleration option. If enabled data passing through the cache is held onto.
|
||||
@@ -13,4 +13,4 @@ Information provided here is intended especially for developers.
|
||||
* cleanup method renamed to instance_deleted.
|
||||
It is now called when the store is deleted as all comments suggested anyway.
|
||||
* instance_created method added.
|
||||
It is called when the store is created for the very first time.
|
||||
It is called when the store is created for the very first time.
|
||||
|
||||
+3
-3
@@ -104,7 +104,7 @@ $definitions = array(
|
||||
'simplekeys' => true, // The course id the groupings exist for.
|
||||
'simpledata' => true, // Array of stdClass objects containing only strings.
|
||||
'staticacceleration' => true, // Likely there will be a couple of calls to this.
|
||||
'persistmaxsize' => 2, // The original cache used 1, we've increased that to two.
|
||||
'staticaccelerationsize' => 2, // The original cache used 1, we've increased that to two.
|
||||
),
|
||||
|
||||
// Used to cache calendar subscriptions.
|
||||
@@ -129,8 +129,8 @@ $definitions = array(
|
||||
'mode' => cache_store::MODE_APPLICATION,
|
||||
'simplekeys' => true, // 0 or 1 depending on the requested location type.
|
||||
'simpledata' => true, // Array of strings.
|
||||
'persistent' => true, // Likely there will be a couple of calls to this.
|
||||
'persistmaxsize' => 2, // Both arrays should stay loaded in memory.
|
||||
'staticacceleration' => true, // Likely there will be a couple of calls to this.
|
||||
'staticaccelerationsize' => 2, // Both arrays should stay loaded in memory.
|
||||
),
|
||||
|
||||
// Cache for the list of installed plugins - {@see get_plugin_list()}.
|
||||
|
||||
Reference in New Issue
Block a user