1 | <?php /** MicroXcacheDriver */ |
||
20 | class XcacheDriver extends BaseCacheDriver |
||
21 | { |
||
22 | /** |
||
23 | * Constructor |
||
24 | * |
||
25 | * @access public |
||
26 | * |
||
27 | * @param IContainer $container |
||
28 | * @param array $config config array |
||
29 | * |
||
30 | * @result void |
||
31 | * @throws Exception |
||
32 | */ |
||
33 | public function __construct(IContainer $container, array $config = []) |
||
41 | |||
42 | /** |
||
43 | * @inheritdoc |
||
44 | */ |
||
45 | public function check() |
||
49 | |||
50 | /** |
||
51 | * @inheritdoc |
||
52 | */ |
||
53 | public function delete($name) |
||
57 | |||
58 | /** |
||
59 | * @inheritdoc |
||
60 | */ |
||
61 | public function clean() |
||
73 | |||
74 | /** |
||
75 | * @inheritdoc |
||
76 | */ |
||
77 | public function info() |
||
82 | |||
83 | /** |
||
84 | * @inheritdoc |
||
85 | */ |
||
86 | public function getMeta($id) |
||
90 | |||
91 | /** |
||
92 | * @inheritdoc |
||
93 | */ |
||
94 | public function increment($name, $offset = 1) |
||
100 | |||
101 | /** |
||
102 | * @inheritdoc |
||
103 | */ |
||
104 | public function get($name) |
||
108 | |||
109 | /** |
||
110 | * @inheritdoc |
||
111 | */ |
||
112 | public function set($name, $value, $duration = 0) |
||
116 | |||
117 | /** |
||
118 | * @inheritdoc |
||
119 | */ |
||
120 | public function decrement($name, $offset = 1) |
||
126 | } |
||
127 |