MediaWiki REL1_35
StorageAwareness.php
Go to the documentation of this file.
1<?php
25
34 public const ERR_NONE = 0;
36 public const ERR_NO_RESPONSE = 1;
38 public const ERR_UNREACHABLE = 2;
40 public const ERR_UNEXPECTED = 3;
41
43 public const ATTR_EMULATION = 1;
45 public const ATTR_SYNCWRITES = 2;
47 public const ATTR_LOCALITY = 3;
49 public const ATTR_DURABILITY = 4;
50
52 public const QOS_EMULATION_SQL = 1;
53
55 public const QOS_SYNCWRITES_NONE = 1;
57 public const QOS_SYNCWRITES_BE = 2;
59 public const QOS_SYNCWRITES_QC = 3;
61 public const QOS_SYNCWRITES_SS = 4;
62
64 public const QOS_LOCALITY_WAN = 1;
66 public const QOS_LOCALITY_LAN = 2;
68 public const QOS_LOCALITY_SRV = 3;
70 public const QOS_LOCALITY_PROC = 4;
71
73 public const QOS_DURABILITY_NONE = 1;
75 public const QOS_DURABILITY_SCRIPT = 2;
77 public const QOS_DURABILITY_SERVICE = 3;
79 public const QOS_DURABILITY_DISK = 4;
81 public const QOS_DURABILITY_RDBMS = 5;
82
84 public const QOS_UNKNOWN = INF;
85}
Generic interface providing error code and quality-of-service constants for object stores.