diff options
Diffstat (limited to 'vendor/symfony/cache/Traits/RedisCluster6Proxy.php')
-rw-r--r-- | vendor/symfony/cache/Traits/RedisCluster6Proxy.php | 1143 |
1 files changed, 1143 insertions, 0 deletions
diff --git a/vendor/symfony/cache/Traits/RedisCluster6Proxy.php b/vendor/symfony/cache/Traits/RedisCluster6Proxy.php new file mode 100644 index 0000000..fafc4ac --- /dev/null +++ b/vendor/symfony/cache/Traits/RedisCluster6Proxy.php | |||
@@ -0,0 +1,1143 @@ | |||
1 | <?php | ||
2 | |||
3 | /* | ||
4 | * This file is part of the Symfony package. | ||
5 | * | ||
6 | * (c) Fabien Potencier <fabien@symfony.com> | ||
7 | * | ||
8 | * For the full copyright and license information, please view the LICENSE | ||
9 | * file that was distributed with this source code. | ||
10 | */ | ||
11 | |||
12 | namespace Symfony\Component\Cache\Traits; | ||
13 | |||
14 | use Symfony\Component\VarExporter\LazyObjectInterface; | ||
15 | use Symfony\Component\VarExporter\LazyProxyTrait; | ||
16 | use Symfony\Contracts\Service\ResetInterface; | ||
17 | |||
18 | // Help opcache.preload discover always-needed symbols | ||
19 | class_exists(\Symfony\Component\VarExporter\Internal\Hydrator::class); | ||
20 | class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectRegistry::class); | ||
21 | class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectState::class); | ||
22 | |||
23 | /** | ||
24 | * @internal | ||
25 | */ | ||
26 | class RedisCluster6Proxy extends \RedisCluster implements ResetInterface, LazyObjectInterface | ||
27 | { | ||
28 | use LazyProxyTrait { | ||
29 | resetLazyObject as reset; | ||
30 | } | ||
31 | |||
32 | private const LAZY_OBJECT_PROPERTY_SCOPES = []; | ||
33 | |||
34 | public function __construct($name, $seeds = null, $timeout = 0, $read_timeout = 0, $persistent = false, #[\SensitiveParameter] $auth = null, $context = null) | ||
35 | { | ||
36 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->__construct(...\func_get_args()); | ||
37 | } | ||
38 | |||
39 | public function _compress($value): string | ||
40 | { | ||
41 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_compress(...\func_get_args()); | ||
42 | } | ||
43 | |||
44 | public function _uncompress($value): string | ||
45 | { | ||
46 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_uncompress(...\func_get_args()); | ||
47 | } | ||
48 | |||
49 | public function _serialize($value): bool|string | ||
50 | { | ||
51 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_serialize(...\func_get_args()); | ||
52 | } | ||
53 | |||
54 | public function _unserialize($value): mixed | ||
55 | { | ||
56 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_unserialize(...\func_get_args()); | ||
57 | } | ||
58 | |||
59 | public function _pack($value): string | ||
60 | { | ||
61 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_pack(...\func_get_args()); | ||
62 | } | ||
63 | |||
64 | public function _unpack($value): mixed | ||
65 | { | ||
66 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_unpack(...\func_get_args()); | ||
67 | } | ||
68 | |||
69 | public function _prefix($key): bool|string | ||
70 | { | ||
71 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_prefix(...\func_get_args()); | ||
72 | } | ||
73 | |||
74 | public function _masters(): array | ||
75 | { | ||
76 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_masters(...\func_get_args()); | ||
77 | } | ||
78 | |||
79 | public function _redir(): ?string | ||
80 | { | ||
81 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_redir(...\func_get_args()); | ||
82 | } | ||
83 | |||
84 | public function acl($key_or_address, $subcmd, ...$args): mixed | ||
85 | { | ||
86 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->acl(...\func_get_args()); | ||
87 | } | ||
88 | |||
89 | public function append($key, $value): \RedisCluster|bool|int | ||
90 | { | ||
91 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->append(...\func_get_args()); | ||
92 | } | ||
93 | |||
94 | public function bgrewriteaof($key_or_address): \RedisCluster|bool | ||
95 | { | ||
96 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bgrewriteaof(...\func_get_args()); | ||
97 | } | ||
98 | |||
99 | public function bgsave($key_or_address): \RedisCluster|bool | ||
100 | { | ||
101 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bgsave(...\func_get_args()); | ||
102 | } | ||
103 | |||
104 | public function bitcount($key, $start = 0, $end = -1, $bybit = false): \RedisCluster|bool|int | ||
105 | { | ||
106 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitcount(...\func_get_args()); | ||
107 | } | ||
108 | |||
109 | public function bitop($operation, $deskey, $srckey, ...$otherkeys): \RedisCluster|bool|int | ||
110 | { | ||
111 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitop(...\func_get_args()); | ||
112 | } | ||
113 | |||
114 | public function bitpos($key, $bit, $start = 0, $end = -1, $bybit = false): \RedisCluster|false|int | ||
115 | { | ||
116 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitpos(...\func_get_args()); | ||
117 | } | ||
118 | |||
119 | public function blpop($key, $timeout_or_key, ...$extra_args): \RedisCluster|array|false|null | ||
120 | { | ||
121 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->blpop(...\func_get_args()); | ||
122 | } | ||
123 | |||
124 | public function brpop($key, $timeout_or_key, ...$extra_args): \RedisCluster|array|false|null | ||
125 | { | ||
126 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->brpop(...\func_get_args()); | ||
127 | } | ||
128 | |||
129 | public function brpoplpush($srckey, $deskey, $timeout): mixed | ||
130 | { | ||
131 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->brpoplpush(...\func_get_args()); | ||
132 | } | ||
133 | |||
134 | public function lmove($src, $dst, $wherefrom, $whereto): \Redis|false|string | ||
135 | { | ||
136 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lmove(...\func_get_args()); | ||
137 | } | ||
138 | |||
139 | public function blmove($src, $dst, $wherefrom, $whereto, $timeout): \Redis|false|string | ||
140 | { | ||
141 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->blmove(...\func_get_args()); | ||
142 | } | ||
143 | |||
144 | public function bzpopmax($key, $timeout_or_key, ...$extra_args): array | ||
145 | { | ||
146 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bzpopmax(...\func_get_args()); | ||
147 | } | ||
148 | |||
149 | public function bzpopmin($key, $timeout_or_key, ...$extra_args): array | ||
150 | { | ||
151 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bzpopmin(...\func_get_args()); | ||
152 | } | ||
153 | |||
154 | public function bzmpop($timeout, $keys, $from, $count = 1): \RedisCluster|array|false|null | ||
155 | { | ||
156 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bzmpop(...\func_get_args()); | ||
157 | } | ||
158 | |||
159 | public function zmpop($keys, $from, $count = 1): \RedisCluster|array|false|null | ||
160 | { | ||
161 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zmpop(...\func_get_args()); | ||
162 | } | ||
163 | |||
164 | public function blmpop($timeout, $keys, $from, $count = 1): \RedisCluster|array|false|null | ||
165 | { | ||
166 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->blmpop(...\func_get_args()); | ||
167 | } | ||
168 | |||
169 | public function lmpop($keys, $from, $count = 1): \RedisCluster|array|false|null | ||
170 | { | ||
171 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lmpop(...\func_get_args()); | ||
172 | } | ||
173 | |||
174 | public function clearlasterror(): bool | ||
175 | { | ||
176 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->clearlasterror(...\func_get_args()); | ||
177 | } | ||
178 | |||
179 | public function client($key_or_address, $subcommand, $arg = null): array|bool|string | ||
180 | { | ||
181 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->client(...\func_get_args()); | ||
182 | } | ||
183 | |||
184 | public function close(): bool | ||
185 | { | ||
186 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->close(...\func_get_args()); | ||
187 | } | ||
188 | |||
189 | public function cluster($key_or_address, $command, ...$extra_args): mixed | ||
190 | { | ||
191 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->cluster(...\func_get_args()); | ||
192 | } | ||
193 | |||
194 | public function command(...$extra_args): mixed | ||
195 | { | ||
196 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->command(...\func_get_args()); | ||
197 | } | ||
198 | |||
199 | public function config($key_or_address, $subcommand, ...$extra_args): mixed | ||
200 | { | ||
201 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->config(...\func_get_args()); | ||
202 | } | ||
203 | |||
204 | public function dbsize($key_or_address): \RedisCluster|int | ||
205 | { | ||
206 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->dbsize(...\func_get_args()); | ||
207 | } | ||
208 | |||
209 | public function copy($src, $dst, $options = null): \RedisCluster|bool | ||
210 | { | ||
211 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->copy(...\func_get_args()); | ||
212 | } | ||
213 | |||
214 | public function decr($key, $by = 1): \RedisCluster|false|int | ||
215 | { | ||
216 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->decr(...\func_get_args()); | ||
217 | } | ||
218 | |||
219 | public function decrby($key, $value): \RedisCluster|false|int | ||
220 | { | ||
221 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->decrby(...\func_get_args()); | ||
222 | } | ||
223 | |||
224 | public function decrbyfloat($key, $value): float | ||
225 | { | ||
226 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->decrbyfloat(...\func_get_args()); | ||
227 | } | ||
228 | |||
229 | public function del($key, ...$other_keys): \RedisCluster|false|int | ||
230 | { | ||
231 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->del(...\func_get_args()); | ||
232 | } | ||
233 | |||
234 | public function discard(): bool | ||
235 | { | ||
236 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->discard(...\func_get_args()); | ||
237 | } | ||
238 | |||
239 | public function dump($key): \RedisCluster|false|string | ||
240 | { | ||
241 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->dump(...\func_get_args()); | ||
242 | } | ||
243 | |||
244 | public function echo($key_or_address, $msg): \RedisCluster|false|string | ||
245 | { | ||
246 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->echo(...\func_get_args()); | ||
247 | } | ||
248 | |||
249 | public function eval($script, $args = [], $num_keys = 0): mixed | ||
250 | { | ||
251 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->eval(...\func_get_args()); | ||
252 | } | ||
253 | |||
254 | public function eval_ro($script, $args = [], $num_keys = 0): mixed | ||
255 | { | ||
256 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->eval_ro(...\func_get_args()); | ||
257 | } | ||
258 | |||
259 | public function evalsha($script_sha, $args = [], $num_keys = 0): mixed | ||
260 | { | ||
261 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->evalsha(...\func_get_args()); | ||
262 | } | ||
263 | |||
264 | public function evalsha_ro($script_sha, $args = [], $num_keys = 0): mixed | ||
265 | { | ||
266 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->evalsha_ro(...\func_get_args()); | ||
267 | } | ||
268 | |||
269 | public function exec(): array|false | ||
270 | { | ||
271 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->exec(...\func_get_args()); | ||
272 | } | ||
273 | |||
274 | public function exists($key, ...$other_keys): \RedisCluster|bool|int | ||
275 | { | ||
276 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->exists(...\func_get_args()); | ||
277 | } | ||
278 | |||
279 | public function touch($key, ...$other_keys): \RedisCluster|bool|int | ||
280 | { | ||
281 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->touch(...\func_get_args()); | ||
282 | } | ||
283 | |||
284 | public function expire($key, $timeout, $mode = null): \RedisCluster|bool | ||
285 | { | ||
286 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->expire(...\func_get_args()); | ||
287 | } | ||
288 | |||
289 | public function expireat($key, $timestamp, $mode = null): \RedisCluster|bool | ||
290 | { | ||
291 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->expireat(...\func_get_args()); | ||
292 | } | ||
293 | |||
294 | public function expiretime($key): \RedisCluster|false|int | ||
295 | { | ||
296 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->expiretime(...\func_get_args()); | ||
297 | } | ||
298 | |||
299 | public function pexpiretime($key): \RedisCluster|false|int | ||
300 | { | ||
301 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pexpiretime(...\func_get_args()); | ||
302 | } | ||
303 | |||
304 | public function flushall($key_or_address, $async = false): \RedisCluster|bool | ||
305 | { | ||
306 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->flushall(...\func_get_args()); | ||
307 | } | ||
308 | |||
309 | public function flushdb($key_or_address, $async = false): \RedisCluster|bool | ||
310 | { | ||
311 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->flushdb(...\func_get_args()); | ||
312 | } | ||
313 | |||
314 | public function geoadd($key, $lng, $lat, $member, ...$other_triples_and_options): \RedisCluster|false|int | ||
315 | { | ||
316 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geoadd(...\func_get_args()); | ||
317 | } | ||
318 | |||
319 | public function geodist($key, $src, $dest, $unit = null): \RedisCluster|false|float | ||
320 | { | ||
321 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geodist(...\func_get_args()); | ||
322 | } | ||
323 | |||
324 | public function geohash($key, $member, ...$other_members): \RedisCluster|array|false | ||
325 | { | ||
326 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geohash(...\func_get_args()); | ||
327 | } | ||
328 | |||
329 | public function geopos($key, $member, ...$other_members): \RedisCluster|array|false | ||
330 | { | ||
331 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geopos(...\func_get_args()); | ||
332 | } | ||
333 | |||
334 | public function georadius($key, $lng, $lat, $radius, $unit, $options = []): mixed | ||
335 | { | ||
336 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->georadius(...\func_get_args()); | ||
337 | } | ||
338 | |||
339 | public function georadius_ro($key, $lng, $lat, $radius, $unit, $options = []): mixed | ||
340 | { | ||
341 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->georadius_ro(...\func_get_args()); | ||
342 | } | ||
343 | |||
344 | public function georadiusbymember($key, $member, $radius, $unit, $options = []): mixed | ||
345 | { | ||
346 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->georadiusbymember(...\func_get_args()); | ||
347 | } | ||
348 | |||
349 | public function georadiusbymember_ro($key, $member, $radius, $unit, $options = []): mixed | ||
350 | { | ||
351 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->georadiusbymember_ro(...\func_get_args()); | ||
352 | } | ||
353 | |||
354 | public function geosearch($key, $position, $shape, $unit, $options = []): \RedisCluster|array | ||
355 | { | ||
356 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geosearch(...\func_get_args()); | ||
357 | } | ||
358 | |||
359 | public function geosearchstore($dst, $src, $position, $shape, $unit, $options = []): \RedisCluster|array|false|int | ||
360 | { | ||
361 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geosearchstore(...\func_get_args()); | ||
362 | } | ||
363 | |||
364 | public function get($key): mixed | ||
365 | { | ||
366 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->get(...\func_get_args()); | ||
367 | } | ||
368 | |||
369 | public function getbit($key, $value): \RedisCluster|false|int | ||
370 | { | ||
371 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getbit(...\func_get_args()); | ||
372 | } | ||
373 | |||
374 | public function getlasterror(): ?string | ||
375 | { | ||
376 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getlasterror(...\func_get_args()); | ||
377 | } | ||
378 | |||
379 | public function getmode(): int | ||
380 | { | ||
381 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getmode(...\func_get_args()); | ||
382 | } | ||
383 | |||
384 | public function getoption($option): mixed | ||
385 | { | ||
386 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getoption(...\func_get_args()); | ||
387 | } | ||
388 | |||
389 | public function getrange($key, $start, $end): \RedisCluster|false|string | ||
390 | { | ||
391 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getrange(...\func_get_args()); | ||
392 | } | ||
393 | |||
394 | public function lcs($key1, $key2, $options = null): \RedisCluster|array|false|int|string | ||
395 | { | ||
396 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lcs(...\func_get_args()); | ||
397 | } | ||
398 | |||
399 | public function getset($key, $value): \RedisCluster|bool|string | ||
400 | { | ||
401 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getset(...\func_get_args()); | ||
402 | } | ||
403 | |||
404 | public function gettransferredbytes(): array|false | ||
405 | { | ||
406 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->gettransferredbytes(...\func_get_args()); | ||
407 | } | ||
408 | |||
409 | public function cleartransferredbytes(): void | ||
410 | { | ||
411 | ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->cleartransferredbytes(...\func_get_args()); | ||
412 | } | ||
413 | |||
414 | public function hdel($key, $member, ...$other_members): \RedisCluster|false|int | ||
415 | { | ||
416 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hdel(...\func_get_args()); | ||
417 | } | ||
418 | |||
419 | public function hexists($key, $member): \RedisCluster|bool | ||
420 | { | ||
421 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hexists(...\func_get_args()); | ||
422 | } | ||
423 | |||
424 | public function hget($key, $member): mixed | ||
425 | { | ||
426 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hget(...\func_get_args()); | ||
427 | } | ||
428 | |||
429 | public function hgetall($key): \RedisCluster|array|false | ||
430 | { | ||
431 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hgetall(...\func_get_args()); | ||
432 | } | ||
433 | |||
434 | public function hincrby($key, $member, $value): \RedisCluster|false|int | ||
435 | { | ||
436 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hincrby(...\func_get_args()); | ||
437 | } | ||
438 | |||
439 | public function hincrbyfloat($key, $member, $value): \RedisCluster|false|float | ||
440 | { | ||
441 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hincrbyfloat(...\func_get_args()); | ||
442 | } | ||
443 | |||
444 | public function hkeys($key): \RedisCluster|array|false | ||
445 | { | ||
446 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hkeys(...\func_get_args()); | ||
447 | } | ||
448 | |||
449 | public function hlen($key): \RedisCluster|false|int | ||
450 | { | ||
451 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hlen(...\func_get_args()); | ||
452 | } | ||
453 | |||
454 | public function hmget($key, $keys): \RedisCluster|array|false | ||
455 | { | ||
456 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hmget(...\func_get_args()); | ||
457 | } | ||
458 | |||
459 | public function hmset($key, $key_values): \RedisCluster|bool | ||
460 | { | ||
461 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hmset(...\func_get_args()); | ||
462 | } | ||
463 | |||
464 | public function hscan($key, &$iterator, $pattern = null, $count = 0): array|bool | ||
465 | { | ||
466 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hscan($key, $iterator, ...\array_slice(\func_get_args(), 2)); | ||
467 | } | ||
468 | |||
469 | public function hrandfield($key, $options = null): \RedisCluster|array|string | ||
470 | { | ||
471 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hrandfield(...\func_get_args()); | ||
472 | } | ||
473 | |||
474 | public function hset($key, $member, $value): \RedisCluster|false|int | ||
475 | { | ||
476 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hset(...\func_get_args()); | ||
477 | } | ||
478 | |||
479 | public function hsetnx($key, $member, $value): \RedisCluster|bool | ||
480 | { | ||
481 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hsetnx(...\func_get_args()); | ||
482 | } | ||
483 | |||
484 | public function hstrlen($key, $field): \RedisCluster|false|int | ||
485 | { | ||
486 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hstrlen(...\func_get_args()); | ||
487 | } | ||
488 | |||
489 | public function hvals($key): \RedisCluster|array|false | ||
490 | { | ||
491 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hvals(...\func_get_args()); | ||
492 | } | ||
493 | |||
494 | public function incr($key, $by = 1): \RedisCluster|false|int | ||
495 | { | ||
496 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->incr(...\func_get_args()); | ||
497 | } | ||
498 | |||
499 | public function incrby($key, $value): \RedisCluster|false|int | ||
500 | { | ||
501 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->incrby(...\func_get_args()); | ||
502 | } | ||
503 | |||
504 | public function incrbyfloat($key, $value): \RedisCluster|false|float | ||
505 | { | ||
506 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->incrbyfloat(...\func_get_args()); | ||
507 | } | ||
508 | |||
509 | public function info($key_or_address, ...$sections): \RedisCluster|array|false | ||
510 | { | ||
511 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->info(...\func_get_args()); | ||
512 | } | ||
513 | |||
514 | public function keys($pattern): \RedisCluster|array|false | ||
515 | { | ||
516 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->keys(...\func_get_args()); | ||
517 | } | ||
518 | |||
519 | public function lastsave($key_or_address): \RedisCluster|false|int | ||
520 | { | ||
521 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lastsave(...\func_get_args()); | ||
522 | } | ||
523 | |||
524 | public function lget($key, $index): \RedisCluster|bool|string | ||
525 | { | ||
526 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lget(...\func_get_args()); | ||
527 | } | ||
528 | |||
529 | public function lindex($key, $index): mixed | ||
530 | { | ||
531 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lindex(...\func_get_args()); | ||
532 | } | ||
533 | |||
534 | public function linsert($key, $pos, $pivot, $value): \RedisCluster|false|int | ||
535 | { | ||
536 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->linsert(...\func_get_args()); | ||
537 | } | ||
538 | |||
539 | public function llen($key): \RedisCluster|bool|int | ||
540 | { | ||
541 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->llen(...\func_get_args()); | ||
542 | } | ||
543 | |||
544 | public function lpop($key, $count = 0): \RedisCluster|array|bool|string | ||
545 | { | ||
546 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lpop(...\func_get_args()); | ||
547 | } | ||
548 | |||
549 | public function lpos($key, $value, $options = null): \Redis|array|bool|int|null | ||
550 | { | ||
551 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lpos(...\func_get_args()); | ||
552 | } | ||
553 | |||
554 | public function lpush($key, $value, ...$other_values): \RedisCluster|bool|int | ||
555 | { | ||
556 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lpush(...\func_get_args()); | ||
557 | } | ||
558 | |||
559 | public function lpushx($key, $value): \RedisCluster|bool|int | ||
560 | { | ||
561 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lpushx(...\func_get_args()); | ||
562 | } | ||
563 | |||
564 | public function lrange($key, $start, $end): \RedisCluster|array|false | ||
565 | { | ||
566 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lrange(...\func_get_args()); | ||
567 | } | ||
568 | |||
569 | public function lrem($key, $value, $count = 0): \RedisCluster|bool|int | ||
570 | { | ||
571 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lrem(...\func_get_args()); | ||
572 | } | ||
573 | |||
574 | public function lset($key, $index, $value): \RedisCluster|bool | ||
575 | { | ||
576 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lset(...\func_get_args()); | ||
577 | } | ||
578 | |||
579 | public function ltrim($key, $start, $end): \RedisCluster|bool | ||
580 | { | ||
581 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->ltrim(...\func_get_args()); | ||
582 | } | ||
583 | |||
584 | public function mget($keys): \RedisCluster|array|false | ||
585 | { | ||
586 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->mget(...\func_get_args()); | ||
587 | } | ||
588 | |||
589 | public function mset($key_values): \RedisCluster|bool | ||
590 | { | ||
591 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->mset(...\func_get_args()); | ||
592 | } | ||
593 | |||
594 | public function msetnx($key_values): \RedisCluster|array|false | ||
595 | { | ||
596 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->msetnx(...\func_get_args()); | ||
597 | } | ||
598 | |||
599 | public function multi($value = \Redis::MULTI): \RedisCluster|bool | ||
600 | { | ||
601 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->multi(...\func_get_args()); | ||
602 | } | ||
603 | |||
604 | public function object($subcommand, $key): \RedisCluster|false|int|string | ||
605 | { | ||
606 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->object(...\func_get_args()); | ||
607 | } | ||
608 | |||
609 | public function persist($key): \RedisCluster|bool | ||
610 | { | ||
611 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->persist(...\func_get_args()); | ||
612 | } | ||
613 | |||
614 | public function pexpire($key, $timeout, $mode = null): \RedisCluster|bool | ||
615 | { | ||
616 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pexpire(...\func_get_args()); | ||
617 | } | ||
618 | |||
619 | public function pexpireat($key, $timestamp, $mode = null): \RedisCluster|bool | ||
620 | { | ||
621 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pexpireat(...\func_get_args()); | ||
622 | } | ||
623 | |||
624 | public function pfadd($key, $elements): \RedisCluster|bool | ||
625 | { | ||
626 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pfadd(...\func_get_args()); | ||
627 | } | ||
628 | |||
629 | public function pfcount($key): \RedisCluster|false|int | ||
630 | { | ||
631 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pfcount(...\func_get_args()); | ||
632 | } | ||
633 | |||
634 | public function pfmerge($key, $keys): \RedisCluster|bool | ||
635 | { | ||
636 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pfmerge(...\func_get_args()); | ||
637 | } | ||
638 | |||
639 | public function ping($key_or_address, $message = null): mixed | ||
640 | { | ||
641 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->ping(...\func_get_args()); | ||
642 | } | ||
643 | |||
644 | public function psetex($key, $timeout, $value): \RedisCluster|bool | ||
645 | { | ||
646 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->psetex(...\func_get_args()); | ||
647 | } | ||
648 | |||
649 | public function psubscribe($patterns, $callback): void | ||
650 | { | ||
651 | ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->psubscribe(...\func_get_args()); | ||
652 | } | ||
653 | |||
654 | public function pttl($key): \RedisCluster|false|int | ||
655 | { | ||
656 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pttl(...\func_get_args()); | ||
657 | } | ||
658 | |||
659 | public function publish($channel, $message): \RedisCluster|bool | ||
660 | { | ||
661 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->publish(...\func_get_args()); | ||
662 | } | ||
663 | |||
664 | public function pubsub($key_or_address, ...$values): mixed | ||
665 | { | ||
666 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pubsub(...\func_get_args()); | ||
667 | } | ||
668 | |||
669 | public function punsubscribe($pattern, ...$other_patterns): array|bool | ||
670 | { | ||
671 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->punsubscribe(...\func_get_args()); | ||
672 | } | ||
673 | |||
674 | public function randomkey($key_or_address): \RedisCluster|bool|string | ||
675 | { | ||
676 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->randomkey(...\func_get_args()); | ||
677 | } | ||
678 | |||
679 | public function rawcommand($key_or_address, $command, ...$args): mixed | ||
680 | { | ||
681 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rawcommand(...\func_get_args()); | ||
682 | } | ||
683 | |||
684 | public function rename($key_src, $key_dst): \RedisCluster|bool | ||
685 | { | ||
686 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rename(...\func_get_args()); | ||
687 | } | ||
688 | |||
689 | public function renamenx($key, $newkey): \RedisCluster|bool | ||
690 | { | ||
691 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->renamenx(...\func_get_args()); | ||
692 | } | ||
693 | |||
694 | public function restore($key, $timeout, $value, $options = null): \RedisCluster|bool | ||
695 | { | ||
696 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->restore(...\func_get_args()); | ||
697 | } | ||
698 | |||
699 | public function role($key_or_address): mixed | ||
700 | { | ||
701 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->role(...\func_get_args()); | ||
702 | } | ||
703 | |||
704 | public function rpop($key, $count = 0): \RedisCluster|array|bool|string | ||
705 | { | ||
706 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rpop(...\func_get_args()); | ||
707 | } | ||
708 | |||
709 | public function rpoplpush($src, $dst): \RedisCluster|bool|string | ||
710 | { | ||
711 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rpoplpush(...\func_get_args()); | ||
712 | } | ||
713 | |||
714 | public function rpush($key, ...$elements): \RedisCluster|false|int | ||
715 | { | ||
716 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rpush(...\func_get_args()); | ||
717 | } | ||
718 | |||
719 | public function rpushx($key, $value): \RedisCluster|bool|int | ||
720 | { | ||
721 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rpushx(...\func_get_args()); | ||
722 | } | ||
723 | |||
724 | public function sadd($key, $value, ...$other_values): \RedisCluster|false|int | ||
725 | { | ||
726 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sadd(...\func_get_args()); | ||
727 | } | ||
728 | |||
729 | public function saddarray($key, $values): \RedisCluster|bool|int | ||
730 | { | ||
731 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->saddarray(...\func_get_args()); | ||
732 | } | ||
733 | |||
734 | public function save($key_or_address): \RedisCluster|bool | ||
735 | { | ||
736 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->save(...\func_get_args()); | ||
737 | } | ||
738 | |||
739 | public function scan(&$iterator, $key_or_address, $pattern = null, $count = 0): array|bool | ||
740 | { | ||
741 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->scan($iterator, ...\array_slice(\func_get_args(), 1)); | ||
742 | } | ||
743 | |||
744 | public function scard($key): \RedisCluster|false|int | ||
745 | { | ||
746 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->scard(...\func_get_args()); | ||
747 | } | ||
748 | |||
749 | public function script($key_or_address, ...$args): mixed | ||
750 | { | ||
751 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->script(...\func_get_args()); | ||
752 | } | ||
753 | |||
754 | public function sdiff($key, ...$other_keys): \RedisCluster|array|false | ||
755 | { | ||
756 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sdiff(...\func_get_args()); | ||
757 | } | ||
758 | |||
759 | public function sdiffstore($dst, $key, ...$other_keys): \RedisCluster|false|int | ||
760 | { | ||
761 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sdiffstore(...\func_get_args()); | ||
762 | } | ||
763 | |||
764 | public function set($key, $value, $options = null): \RedisCluster|bool|string | ||
765 | { | ||
766 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->set(...\func_get_args()); | ||
767 | } | ||
768 | |||
769 | public function setbit($key, $offset, $onoff): \RedisCluster|false|int | ||
770 | { | ||
771 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setbit(...\func_get_args()); | ||
772 | } | ||
773 | |||
774 | public function setex($key, $expire, $value): \RedisCluster|bool | ||
775 | { | ||
776 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setex(...\func_get_args()); | ||
777 | } | ||
778 | |||
779 | public function setnx($key, $value): \RedisCluster|bool | ||
780 | { | ||
781 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setnx(...\func_get_args()); | ||
782 | } | ||
783 | |||
784 | public function setoption($option, $value): bool | ||
785 | { | ||
786 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setoption(...\func_get_args()); | ||
787 | } | ||
788 | |||
789 | public function setrange($key, $offset, $value): \RedisCluster|false|int | ||
790 | { | ||
791 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setrange(...\func_get_args()); | ||
792 | } | ||
793 | |||
794 | public function sinter($key, ...$other_keys): \RedisCluster|array|false | ||
795 | { | ||
796 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sinter(...\func_get_args()); | ||
797 | } | ||
798 | |||
799 | public function sintercard($keys, $limit = -1): \RedisCluster|false|int | ||
800 | { | ||
801 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sintercard(...\func_get_args()); | ||
802 | } | ||
803 | |||
804 | public function sinterstore($key, ...$other_keys): \RedisCluster|false|int | ||
805 | { | ||
806 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sinterstore(...\func_get_args()); | ||
807 | } | ||
808 | |||
809 | public function sismember($key, $value): \RedisCluster|bool | ||
810 | { | ||
811 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sismember(...\func_get_args()); | ||
812 | } | ||
813 | |||
814 | public function smismember($key, $member, ...$other_members): \RedisCluster|array|false | ||
815 | { | ||
816 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->smismember(...\func_get_args()); | ||
817 | } | ||
818 | |||
819 | public function slowlog($key_or_address, ...$args): mixed | ||
820 | { | ||
821 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->slowlog(...\func_get_args()); | ||
822 | } | ||
823 | |||
824 | public function smembers($key): \RedisCluster|array|false | ||
825 | { | ||
826 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->smembers(...\func_get_args()); | ||
827 | } | ||
828 | |||
829 | public function smove($src, $dst, $member): \RedisCluster|bool | ||
830 | { | ||
831 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->smove(...\func_get_args()); | ||
832 | } | ||
833 | |||
834 | public function sort($key, $options = null): \RedisCluster|array|bool|int|string | ||
835 | { | ||
836 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sort(...\func_get_args()); | ||
837 | } | ||
838 | |||
839 | public function sort_ro($key, $options = null): \RedisCluster|array|bool|int|string | ||
840 | { | ||
841 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sort_ro(...\func_get_args()); | ||
842 | } | ||
843 | |||
844 | public function spop($key, $count = 0): \RedisCluster|array|false|string | ||
845 | { | ||
846 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->spop(...\func_get_args()); | ||
847 | } | ||
848 | |||
849 | public function srandmember($key, $count = 0): \RedisCluster|array|false|string | ||
850 | { | ||
851 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->srandmember(...\func_get_args()); | ||
852 | } | ||
853 | |||
854 | public function srem($key, $value, ...$other_values): \RedisCluster|false|int | ||
855 | { | ||
856 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->srem(...\func_get_args()); | ||
857 | } | ||
858 | |||
859 | public function sscan($key, &$iterator, $pattern = null, $count = 0): array|false | ||
860 | { | ||
861 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sscan($key, $iterator, ...\array_slice(\func_get_args(), 2)); | ||
862 | } | ||
863 | |||
864 | public function strlen($key): \RedisCluster|false|int | ||
865 | { | ||
866 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->strlen(...\func_get_args()); | ||
867 | } | ||
868 | |||
869 | public function subscribe($channels, $cb): void | ||
870 | { | ||
871 | ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->subscribe(...\func_get_args()); | ||
872 | } | ||
873 | |||
874 | public function sunion($key, ...$other_keys): \RedisCluster|array|bool | ||
875 | { | ||
876 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sunion(...\func_get_args()); | ||
877 | } | ||
878 | |||
879 | public function sunionstore($dst, $key, ...$other_keys): \RedisCluster|false|int | ||
880 | { | ||
881 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sunionstore(...\func_get_args()); | ||
882 | } | ||
883 | |||
884 | public function time($key_or_address): \RedisCluster|array|bool | ||
885 | { | ||
886 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->time(...\func_get_args()); | ||
887 | } | ||
888 | |||
889 | public function ttl($key): \RedisCluster|false|int | ||
890 | { | ||
891 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->ttl(...\func_get_args()); | ||
892 | } | ||
893 | |||
894 | public function type($key): \RedisCluster|false|int | ||
895 | { | ||
896 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->type(...\func_get_args()); | ||
897 | } | ||
898 | |||
899 | public function unsubscribe($channels): array|bool | ||
900 | { | ||
901 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->unsubscribe(...\func_get_args()); | ||
902 | } | ||
903 | |||
904 | public function unlink($key, ...$other_keys): \RedisCluster|false|int | ||
905 | { | ||
906 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->unlink(...\func_get_args()); | ||
907 | } | ||
908 | |||
909 | public function unwatch(): bool | ||
910 | { | ||
911 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->unwatch(...\func_get_args()); | ||
912 | } | ||
913 | |||
914 | public function watch($key, ...$other_keys): \RedisCluster|bool | ||
915 | { | ||
916 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->watch(...\func_get_args()); | ||
917 | } | ||
918 | |||
919 | public function xack($key, $group, $ids): \RedisCluster|false|int | ||
920 | { | ||
921 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xack(...\func_get_args()); | ||
922 | } | ||
923 | |||
924 | public function xadd($key, $id, $values, $maxlen = 0, $approx = false): \RedisCluster|false|string | ||
925 | { | ||
926 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xadd(...\func_get_args()); | ||
927 | } | ||
928 | |||
929 | public function xclaim($key, $group, $consumer, $min_iddle, $ids, $options): \RedisCluster|array|false|string | ||
930 | { | ||
931 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xclaim(...\func_get_args()); | ||
932 | } | ||
933 | |||
934 | public function xdel($key, $ids): \RedisCluster|false|int | ||
935 | { | ||
936 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xdel(...\func_get_args()); | ||
937 | } | ||
938 | |||
939 | public function xgroup($operation, $key = null, $group = null, $id_or_consumer = null, $mkstream = false, $entries_read = -2): mixed | ||
940 | { | ||
941 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xgroup(...\func_get_args()); | ||
942 | } | ||
943 | |||
944 | public function xautoclaim($key, $group, $consumer, $min_idle, $start, $count = -1, $justid = false): \RedisCluster|array|bool | ||
945 | { | ||
946 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xautoclaim(...\func_get_args()); | ||
947 | } | ||
948 | |||
949 | public function xinfo($operation, $arg1 = null, $arg2 = null, $count = -1): mixed | ||
950 | { | ||
951 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xinfo(...\func_get_args()); | ||
952 | } | ||
953 | |||
954 | public function xlen($key): \RedisCluster|false|int | ||
955 | { | ||
956 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xlen(...\func_get_args()); | ||
957 | } | ||
958 | |||
959 | public function xpending($key, $group, $start = null, $end = null, $count = -1, $consumer = null): \RedisCluster|array|false | ||
960 | { | ||
961 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xpending(...\func_get_args()); | ||
962 | } | ||
963 | |||
964 | public function xrange($key, $start, $end, $count = -1): \RedisCluster|array|bool | ||
965 | { | ||
966 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xrange(...\func_get_args()); | ||
967 | } | ||
968 | |||
969 | public function xread($streams, $count = -1, $block = -1): \RedisCluster|array|bool | ||
970 | { | ||
971 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xread(...\func_get_args()); | ||
972 | } | ||
973 | |||
974 | public function xreadgroup($group, $consumer, $streams, $count = 1, $block = 1): \RedisCluster|array|bool | ||
975 | { | ||
976 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xreadgroup(...\func_get_args()); | ||
977 | } | ||
978 | |||
979 | public function xrevrange($key, $start, $end, $count = -1): \RedisCluster|array|bool | ||
980 | { | ||
981 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xrevrange(...\func_get_args()); | ||
982 | } | ||
983 | |||
984 | public function xtrim($key, $maxlen, $approx = false, $minid = false, $limit = -1): \RedisCluster|false|int | ||
985 | { | ||
986 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xtrim(...\func_get_args()); | ||
987 | } | ||
988 | |||
989 | public function zadd($key, $score_or_options, ...$more_scores_and_mems): \RedisCluster|false|float|int | ||
990 | { | ||
991 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zadd(...\func_get_args()); | ||
992 | } | ||
993 | |||
994 | public function zcard($key): \RedisCluster|false|int | ||
995 | { | ||
996 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zcard(...\func_get_args()); | ||
997 | } | ||
998 | |||
999 | public function zcount($key, $start, $end): \RedisCluster|false|int | ||
1000 | { | ||
1001 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zcount(...\func_get_args()); | ||
1002 | } | ||
1003 | |||
1004 | public function zincrby($key, $value, $member): \RedisCluster|false|float | ||
1005 | { | ||
1006 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zincrby(...\func_get_args()); | ||
1007 | } | ||
1008 | |||
1009 | public function zinterstore($dst, $keys, $weights = null, $aggregate = null): \RedisCluster|false|int | ||
1010 | { | ||
1011 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zinterstore(...\func_get_args()); | ||
1012 | } | ||
1013 | |||
1014 | public function zintercard($keys, $limit = -1): \RedisCluster|false|int | ||
1015 | { | ||
1016 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zintercard(...\func_get_args()); | ||
1017 | } | ||
1018 | |||
1019 | public function zlexcount($key, $min, $max): \RedisCluster|false|int | ||
1020 | { | ||
1021 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zlexcount(...\func_get_args()); | ||
1022 | } | ||
1023 | |||
1024 | public function zpopmax($key, $value = null): \RedisCluster|array|bool | ||
1025 | { | ||
1026 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zpopmax(...\func_get_args()); | ||
1027 | } | ||
1028 | |||
1029 | public function zpopmin($key, $value = null): \RedisCluster|array|bool | ||
1030 | { | ||
1031 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zpopmin(...\func_get_args()); | ||
1032 | } | ||
1033 | |||
1034 | public function zrange($key, $start, $end, $options = null): \RedisCluster|array|bool | ||
1035 | { | ||
1036 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrange(...\func_get_args()); | ||
1037 | } | ||
1038 | |||
1039 | public function zrangestore($dstkey, $srckey, $start, $end, $options = null): \RedisCluster|false|int | ||
1040 | { | ||
1041 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrangestore(...\func_get_args()); | ||
1042 | } | ||
1043 | |||
1044 | public function zrandmember($key, $options = null): \RedisCluster|array|string | ||
1045 | { | ||
1046 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrandmember(...\func_get_args()); | ||
1047 | } | ||
1048 | |||
1049 | public function zrangebylex($key, $min, $max, $offset = -1, $count = -1): \RedisCluster|array|false | ||
1050 | { | ||
1051 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrangebylex(...\func_get_args()); | ||
1052 | } | ||
1053 | |||
1054 | public function zrangebyscore($key, $start, $end, $options = []): \RedisCluster|array|false | ||
1055 | { | ||
1056 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrangebyscore(...\func_get_args()); | ||
1057 | } | ||
1058 | |||
1059 | public function zrank($key, $member): \RedisCluster|false|int | ||
1060 | { | ||
1061 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrank(...\func_get_args()); | ||
1062 | } | ||
1063 | |||
1064 | public function zrem($key, $value, ...$other_values): \RedisCluster|false|int | ||
1065 | { | ||
1066 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrem(...\func_get_args()); | ||
1067 | } | ||
1068 | |||
1069 | public function zremrangebylex($key, $min, $max): \RedisCluster|false|int | ||
1070 | { | ||
1071 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zremrangebylex(...\func_get_args()); | ||
1072 | } | ||
1073 | |||
1074 | public function zremrangebyrank($key, $min, $max): \RedisCluster|false|int | ||
1075 | { | ||
1076 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zremrangebyrank(...\func_get_args()); | ||
1077 | } | ||
1078 | |||
1079 | public function zremrangebyscore($key, $min, $max): \RedisCluster|false|int | ||
1080 | { | ||
1081 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zremrangebyscore(...\func_get_args()); | ||
1082 | } | ||
1083 | |||
1084 | public function zrevrange($key, $min, $max, $options = null): \RedisCluster|array|bool | ||
1085 | { | ||
1086 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrevrange(...\func_get_args()); | ||
1087 | } | ||
1088 | |||
1089 | public function zrevrangebylex($key, $min, $max, $options = null): \RedisCluster|array|bool | ||
1090 | { | ||
1091 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrevrangebylex(...\func_get_args()); | ||
1092 | } | ||
1093 | |||
1094 | public function zrevrangebyscore($key, $min, $max, $options = null): \RedisCluster|array|bool | ||
1095 | { | ||
1096 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrevrangebyscore(...\func_get_args()); | ||
1097 | } | ||
1098 | |||
1099 | public function zrevrank($key, $member): \RedisCluster|false|int | ||
1100 | { | ||
1101 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrevrank(...\func_get_args()); | ||
1102 | } | ||
1103 | |||
1104 | public function zscan($key, &$iterator, $pattern = null, $count = 0): \RedisCluster|array|bool | ||
1105 | { | ||
1106 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zscan($key, $iterator, ...\array_slice(\func_get_args(), 2)); | ||
1107 | } | ||
1108 | |||
1109 | public function zscore($key, $member): \RedisCluster|false|float | ||
1110 | { | ||
1111 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zscore(...\func_get_args()); | ||
1112 | } | ||
1113 | |||
1114 | public function zmscore($key, $member, ...$other_members): \Redis|array|false | ||
1115 | { | ||
1116 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zmscore(...\func_get_args()); | ||
1117 | } | ||
1118 | |||
1119 | public function zunionstore($dst, $keys, $weights = null, $aggregate = null): \RedisCluster|false|int | ||
1120 | { | ||
1121 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zunionstore(...\func_get_args()); | ||
1122 | } | ||
1123 | |||
1124 | public function zinter($keys, $weights = null, $options = null): \RedisCluster|array|false | ||
1125 | { | ||
1126 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zinter(...\func_get_args()); | ||
1127 | } | ||
1128 | |||
1129 | public function zdiffstore($dst, $keys): \RedisCluster|false|int | ||
1130 | { | ||
1131 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zdiffstore(...\func_get_args()); | ||
1132 | } | ||
1133 | |||
1134 | public function zunion($keys, $weights = null, $options = null): \RedisCluster|array|false | ||
1135 | { | ||
1136 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zunion(...\func_get_args()); | ||
1137 | } | ||
1138 | |||
1139 | public function zdiff($keys, $options = null): \RedisCluster|array|false | ||
1140 | { | ||
1141 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zdiff(...\func_get_args()); | ||
1142 | } | ||
1143 | } | ||