|
137 | 137 | * @method void subscribe(array $channels, string|array $callback)
|
138 | 138 | * @method array geoRadius(string $key, float $longitude, float $latitude, float $radius, string $radiusUnit, array $options)
|
139 | 139 | * @method bool expireAt(string $key, int $timestamp)
|
| 140 | + * @method integer xAck(string $stream_key, string $group, array $id_list) |
| 141 | + * @method string xAdd(string $stream_key, string $id, array $message, int $max_len, bool $approximate) |
| 142 | + * @method string xClaim(string $stream_key, string $group, string $consumer, string $min_idle_time, array $id_list, array $options) |
| 143 | + * @method string xDel(string $stream_key, array $id_list) |
| 144 | + * @method string xGroup() @TODO |
| 145 | + * @method string xInfo() @TODO |
| 146 | + * @method integer xLen(string $stream_key) |
| 147 | + * @method array xPending(string $stream_key, string $group, string $start, string $end, int $count, string $consumer) |
| 148 | + * @method array xRange(string $stream_key, string $start, string $end, int $count) |
| 149 | + * @method array xRevRange(string $stream_key, string $end, string $start, int $count) |
| 150 | + * @method array xRead(array|string $stream_keys, int $count, int $block) |
| 151 | + * @method array xReadGroup(string $group, string consumer, array|string $stream_keys, int $count, int $block) |
| 152 | + * @method integer xTrim(string $stream_key, int $max_len, bool $approximate) |
140 | 153 | */
|
141 | 154 | abstract class Connection extends AbstractConnection implements ConnectionInterface
|
142 | 155 | {
|
@@ -272,7 +285,20 @@ abstract class Connection extends AbstractConnection implements ConnectionInterf
|
272 | 285 | 'punsubscribe',
|
273 | 286 | 'subscribe',
|
274 | 287 | 'unsubscribe',
|
275 |
| - 'expireat' |
| 288 | + 'expireat', |
| 289 | + 'xack', |
| 290 | + 'xadd', |
| 291 | + 'xclaim', |
| 292 | + 'xdel', |
| 293 | + 'xgroup', |
| 294 | + 'xinfo', |
| 295 | + 'xlen', |
| 296 | + 'xpending', |
| 297 | + 'xrange', |
| 298 | + 'xread', |
| 299 | + 'xreadgroup', |
| 300 | + 'xrevrange', |
| 301 | + 'xtrim', |
276 | 302 | ];
|
277 | 303 |
|
278 | 304 | /**
|
|
0 commit comments