RedisCluster5Proxy.php 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\Cache\Traits;
  11. use Symfony\Component\VarExporter\LazyObjectInterface;
  12. use Symfony\Contracts\Service\ResetInterface;
  13. // Help opcache.preload discover always-needed symbols
  14. class_exists(\Symfony\Component\VarExporter\Internal\Hydrator::class);
  15. class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectRegistry::class);
  16. class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectState::class);
  17. /**
  18. * @internal
  19. */
  20. class RedisCluster5Proxy extends \RedisCluster implements ResetInterface, LazyObjectInterface
  21. {
  22. use RedisProxyTrait {
  23. resetLazyObject as reset;
  24. }
  25. public function __construct($name, $seeds = null, $timeout = null, $read_timeout = null, $persistent = null, #[\SensitiveParameter] $auth = null)
  26. {
  27. $this->initializeLazyObject()->__construct(...\func_get_args());
  28. }
  29. public function _masters()
  30. {
  31. return $this->initializeLazyObject()->_masters(...\func_get_args());
  32. }
  33. public function _prefix($key)
  34. {
  35. return $this->initializeLazyObject()->_prefix(...\func_get_args());
  36. }
  37. public function _redir()
  38. {
  39. return $this->initializeLazyObject()->_redir(...\func_get_args());
  40. }
  41. public function _serialize($value)
  42. {
  43. return $this->initializeLazyObject()->_serialize(...\func_get_args());
  44. }
  45. public function _unserialize($value)
  46. {
  47. return $this->initializeLazyObject()->_unserialize(...\func_get_args());
  48. }
  49. public function _compress($value)
  50. {
  51. return $this->initializeLazyObject()->_compress(...\func_get_args());
  52. }
  53. public function _uncompress($value)
  54. {
  55. return $this->initializeLazyObject()->_uncompress(...\func_get_args());
  56. }
  57. public function _pack($value)
  58. {
  59. return $this->initializeLazyObject()->_pack(...\func_get_args());
  60. }
  61. public function _unpack($value)
  62. {
  63. return $this->initializeLazyObject()->_unpack(...\func_get_args());
  64. }
  65. public function acl($key_or_address, $subcmd, ...$args)
  66. {
  67. return $this->initializeLazyObject()->acl(...\func_get_args());
  68. }
  69. public function append($key, $value)
  70. {
  71. return $this->initializeLazyObject()->append(...\func_get_args());
  72. }
  73. public function bgrewriteaof($key_or_address)
  74. {
  75. return $this->initializeLazyObject()->bgrewriteaof(...\func_get_args());
  76. }
  77. public function bgsave($key_or_address)
  78. {
  79. return $this->initializeLazyObject()->bgsave(...\func_get_args());
  80. }
  81. public function bitcount($key)
  82. {
  83. return $this->initializeLazyObject()->bitcount(...\func_get_args());
  84. }
  85. public function bitop($operation, $ret_key, $key, ...$other_keys)
  86. {
  87. return $this->initializeLazyObject()->bitop(...\func_get_args());
  88. }
  89. public function bitpos($key, $bit, $start = null, $end = null)
  90. {
  91. return $this->initializeLazyObject()->bitpos(...\func_get_args());
  92. }
  93. public function blpop($key, $timeout_or_key, ...$extra_args)
  94. {
  95. return $this->initializeLazyObject()->blpop(...\func_get_args());
  96. }
  97. public function brpop($key, $timeout_or_key, ...$extra_args)
  98. {
  99. return $this->initializeLazyObject()->brpop(...\func_get_args());
  100. }
  101. public function brpoplpush($src, $dst, $timeout)
  102. {
  103. return $this->initializeLazyObject()->brpoplpush(...\func_get_args());
  104. }
  105. public function clearlasterror()
  106. {
  107. return $this->initializeLazyObject()->clearlasterror(...\func_get_args());
  108. }
  109. public function bzpopmax($key, $timeout_or_key, ...$extra_args)
  110. {
  111. return $this->initializeLazyObject()->bzpopmax(...\func_get_args());
  112. }
  113. public function bzpopmin($key, $timeout_or_key, ...$extra_args)
  114. {
  115. return $this->initializeLazyObject()->bzpopmin(...\func_get_args());
  116. }
  117. public function client($key_or_address, $arg = null, ...$other_args)
  118. {
  119. return $this->initializeLazyObject()->client(...\func_get_args());
  120. }
  121. public function close()
  122. {
  123. return $this->initializeLazyObject()->close(...\func_get_args());
  124. }
  125. public function cluster($key_or_address, $arg = null, ...$other_args)
  126. {
  127. return $this->initializeLazyObject()->cluster(...\func_get_args());
  128. }
  129. public function command(...$args)
  130. {
  131. return $this->initializeLazyObject()->command(...\func_get_args());
  132. }
  133. public function config($key_or_address, $arg = null, ...$other_args)
  134. {
  135. return $this->initializeLazyObject()->config(...\func_get_args());
  136. }
  137. public function dbsize($key_or_address)
  138. {
  139. return $this->initializeLazyObject()->dbsize(...\func_get_args());
  140. }
  141. public function decr($key)
  142. {
  143. return $this->initializeLazyObject()->decr(...\func_get_args());
  144. }
  145. public function decrby($key, $value)
  146. {
  147. return $this->initializeLazyObject()->decrby(...\func_get_args());
  148. }
  149. public function del($key, ...$other_keys)
  150. {
  151. return $this->initializeLazyObject()->del(...\func_get_args());
  152. }
  153. public function discard()
  154. {
  155. return $this->initializeLazyObject()->discard(...\func_get_args());
  156. }
  157. public function dump($key)
  158. {
  159. return $this->initializeLazyObject()->dump(...\func_get_args());
  160. }
  161. public function echo($msg)
  162. {
  163. return $this->initializeLazyObject()->echo(...\func_get_args());
  164. }
  165. public function eval($script, $args = null, $num_keys = null)
  166. {
  167. return $this->initializeLazyObject()->eval(...\func_get_args());
  168. }
  169. public function evalsha($script_sha, $args = null, $num_keys = null)
  170. {
  171. return $this->initializeLazyObject()->evalsha(...\func_get_args());
  172. }
  173. public function exec()
  174. {
  175. return $this->initializeLazyObject()->exec(...\func_get_args());
  176. }
  177. public function exists($key)
  178. {
  179. return $this->initializeLazyObject()->exists(...\func_get_args());
  180. }
  181. public function expire($key, $timeout)
  182. {
  183. return $this->initializeLazyObject()->expire(...\func_get_args());
  184. }
  185. public function expireat($key, $timestamp)
  186. {
  187. return $this->initializeLazyObject()->expireat(...\func_get_args());
  188. }
  189. public function flushall($key_or_address, $async = null)
  190. {
  191. return $this->initializeLazyObject()->flushall(...\func_get_args());
  192. }
  193. public function flushdb($key_or_address, $async = null)
  194. {
  195. return $this->initializeLazyObject()->flushdb(...\func_get_args());
  196. }
  197. public function geoadd($key, $lng, $lat, $member, ...$other_triples)
  198. {
  199. return $this->initializeLazyObject()->geoadd(...\func_get_args());
  200. }
  201. public function geodist($key, $src, $dst, $unit = null)
  202. {
  203. return $this->initializeLazyObject()->geodist(...\func_get_args());
  204. }
  205. public function geohash($key, $member, ...$other_members)
  206. {
  207. return $this->initializeLazyObject()->geohash(...\func_get_args());
  208. }
  209. public function geopos($key, $member, ...$other_members)
  210. {
  211. return $this->initializeLazyObject()->geopos(...\func_get_args());
  212. }
  213. public function georadius($key, $lng, $lan, $radius, $unit, $opts = null)
  214. {
  215. return $this->initializeLazyObject()->georadius(...\func_get_args());
  216. }
  217. public function georadius_ro($key, $lng, $lan, $radius, $unit, $opts = null)
  218. {
  219. return $this->initializeLazyObject()->georadius_ro(...\func_get_args());
  220. }
  221. public function georadiusbymember($key, $member, $radius, $unit, $opts = null)
  222. {
  223. return $this->initializeLazyObject()->georadiusbymember(...\func_get_args());
  224. }
  225. public function georadiusbymember_ro($key, $member, $radius, $unit, $opts = null)
  226. {
  227. return $this->initializeLazyObject()->georadiusbymember_ro(...\func_get_args());
  228. }
  229. public function get($key)
  230. {
  231. return $this->initializeLazyObject()->get(...\func_get_args());
  232. }
  233. public function getbit($key, $offset)
  234. {
  235. return $this->initializeLazyObject()->getbit(...\func_get_args());
  236. }
  237. public function getlasterror()
  238. {
  239. return $this->initializeLazyObject()->getlasterror(...\func_get_args());
  240. }
  241. public function getmode()
  242. {
  243. return $this->initializeLazyObject()->getmode(...\func_get_args());
  244. }
  245. public function getoption($option)
  246. {
  247. return $this->initializeLazyObject()->getoption(...\func_get_args());
  248. }
  249. public function getrange($key, $start, $end)
  250. {
  251. return $this->initializeLazyObject()->getrange(...\func_get_args());
  252. }
  253. public function getset($key, $value)
  254. {
  255. return $this->initializeLazyObject()->getset(...\func_get_args());
  256. }
  257. public function hdel($key, $member, ...$other_members)
  258. {
  259. return $this->initializeLazyObject()->hdel(...\func_get_args());
  260. }
  261. public function hexists($key, $member)
  262. {
  263. return $this->initializeLazyObject()->hexists(...\func_get_args());
  264. }
  265. public function hget($key, $member)
  266. {
  267. return $this->initializeLazyObject()->hget(...\func_get_args());
  268. }
  269. public function hgetall($key)
  270. {
  271. return $this->initializeLazyObject()->hgetall(...\func_get_args());
  272. }
  273. public function hincrby($key, $member, $value)
  274. {
  275. return $this->initializeLazyObject()->hincrby(...\func_get_args());
  276. }
  277. public function hincrbyfloat($key, $member, $value)
  278. {
  279. return $this->initializeLazyObject()->hincrbyfloat(...\func_get_args());
  280. }
  281. public function hkeys($key)
  282. {
  283. return $this->initializeLazyObject()->hkeys(...\func_get_args());
  284. }
  285. public function hlen($key)
  286. {
  287. return $this->initializeLazyObject()->hlen(...\func_get_args());
  288. }
  289. public function hmget($key, $keys)
  290. {
  291. return $this->initializeLazyObject()->hmget(...\func_get_args());
  292. }
  293. public function hmset($key, $pairs)
  294. {
  295. return $this->initializeLazyObject()->hmset(...\func_get_args());
  296. }
  297. public function hscan($str_key, &$i_iterator, $str_pattern = null, $i_count = null)
  298. {
  299. return $this->initializeLazyObject()->hscan($str_key, $i_iterator, ...\array_slice(\func_get_args(), 2));
  300. }
  301. public function hset($key, $member, $value)
  302. {
  303. return $this->initializeLazyObject()->hset(...\func_get_args());
  304. }
  305. public function hsetnx($key, $member, $value)
  306. {
  307. return $this->initializeLazyObject()->hsetnx(...\func_get_args());
  308. }
  309. public function hstrlen($key, $member)
  310. {
  311. return $this->initializeLazyObject()->hstrlen(...\func_get_args());
  312. }
  313. public function hvals($key)
  314. {
  315. return $this->initializeLazyObject()->hvals(...\func_get_args());
  316. }
  317. public function incr($key)
  318. {
  319. return $this->initializeLazyObject()->incr(...\func_get_args());
  320. }
  321. public function incrby($key, $value)
  322. {
  323. return $this->initializeLazyObject()->incrby(...\func_get_args());
  324. }
  325. public function incrbyfloat($key, $value)
  326. {
  327. return $this->initializeLazyObject()->incrbyfloat(...\func_get_args());
  328. }
  329. public function info($key_or_address, $option = null)
  330. {
  331. return $this->initializeLazyObject()->info(...\func_get_args());
  332. }
  333. public function keys($pattern)
  334. {
  335. return $this->initializeLazyObject()->keys(...\func_get_args());
  336. }
  337. public function lastsave($key_or_address)
  338. {
  339. return $this->initializeLazyObject()->lastsave(...\func_get_args());
  340. }
  341. public function lget($key, $index)
  342. {
  343. return $this->initializeLazyObject()->lget(...\func_get_args());
  344. }
  345. public function lindex($key, $index)
  346. {
  347. return $this->initializeLazyObject()->lindex(...\func_get_args());
  348. }
  349. public function linsert($key, $position, $pivot, $value)
  350. {
  351. return $this->initializeLazyObject()->linsert(...\func_get_args());
  352. }
  353. public function llen($key)
  354. {
  355. return $this->initializeLazyObject()->llen(...\func_get_args());
  356. }
  357. public function lpop($key)
  358. {
  359. return $this->initializeLazyObject()->lpop(...\func_get_args());
  360. }
  361. public function lpush($key, $value)
  362. {
  363. return $this->initializeLazyObject()->lpush(...\func_get_args());
  364. }
  365. public function lpushx($key, $value)
  366. {
  367. return $this->initializeLazyObject()->lpushx(...\func_get_args());
  368. }
  369. public function lrange($key, $start, $end)
  370. {
  371. return $this->initializeLazyObject()->lrange(...\func_get_args());
  372. }
  373. public function lrem($key, $value)
  374. {
  375. return $this->initializeLazyObject()->lrem(...\func_get_args());
  376. }
  377. public function lset($key, $index, $value)
  378. {
  379. return $this->initializeLazyObject()->lset(...\func_get_args());
  380. }
  381. public function ltrim($key, $start, $stop)
  382. {
  383. return $this->initializeLazyObject()->ltrim(...\func_get_args());
  384. }
  385. public function mget($keys)
  386. {
  387. return $this->initializeLazyObject()->mget(...\func_get_args());
  388. }
  389. public function mset($pairs)
  390. {
  391. return $this->initializeLazyObject()->mset(...\func_get_args());
  392. }
  393. public function msetnx($pairs)
  394. {
  395. return $this->initializeLazyObject()->msetnx(...\func_get_args());
  396. }
  397. public function multi()
  398. {
  399. return $this->initializeLazyObject()->multi(...\func_get_args());
  400. }
  401. public function object($field, $key)
  402. {
  403. return $this->initializeLazyObject()->object(...\func_get_args());
  404. }
  405. public function persist($key)
  406. {
  407. return $this->initializeLazyObject()->persist(...\func_get_args());
  408. }
  409. public function pexpire($key, $timestamp)
  410. {
  411. return $this->initializeLazyObject()->pexpire(...\func_get_args());
  412. }
  413. public function pexpireat($key, $timestamp)
  414. {
  415. return $this->initializeLazyObject()->pexpireat(...\func_get_args());
  416. }
  417. public function pfadd($key, $elements)
  418. {
  419. return $this->initializeLazyObject()->pfadd(...\func_get_args());
  420. }
  421. public function pfcount($key)
  422. {
  423. return $this->initializeLazyObject()->pfcount(...\func_get_args());
  424. }
  425. public function pfmerge($dstkey, $keys)
  426. {
  427. return $this->initializeLazyObject()->pfmerge(...\func_get_args());
  428. }
  429. public function ping($key_or_address)
  430. {
  431. return $this->initializeLazyObject()->ping(...\func_get_args());
  432. }
  433. public function psetex($key, $expire, $value)
  434. {
  435. return $this->initializeLazyObject()->psetex(...\func_get_args());
  436. }
  437. public function psubscribe($patterns, $callback)
  438. {
  439. return $this->initializeLazyObject()->psubscribe(...\func_get_args());
  440. }
  441. public function pttl($key)
  442. {
  443. return $this->initializeLazyObject()->pttl(...\func_get_args());
  444. }
  445. public function publish($channel, $message)
  446. {
  447. return $this->initializeLazyObject()->publish(...\func_get_args());
  448. }
  449. public function pubsub($key_or_address, $arg = null, ...$other_args)
  450. {
  451. return $this->initializeLazyObject()->pubsub(...\func_get_args());
  452. }
  453. public function punsubscribe($pattern, ...$other_patterns)
  454. {
  455. return $this->initializeLazyObject()->punsubscribe(...\func_get_args());
  456. }
  457. public function randomkey($key_or_address)
  458. {
  459. return $this->initializeLazyObject()->randomkey(...\func_get_args());
  460. }
  461. public function rawcommand($cmd, ...$args)
  462. {
  463. return $this->initializeLazyObject()->rawcommand(...\func_get_args());
  464. }
  465. public function rename($key, $newkey)
  466. {
  467. return $this->initializeLazyObject()->rename(...\func_get_args());
  468. }
  469. public function renamenx($key, $newkey)
  470. {
  471. return $this->initializeLazyObject()->renamenx(...\func_get_args());
  472. }
  473. public function restore($ttl, $key, $value)
  474. {
  475. return $this->initializeLazyObject()->restore(...\func_get_args());
  476. }
  477. public function role()
  478. {
  479. return $this->initializeLazyObject()->role(...\func_get_args());
  480. }
  481. public function rpop($key)
  482. {
  483. return $this->initializeLazyObject()->rpop(...\func_get_args());
  484. }
  485. public function rpoplpush($src, $dst)
  486. {
  487. return $this->initializeLazyObject()->rpoplpush(...\func_get_args());
  488. }
  489. public function rpush($key, $value)
  490. {
  491. return $this->initializeLazyObject()->rpush(...\func_get_args());
  492. }
  493. public function rpushx($key, $value)
  494. {
  495. return $this->initializeLazyObject()->rpushx(...\func_get_args());
  496. }
  497. public function sadd($key, $value)
  498. {
  499. return $this->initializeLazyObject()->sadd(...\func_get_args());
  500. }
  501. public function saddarray($key, $options)
  502. {
  503. return $this->initializeLazyObject()->saddarray(...\func_get_args());
  504. }
  505. public function save($key_or_address)
  506. {
  507. return $this->initializeLazyObject()->save(...\func_get_args());
  508. }
  509. public function scan(&$i_iterator, $str_node, $str_pattern = null, $i_count = null)
  510. {
  511. return $this->initializeLazyObject()->scan($i_iterator, ...\array_slice(\func_get_args(), 1));
  512. }
  513. public function scard($key)
  514. {
  515. return $this->initializeLazyObject()->scard(...\func_get_args());
  516. }
  517. public function script($key_or_address, $arg = null, ...$other_args)
  518. {
  519. return $this->initializeLazyObject()->script(...\func_get_args());
  520. }
  521. public function sdiff($key, ...$other_keys)
  522. {
  523. return $this->initializeLazyObject()->sdiff(...\func_get_args());
  524. }
  525. public function sdiffstore($dst, $key, ...$other_keys)
  526. {
  527. return $this->initializeLazyObject()->sdiffstore(...\func_get_args());
  528. }
  529. public function set($key, $value, $opts = null)
  530. {
  531. return $this->initializeLazyObject()->set(...\func_get_args());
  532. }
  533. public function setbit($key, $offset, $value)
  534. {
  535. return $this->initializeLazyObject()->setbit(...\func_get_args());
  536. }
  537. public function setex($key, $expire, $value)
  538. {
  539. return $this->initializeLazyObject()->setex(...\func_get_args());
  540. }
  541. public function setnx($key, $value)
  542. {
  543. return $this->initializeLazyObject()->setnx(...\func_get_args());
  544. }
  545. public function setoption($option, $value)
  546. {
  547. return $this->initializeLazyObject()->setoption(...\func_get_args());
  548. }
  549. public function setrange($key, $offset, $value)
  550. {
  551. return $this->initializeLazyObject()->setrange(...\func_get_args());
  552. }
  553. public function sinter($key, ...$other_keys)
  554. {
  555. return $this->initializeLazyObject()->sinter(...\func_get_args());
  556. }
  557. public function sinterstore($dst, $key, ...$other_keys)
  558. {
  559. return $this->initializeLazyObject()->sinterstore(...\func_get_args());
  560. }
  561. public function sismember($key, $value)
  562. {
  563. return $this->initializeLazyObject()->sismember(...\func_get_args());
  564. }
  565. public function slowlog($key_or_address, $arg = null, ...$other_args)
  566. {
  567. return $this->initializeLazyObject()->slowlog(...\func_get_args());
  568. }
  569. public function smembers($key)
  570. {
  571. return $this->initializeLazyObject()->smembers(...\func_get_args());
  572. }
  573. public function smove($src, $dst, $value)
  574. {
  575. return $this->initializeLazyObject()->smove(...\func_get_args());
  576. }
  577. public function sort($key, $options = null)
  578. {
  579. return $this->initializeLazyObject()->sort(...\func_get_args());
  580. }
  581. public function spop($key)
  582. {
  583. return $this->initializeLazyObject()->spop(...\func_get_args());
  584. }
  585. public function srandmember($key, $count = null)
  586. {
  587. return $this->initializeLazyObject()->srandmember(...\func_get_args());
  588. }
  589. public function srem($key, $value)
  590. {
  591. return $this->initializeLazyObject()->srem(...\func_get_args());
  592. }
  593. public function sscan($str_key, &$i_iterator, $str_pattern = null, $i_count = null)
  594. {
  595. return $this->initializeLazyObject()->sscan($str_key, $i_iterator, ...\array_slice(\func_get_args(), 2));
  596. }
  597. public function strlen($key)
  598. {
  599. return $this->initializeLazyObject()->strlen(...\func_get_args());
  600. }
  601. public function subscribe($channels, $callback)
  602. {
  603. return $this->initializeLazyObject()->subscribe(...\func_get_args());
  604. }
  605. public function sunion($key, ...$other_keys)
  606. {
  607. return $this->initializeLazyObject()->sunion(...\func_get_args());
  608. }
  609. public function sunionstore($dst, $key, ...$other_keys)
  610. {
  611. return $this->initializeLazyObject()->sunionstore(...\func_get_args());
  612. }
  613. public function time()
  614. {
  615. return $this->initializeLazyObject()->time(...\func_get_args());
  616. }
  617. public function ttl($key)
  618. {
  619. return $this->initializeLazyObject()->ttl(...\func_get_args());
  620. }
  621. public function type($key)
  622. {
  623. return $this->initializeLazyObject()->type(...\func_get_args());
  624. }
  625. public function unsubscribe($channel, ...$other_channels)
  626. {
  627. return $this->initializeLazyObject()->unsubscribe(...\func_get_args());
  628. }
  629. public function unlink($key, ...$other_keys)
  630. {
  631. return $this->initializeLazyObject()->unlink(...\func_get_args());
  632. }
  633. public function unwatch()
  634. {
  635. return $this->initializeLazyObject()->unwatch(...\func_get_args());
  636. }
  637. public function watch($key, ...$other_keys)
  638. {
  639. return $this->initializeLazyObject()->watch(...\func_get_args());
  640. }
  641. public function xack($str_key, $str_group, $arr_ids)
  642. {
  643. return $this->initializeLazyObject()->xack(...\func_get_args());
  644. }
  645. public function xadd($str_key, $str_id, $arr_fields, $i_maxlen = null, $boo_approximate = null)
  646. {
  647. return $this->initializeLazyObject()->xadd(...\func_get_args());
  648. }
  649. public function xclaim($str_key, $str_group, $str_consumer, $i_min_idle, $arr_ids, $arr_opts = null)
  650. {
  651. return $this->initializeLazyObject()->xclaim(...\func_get_args());
  652. }
  653. public function xdel($str_key, $arr_ids)
  654. {
  655. return $this->initializeLazyObject()->xdel(...\func_get_args());
  656. }
  657. public function xgroup($str_operation, $str_key = null, $str_arg1 = null, $str_arg2 = null, $str_arg3 = null)
  658. {
  659. return $this->initializeLazyObject()->xgroup(...\func_get_args());
  660. }
  661. public function xinfo($str_cmd, $str_key = null, $str_group = null)
  662. {
  663. return $this->initializeLazyObject()->xinfo(...\func_get_args());
  664. }
  665. public function xlen($key)
  666. {
  667. return $this->initializeLazyObject()->xlen(...\func_get_args());
  668. }
  669. public function xpending($str_key, $str_group, $str_start = null, $str_end = null, $i_count = null, $str_consumer = null)
  670. {
  671. return $this->initializeLazyObject()->xpending(...\func_get_args());
  672. }
  673. public function xrange($str_key, $str_start, $str_end, $i_count = null)
  674. {
  675. return $this->initializeLazyObject()->xrange(...\func_get_args());
  676. }
  677. public function xread($arr_streams, $i_count = null, $i_block = null)
  678. {
  679. return $this->initializeLazyObject()->xread(...\func_get_args());
  680. }
  681. public function xreadgroup($str_group, $str_consumer, $arr_streams, $i_count = null, $i_block = null)
  682. {
  683. return $this->initializeLazyObject()->xreadgroup(...\func_get_args());
  684. }
  685. public function xrevrange($str_key, $str_start, $str_end, $i_count = null)
  686. {
  687. return $this->initializeLazyObject()->xrevrange(...\func_get_args());
  688. }
  689. public function xtrim($str_key, $i_maxlen, $boo_approximate = null)
  690. {
  691. return $this->initializeLazyObject()->xtrim(...\func_get_args());
  692. }
  693. public function zadd($key, $score, $value, ...$extra_args)
  694. {
  695. return $this->initializeLazyObject()->zadd(...\func_get_args());
  696. }
  697. public function zcard($key)
  698. {
  699. return $this->initializeLazyObject()->zcard(...\func_get_args());
  700. }
  701. public function zcount($key, $min, $max)
  702. {
  703. return $this->initializeLazyObject()->zcount(...\func_get_args());
  704. }
  705. public function zincrby($key, $value, $member)
  706. {
  707. return $this->initializeLazyObject()->zincrby(...\func_get_args());
  708. }
  709. public function zinterstore($key, $keys, $weights = null, $aggregate = null)
  710. {
  711. return $this->initializeLazyObject()->zinterstore(...\func_get_args());
  712. }
  713. public function zlexcount($key, $min, $max)
  714. {
  715. return $this->initializeLazyObject()->zlexcount(...\func_get_args());
  716. }
  717. public function zpopmax($key)
  718. {
  719. return $this->initializeLazyObject()->zpopmax(...\func_get_args());
  720. }
  721. public function zpopmin($key)
  722. {
  723. return $this->initializeLazyObject()->zpopmin(...\func_get_args());
  724. }
  725. public function zrange($key, $start, $end, $scores = null)
  726. {
  727. return $this->initializeLazyObject()->zrange(...\func_get_args());
  728. }
  729. public function zrangebylex($key, $min, $max, $offset = null, $limit = null)
  730. {
  731. return $this->initializeLazyObject()->zrangebylex(...\func_get_args());
  732. }
  733. public function zrangebyscore($key, $start, $end, $options = null)
  734. {
  735. return $this->initializeLazyObject()->zrangebyscore(...\func_get_args());
  736. }
  737. public function zrank($key, $member)
  738. {
  739. return $this->initializeLazyObject()->zrank(...\func_get_args());
  740. }
  741. public function zrem($key, $member, ...$other_members)
  742. {
  743. return $this->initializeLazyObject()->zrem(...\func_get_args());
  744. }
  745. public function zremrangebylex($key, $min, $max)
  746. {
  747. return $this->initializeLazyObject()->zremrangebylex(...\func_get_args());
  748. }
  749. public function zremrangebyrank($key, $min, $max)
  750. {
  751. return $this->initializeLazyObject()->zremrangebyrank(...\func_get_args());
  752. }
  753. public function zremrangebyscore($key, $min, $max)
  754. {
  755. return $this->initializeLazyObject()->zremrangebyscore(...\func_get_args());
  756. }
  757. public function zrevrange($key, $start, $end, $scores = null)
  758. {
  759. return $this->initializeLazyObject()->zrevrange(...\func_get_args());
  760. }
  761. public function zrevrangebylex($key, $min, $max, $offset = null, $limit = null)
  762. {
  763. return $this->initializeLazyObject()->zrevrangebylex(...\func_get_args());
  764. }
  765. public function zrevrangebyscore($key, $start, $end, $options = null)
  766. {
  767. return $this->initializeLazyObject()->zrevrangebyscore(...\func_get_args());
  768. }
  769. public function zrevrank($key, $member)
  770. {
  771. return $this->initializeLazyObject()->zrevrank(...\func_get_args());
  772. }
  773. public function zscan($str_key, &$i_iterator, $str_pattern = null, $i_count = null)
  774. {
  775. return $this->initializeLazyObject()->zscan($str_key, $i_iterator, ...\array_slice(\func_get_args(), 2));
  776. }
  777. public function zscore($key, $member)
  778. {
  779. return $this->initializeLazyObject()->zscore(...\func_get_args());
  780. }
  781. public function zunionstore($key, $keys, $weights = null, $aggregate = null)
  782. {
  783. return $this->initializeLazyObject()->zunionstore(...\func_get_args());
  784. }
  785. }