X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2Fobjectcache%2FIExpiringStore.php;h=62c4fa5ec3493bcfa61df40dfa67df1223323116;hb=7abf23c194b6fc87bcb3da2453747638cbea64c5;hp=91e7934a098e8ea2569584f18a757bda5d7fbcd4;hpb=b9bd630052bbd179d6798eb2f7d6e81911b73765;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/objectcache/IExpiringStore.php b/includes/libs/objectcache/IExpiringStore.php index 91e7934a09..62c4fa5ec3 100644 --- a/includes/libs/objectcache/IExpiringStore.php +++ b/includes/libs/objectcache/IExpiringStore.php @@ -42,4 +42,11 @@ interface IExpiringStore { const TTL_PROC_LONG = 30; // loose cache time that can survive slow web requests const TTL_INDEFINITE = 0; + + // Attribute and QoS constants; higher QOS values with the same prefix rank higher... + // Medium attributes constants related to emulation or media type + const ATTR_EMULATION = 1; + const QOS_EMULATION_SQL = 1; + // Generic "unknown" value that is useful for comparisons (e.g. always good enough) + const QOS_UNKNOWN = INF; }