/*
* Copyright 2018 Red Hat, Inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* The Apache License v2.0 is available at
* http://www.opensource.org/licenses/apache2.0.php
*
* You may elect to redistribute this code under either of these licenses.
*/
package io.vertx.redis.client;
import io.vertx.codegen.annotations.Fluent;
import io.vertx.codegen.annotations.GenIgnore;
import io.vertx.codegen.annotations.Nullable;
import io.vertx.codegen.annotations.VertxGen;
import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
import io.vertx.core.Handler;
import io.vertx.redis.client.impl.RedisAPIImpl;
import java.util.List;
import static io.vertx.codegen.annotations.GenIgnore.PERMITTED_TYPE;
Auto generated Redis API client wrapper.
/**
* <b>Auto generated</b> Redis API client wrapper.
*/
@VertxGen
public interface RedisAPI {
@GenIgnore(PERMITTED_TYPE)
static RedisAPI api(Redis client) {
return new RedisAPIImpl(client);
}
@GenIgnore(PERMITTED_TYPE)
static RedisAPI api(RedisConnection connection) {
return new RedisAPIImpl(connection);
}
void close();
Redis command acl.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/acl">acl</a>.
* @return fluent self
*/
@Fluent
default RedisAPI acl(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ACL, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command acl.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/acl">acl</a>.
* @return Future response.
*/
default Future<@Nullable Response> acl(List<String> args) {
return send(Command.ACL, args.toArray(new String[0]));
}
Redis command append.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/append">append</a>.
* @return fluent self
*/
@Fluent
default RedisAPI append(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.APPEND, arg0, arg1).onComplete(handler);
return this;
}
Redis command append.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/append">append</a>.
* @return Future response.
*/
default Future<@Nullable Response> append(String arg0, String arg1) {
return send(Command.APPEND, arg0, arg1);
}
Redis command asking.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/asking">asking</a>.
* @return fluent self
*/
@Fluent
default RedisAPI asking(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ASKING).onComplete(handler);
return this;
}
Redis command asking.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/asking">asking</a>.
* @return Future response.
*/
default Future<@Nullable Response> asking() {
return send(Command.ASKING);
}
Redis command auth.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/auth">auth</a>.
* @return fluent self
*/
@Fluent
default RedisAPI auth(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.AUTH, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command auth.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/auth">auth</a>.
* @return Future response.
*/
default Future<@Nullable Response> auth(List<String> args) {
return send(Command.AUTH, args.toArray(new String[0]));
}
Redis command bgrewriteaof.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/bgrewriteaof">bgrewriteaof</a>.
* @return fluent self
*/
@Fluent
default RedisAPI bgrewriteaof(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.BGREWRITEAOF).onComplete(handler);
return this;
}
Redis command bgrewriteaof.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/bgrewriteaof">bgrewriteaof</a>.
* @return Future response.
*/
default Future<@Nullable Response> bgrewriteaof() {
return send(Command.BGREWRITEAOF);
}
Redis command bgsave.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/bgsave">bgsave</a>.
* @return fluent self
*/
@Fluent
default RedisAPI bgsave(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.BGSAVE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command bgsave.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/bgsave">bgsave</a>.
* @return Future response.
*/
default Future<@Nullable Response> bgsave(List<String> args) {
return send(Command.BGSAVE, args.toArray(new String[0]));
}
Redis command bitcount.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/bitcount">bitcount</a>.
* @return fluent self
*/
@Fluent
default RedisAPI bitcount(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.BITCOUNT, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command bitcount.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/bitcount">bitcount</a>.
* @return Future response.
*/
default Future<@Nullable Response> bitcount(List<String> args) {
return send(Command.BITCOUNT, args.toArray(new String[0]));
}
Redis command bitfield.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/bitfield">bitfield</a>.
* @return fluent self
*/
@Fluent
default RedisAPI bitfield(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.BITFIELD, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command bitfield.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/bitfield">bitfield</a>.
* @return Future response.
*/
default Future<@Nullable Response> bitfield(List<String> args) {
return send(Command.BITFIELD, args.toArray(new String[0]));
}
Redis command bitfieldRo.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/bitfield_ro">bitfieldRo</a>.
* @return fluent self
*/
@Fluent
default RedisAPI bitfieldRo(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.BITFIELD_RO, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command bitfieldRo.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/bitfield_ro">bitfieldRo</a>.
* @return Future response.
*/
default Future<@Nullable Response> bitfieldRo(List<String> args) {
return send(Command.BITFIELD_RO, args.toArray(new String[0]));
}
Redis command bitop.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/bitop">bitop</a>.
* @return fluent self
*/
@Fluent
default RedisAPI bitop(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.BITOP, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command bitop.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/bitop">bitop</a>.
* @return Future response.
*/
default Future<@Nullable Response> bitop(List<String> args) {
return send(Command.BITOP, args.toArray(new String[0]));
}
Redis command bitpos.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/bitpos">bitpos</a>.
* @return fluent self
*/
@Fluent
default RedisAPI bitpos(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.BITPOS, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command bitpos.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/bitpos">bitpos</a>.
* @return Future response.
*/
default Future<@Nullable Response> bitpos(List<String> args) {
return send(Command.BITPOS, args.toArray(new String[0]));
}
Redis command blpop.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/blpop">blpop</a>.
* @return fluent self
*/
@Fluent
default RedisAPI blpop(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.BLPOP, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command blpop.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/blpop">blpop</a>.
* @return Future response.
*/
default Future<@Nullable Response> blpop(List<String> args) {
return send(Command.BLPOP, args.toArray(new String[0]));
}
Redis command brpop.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/brpop">brpop</a>.
* @return fluent self
*/
@Fluent
default RedisAPI brpop(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.BRPOP, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command brpop.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/brpop">brpop</a>.
* @return Future response.
*/
default Future<@Nullable Response> brpop(List<String> args) {
return send(Command.BRPOP, args.toArray(new String[0]));
}
Redis command brpoplpush.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/brpoplpush">brpoplpush</a>.
* @return fluent self
*/
@Fluent
default RedisAPI brpoplpush(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.BRPOPLPUSH, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command brpoplpush.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/brpoplpush">brpoplpush</a>.
* @return Future response.
*/
default Future<@Nullable Response> brpoplpush(String arg0, String arg1, String arg2) {
return send(Command.BRPOPLPUSH, arg0, arg1, arg2);
}
Redis command bzpopmax.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/bzpopmax">bzpopmax</a>.
* @return fluent self
*/
@Fluent
default RedisAPI bzpopmax(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.BZPOPMAX, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command bzpopmax.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/bzpopmax">bzpopmax</a>.
* @return Future response.
*/
default Future<@Nullable Response> bzpopmax(List<String> args) {
return send(Command.BZPOPMAX, args.toArray(new String[0]));
}
Redis command bzpopmin.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/bzpopmin">bzpopmin</a>.
* @return fluent self
*/
@Fluent
default RedisAPI bzpopmin(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.BZPOPMIN, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command bzpopmin.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/bzpopmin">bzpopmin</a>.
* @return Future response.
*/
default Future<@Nullable Response> bzpopmin(List<String> args) {
return send(Command.BZPOPMIN, args.toArray(new String[0]));
}
Redis command client.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/client">client</a>.
* @return fluent self
*/
@Fluent
default RedisAPI client(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.CLIENT, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command client.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/client">client</a>.
* @return Future response.
*/
default Future<@Nullable Response> client(List<String> args) {
return send(Command.CLIENT, args.toArray(new String[0]));
}
Redis command cluster.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/cluster">cluster</a>.
* @return fluent self
*/
@Fluent
default RedisAPI cluster(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.CLUSTER, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command cluster.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/cluster">cluster</a>.
* @return Future response.
*/
default Future<@Nullable Response> cluster(List<String> args) {
return send(Command.CLUSTER, args.toArray(new String[0]));
}
Redis command command.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/command">command</a>.
* @return fluent self
*/
@Fluent
default RedisAPI command(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.COMMAND, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command command.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/command">command</a>.
* @return Future response.
*/
default Future<@Nullable Response> command(List<String> args) {
return send(Command.COMMAND, args.toArray(new String[0]));
}
Redis command config.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/config">config</a>.
* @return fluent self
*/
@Fluent
default RedisAPI config(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.CONFIG, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command config.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/config">config</a>.
* @return Future response.
*/
default Future<@Nullable Response> config(List<String> args) {
return send(Command.CONFIG, args.toArray(new String[0]));
}
Redis command dbsize.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/dbsize">dbsize</a>.
* @return fluent self
*/
@Fluent
default RedisAPI dbsize(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.DBSIZE).onComplete(handler);
return this;
}
Redis command dbsize.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/dbsize">dbsize</a>.
* @return Future response.
*/
default Future<@Nullable Response> dbsize() {
return send(Command.DBSIZE);
}
Redis command debug.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/debug">debug</a>.
* @return fluent self
*/
@Fluent
default RedisAPI debug(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.DEBUG, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command debug.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/debug">debug</a>.
* @return Future response.
*/
default Future<@Nullable Response> debug(List<String> args) {
return send(Command.DEBUG, args.toArray(new String[0]));
}
Redis command decr.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/decr">decr</a>.
* @return fluent self
*/
@Fluent
default RedisAPI decr(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.DECR, arg0).onComplete(handler);
return this;
}
Redis command decr.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/decr">decr</a>.
* @return Future response.
*/
default Future<@Nullable Response> decr(String arg0) {
return send(Command.DECR, arg0);
}
Redis command decrby.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/decrby">decrby</a>.
* @return fluent self
*/
@Fluent
default RedisAPI decrby(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.DECRBY, arg0, arg1).onComplete(handler);
return this;
}
Redis command decrby.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/decrby">decrby</a>.
* @return Future response.
*/
default Future<@Nullable Response> decrby(String arg0, String arg1) {
return send(Command.DECRBY, arg0, arg1);
}
Redis command del.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/del">del</a>.
* @return fluent self
*/
@Fluent
default RedisAPI del(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.DEL, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command del.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/del">del</a>.
* @return Future response.
*/
default Future<@Nullable Response> del(List<String> args) {
return send(Command.DEL, args.toArray(new String[0]));
}
Redis command discard.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/discard">discard</a>.
* @return fluent self
*/
@Fluent
default RedisAPI discard(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.DISCARD).onComplete(handler);
return this;
}
Redis command discard.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/discard">discard</a>.
* @return Future response.
*/
default Future<@Nullable Response> discard() {
return send(Command.DISCARD);
}
Redis command dump.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/dump">dump</a>.
* @return fluent self
*/
@Fluent
default RedisAPI dump(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.DUMP, arg0).onComplete(handler);
return this;
}
Redis command dump.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/dump">dump</a>.
* @return Future response.
*/
default Future<@Nullable Response> dump(String arg0) {
return send(Command.DUMP, arg0);
}
Redis command echo.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/echo">echo</a>.
* @return fluent self
*/
@Fluent
default RedisAPI echo(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ECHO, arg0).onComplete(handler);
return this;
}
Redis command echo.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/echo">echo</a>.
* @return Future response.
*/
default Future<@Nullable Response> echo(String arg0) {
return send(Command.ECHO, arg0);
}
Redis command eval.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/eval">eval</a>.
* @return fluent self
*/
@Fluent
default RedisAPI eval(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.EVAL, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command eval.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/eval">eval</a>.
* @return Future response.
*/
default Future<@Nullable Response> eval(List<String> args) {
return send(Command.EVAL, args.toArray(new String[0]));
}
Redis command evalsha.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/evalsha">evalsha</a>.
* @return fluent self
*/
@Fluent
default RedisAPI evalsha(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.EVALSHA, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command evalsha.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/evalsha">evalsha</a>.
* @return Future response.
*/
default Future<@Nullable Response> evalsha(List<String> args) {
return send(Command.EVALSHA, args.toArray(new String[0]));
}
Redis command exec.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/exec">exec</a>.
* @return fluent self
*/
@Fluent
default RedisAPI exec(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.EXEC).onComplete(handler);
return this;
}
Redis command exec.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/exec">exec</a>.
* @return Future response.
*/
default Future<@Nullable Response> exec() {
return send(Command.EXEC);
}
Redis command exists.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/exists">exists</a>.
* @return fluent self
*/
@Fluent
default RedisAPI exists(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.EXISTS, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command exists.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/exists">exists</a>.
* @return Future response.
*/
default Future<@Nullable Response> exists(List<String> args) {
return send(Command.EXISTS, args.toArray(new String[0]));
}
Redis command expire.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/expire">expire</a>.
* @return fluent self
*/
@Fluent
default RedisAPI expire(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.EXPIRE, arg0, arg1).onComplete(handler);
return this;
}
Redis command expire.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/expire">expire</a>.
* @return Future response.
*/
default Future<@Nullable Response> expire(String arg0, String arg1) {
return send(Command.EXPIRE, arg0, arg1);
}
Redis command expireat.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/expireat">expireat</a>.
* @return fluent self
*/
@Fluent
default RedisAPI expireat(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.EXPIREAT, arg0, arg1).onComplete(handler);
return this;
}
Redis command expireat.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/expireat">expireat</a>.
* @return Future response.
*/
default Future<@Nullable Response> expireat(String arg0, String arg1) {
return send(Command.EXPIREAT, arg0, arg1);
}
Redis command flushall.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/flushall">flushall</a>.
* @return fluent self
*/
@Fluent
default RedisAPI flushall(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.FLUSHALL, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command flushall.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/flushall">flushall</a>.
* @return Future response.
*/
default Future<@Nullable Response> flushall(List<String> args) {
return send(Command.FLUSHALL, args.toArray(new String[0]));
}
Redis command flushdb.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/flushdb">flushdb</a>.
* @return fluent self
*/
@Fluent
default RedisAPI flushdb(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.FLUSHDB, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command flushdb.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/flushdb">flushdb</a>.
* @return Future response.
*/
default Future<@Nullable Response> flushdb(List<String> args) {
return send(Command.FLUSHDB, args.toArray(new String[0]));
}
Redis command geoadd.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/geoadd">geoadd</a>.
* @return fluent self
*/
@Fluent
default RedisAPI geoadd(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.GEOADD, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command geoadd.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/geoadd">geoadd</a>.
* @return Future response.
*/
default Future<@Nullable Response> geoadd(List<String> args) {
return send(Command.GEOADD, args.toArray(new String[0]));
}
Redis command geodist.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/geodist">geodist</a>.
* @return fluent self
*/
@Fluent
default RedisAPI geodist(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.GEODIST, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command geodist.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/geodist">geodist</a>.
* @return Future response.
*/
default Future<@Nullable Response> geodist(List<String> args) {
return send(Command.GEODIST, args.toArray(new String[0]));
}
Redis command geohash.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/geohash">geohash</a>.
* @return fluent self
*/
@Fluent
default RedisAPI geohash(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.GEOHASH, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command geohash.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/geohash">geohash</a>.
* @return Future response.
*/
default Future<@Nullable Response> geohash(List<String> args) {
return send(Command.GEOHASH, args.toArray(new String[0]));
}
Redis command geopos.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/geopos">geopos</a>.
* @return fluent self
*/
@Fluent
default RedisAPI geopos(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.GEOPOS, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command geopos.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/geopos">geopos</a>.
* @return Future response.
*/
default Future<@Nullable Response> geopos(List<String> args) {
return send(Command.GEOPOS, args.toArray(new String[0]));
}
Redis command georadius.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/georadius">georadius</a>.
* @return fluent self
*/
@Fluent
default RedisAPI georadius(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.GEORADIUS, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command georadius.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/georadius">georadius</a>.
* @return Future response.
*/
default Future<@Nullable Response> georadius(List<String> args) {
return send(Command.GEORADIUS, args.toArray(new String[0]));
}
Redis command georadiusRo.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/georadius_ro">georadiusRo</a>.
* @return fluent self
*/
@Fluent
default RedisAPI georadiusRo(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.GEORADIUS_RO, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command georadiusRo.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/georadius_ro">georadiusRo</a>.
* @return Future response.
*/
default Future<@Nullable Response> georadiusRo(List<String> args) {
return send(Command.GEORADIUS_RO, args.toArray(new String[0]));
}
Redis command georadiusbymember.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/georadiusbymember">georadiusbymember</a>.
* @return fluent self
*/
@Fluent
default RedisAPI georadiusbymember(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.GEORADIUSBYMEMBER, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command georadiusbymember.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/georadiusbymember">georadiusbymember</a>.
* @return Future response.
*/
default Future<@Nullable Response> georadiusbymember(List<String> args) {
return send(Command.GEORADIUSBYMEMBER, args.toArray(new String[0]));
}
Redis command georadiusbymemberRo.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/georadiusbymember_ro">georadiusbymemberRo</a>.
* @return fluent self
*/
@Fluent
default RedisAPI georadiusbymemberRo(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.GEORADIUSBYMEMBER_RO, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command georadiusbymemberRo.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/georadiusbymember_ro">georadiusbymemberRo</a>.
* @return Future response.
*/
default Future<@Nullable Response> georadiusbymemberRo(List<String> args) {
return send(Command.GEORADIUSBYMEMBER_RO, args.toArray(new String[0]));
}
Redis command get.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/get">get</a>.
* @return fluent self
*/
@Fluent
default RedisAPI get(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.GET, arg0).onComplete(handler);
return this;
}
Redis command get.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/get">get</a>.
* @return Future response.
*/
default Future<@Nullable Response> get(String arg0) {
return send(Command.GET, arg0);
}
Redis command getbit.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/getbit">getbit</a>.
* @return fluent self
*/
@Fluent
default RedisAPI getbit(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.GETBIT, arg0, arg1).onComplete(handler);
return this;
}
Redis command getbit.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/getbit">getbit</a>.
* @return Future response.
*/
default Future<@Nullable Response> getbit(String arg0, String arg1) {
return send(Command.GETBIT, arg0, arg1);
}
Redis command getrange.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/getrange">getrange</a>.
* @return fluent self
*/
@Fluent
default RedisAPI getrange(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.GETRANGE, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command getrange.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/getrange">getrange</a>.
* @return Future response.
*/
default Future<@Nullable Response> getrange(String arg0, String arg1, String arg2) {
return send(Command.GETRANGE, arg0, arg1, arg2);
}
Redis command getset.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/getset">getset</a>.
* @return fluent self
*/
@Fluent
default RedisAPI getset(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.GETSET, arg0, arg1).onComplete(handler);
return this;
}
Redis command getset.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/getset">getset</a>.
* @return Future response.
*/
default Future<@Nullable Response> getset(String arg0, String arg1) {
return send(Command.GETSET, arg0, arg1);
}
Redis command hdel.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hdel">hdel</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hdel(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HDEL, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command hdel.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hdel">hdel</a>.
* @return Future response.
*/
default Future<@Nullable Response> hdel(List<String> args) {
return send(Command.HDEL, args.toArray(new String[0]));
}
Redis command hello.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hello">hello</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hello(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HELLO, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command hello.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hello">hello</a>.
* @return Future response.
*/
default Future<@Nullable Response> hello(List<String> args) {
return send(Command.HELLO, args.toArray(new String[0]));
}
Redis command hexists.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hexists">hexists</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hexists(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HEXISTS, arg0, arg1).onComplete(handler);
return this;
}
Redis command hexists.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hexists">hexists</a>.
* @return Future response.
*/
default Future<@Nullable Response> hexists(String arg0, String arg1) {
return send(Command.HEXISTS, arg0, arg1);
}
Redis command hget.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hget">hget</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hget(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HGET, arg0, arg1).onComplete(handler);
return this;
}
Redis command hget.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hget">hget</a>.
* @return Future response.
*/
default Future<@Nullable Response> hget(String arg0, String arg1) {
return send(Command.HGET, arg0, arg1);
}
Redis command hgetall.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hgetall">hgetall</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hgetall(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HGETALL, arg0).onComplete(handler);
return this;
}
Redis command hgetall.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hgetall">hgetall</a>.
* @return Future response.
*/
default Future<@Nullable Response> hgetall(String arg0) {
return send(Command.HGETALL, arg0);
}
Redis command hincrby.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hincrby">hincrby</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hincrby(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HINCRBY, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command hincrby.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hincrby">hincrby</a>.
* @return Future response.
*/
default Future<@Nullable Response> hincrby(String arg0, String arg1, String arg2) {
return send(Command.HINCRBY, arg0, arg1, arg2);
}
Redis command hincrbyfloat.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hincrbyfloat">hincrbyfloat</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hincrbyfloat(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HINCRBYFLOAT, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command hincrbyfloat.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hincrbyfloat">hincrbyfloat</a>.
* @return Future response.
*/
default Future<@Nullable Response> hincrbyfloat(String arg0, String arg1, String arg2) {
return send(Command.HINCRBYFLOAT, arg0, arg1, arg2);
}
Redis command hkeys.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hkeys">hkeys</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hkeys(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HKEYS, arg0).onComplete(handler);
return this;
}
Redis command hkeys.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hkeys">hkeys</a>.
* @return Future response.
*/
default Future<@Nullable Response> hkeys(String arg0) {
return send(Command.HKEYS, arg0);
}
Redis command hlen.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hlen">hlen</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hlen(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HLEN, arg0).onComplete(handler);
return this;
}
Redis command hlen.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hlen">hlen</a>.
* @return Future response.
*/
default Future<@Nullable Response> hlen(String arg0) {
return send(Command.HLEN, arg0);
}
Redis command hmget.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hmget">hmget</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hmget(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HMGET, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command hmget.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hmget">hmget</a>.
* @return Future response.
*/
default Future<@Nullable Response> hmget(List<String> args) {
return send(Command.HMGET, args.toArray(new String[0]));
}
Redis command hmset.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hmset">hmset</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hmset(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HMSET, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command hmset.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hmset">hmset</a>.
* @return Future response.
*/
default Future<@Nullable Response> hmset(List<String> args) {
return send(Command.HMSET, args.toArray(new String[0]));
}
Redis command host.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/host:">host</a>.
* @return fluent self
*/
@Fluent
default RedisAPI host(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HOST, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command host.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/host:">host</a>.
* @return Future response.
*/
default Future<@Nullable Response> host(List<String> args) {
return send(Command.HOST, args.toArray(new String[0]));
}
Redis command hscan.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hscan">hscan</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hscan(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HSCAN, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command hscan.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hscan">hscan</a>.
* @return Future response.
*/
default Future<@Nullable Response> hscan(List<String> args) {
return send(Command.HSCAN, args.toArray(new String[0]));
}
Redis command hset.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hset">hset</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hset(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HSET, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command hset.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hset">hset</a>.
* @return Future response.
*/
default Future<@Nullable Response> hset(List<String> args) {
return send(Command.HSET, args.toArray(new String[0]));
}
Redis command hsetnx.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hsetnx">hsetnx</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hsetnx(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HSETNX, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command hsetnx.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hsetnx">hsetnx</a>.
* @return Future response.
*/
default Future<@Nullable Response> hsetnx(String arg0, String arg1, String arg2) {
return send(Command.HSETNX, arg0, arg1, arg2);
}
Redis command hstrlen.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hstrlen">hstrlen</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hstrlen(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HSTRLEN, arg0, arg1).onComplete(handler);
return this;
}
Redis command hstrlen.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hstrlen">hstrlen</a>.
* @return Future response.
*/
default Future<@Nullable Response> hstrlen(String arg0, String arg1) {
return send(Command.HSTRLEN, arg0, arg1);
}
Redis command hvals.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/hvals">hvals</a>.
* @return fluent self
*/
@Fluent
default RedisAPI hvals(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.HVALS, arg0).onComplete(handler);
return this;
}
Redis command hvals.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/hvals">hvals</a>.
* @return Future response.
*/
default Future<@Nullable Response> hvals(String arg0) {
return send(Command.HVALS, arg0);
}
Redis command incr.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/incr">incr</a>.
* @return fluent self
*/
@Fluent
default RedisAPI incr(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.INCR, arg0).onComplete(handler);
return this;
}
Redis command incr.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/incr">incr</a>.
* @return Future response.
*/
default Future<@Nullable Response> incr(String arg0) {
return send(Command.INCR, arg0);
}
Redis command incrby.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/incrby">incrby</a>.
* @return fluent self
*/
@Fluent
default RedisAPI incrby(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.INCRBY, arg0, arg1).onComplete(handler);
return this;
}
Redis command incrby.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/incrby">incrby</a>.
* @return Future response.
*/
default Future<@Nullable Response> incrby(String arg0, String arg1) {
return send(Command.INCRBY, arg0, arg1);
}
Redis command incrbyfloat.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/incrbyfloat">incrbyfloat</a>.
* @return fluent self
*/
@Fluent
default RedisAPI incrbyfloat(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.INCRBYFLOAT, arg0, arg1).onComplete(handler);
return this;
}
Redis command incrbyfloat.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/incrbyfloat">incrbyfloat</a>.
* @return Future response.
*/
default Future<@Nullable Response> incrbyfloat(String arg0, String arg1) {
return send(Command.INCRBYFLOAT, arg0, arg1);
}
Redis command info.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/info">info</a>.
* @return fluent self
*/
@Fluent
default RedisAPI info(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.INFO, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command info.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/info">info</a>.
* @return Future response.
*/
default Future<@Nullable Response> info(List<String> args) {
return send(Command.INFO, args.toArray(new String[0]));
}
Redis command keys.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/keys">keys</a>.
* @return fluent self
*/
@Fluent
default RedisAPI keys(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.KEYS, arg0).onComplete(handler);
return this;
}
Redis command keys.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/keys">keys</a>.
* @return Future response.
*/
default Future<@Nullable Response> keys(String arg0) {
return send(Command.KEYS, arg0);
}
Redis command lastsave.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/lastsave">lastsave</a>.
* @return fluent self
*/
@Fluent
default RedisAPI lastsave(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.LASTSAVE).onComplete(handler);
return this;
}
Redis command lastsave.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/lastsave">lastsave</a>.
* @return Future response.
*/
default Future<@Nullable Response> lastsave() {
return send(Command.LASTSAVE);
}
Redis command latency.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/latency">latency</a>.
* @return fluent self
*/
@Fluent
default RedisAPI latency(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.LATENCY, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command latency.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/latency">latency</a>.
* @return Future response.
*/
default Future<@Nullable Response> latency(List<String> args) {
return send(Command.LATENCY, args.toArray(new String[0]));
}
Redis command lindex.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/lindex">lindex</a>.
* @return fluent self
*/
@Fluent
default RedisAPI lindex(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.LINDEX, arg0, arg1).onComplete(handler);
return this;
}
Redis command lindex.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/lindex">lindex</a>.
* @return Future response.
*/
default Future<@Nullable Response> lindex(String arg0, String arg1) {
return send(Command.LINDEX, arg0, arg1);
}
Redis command linsert.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/linsert">linsert</a>.
* @return fluent self
*/
@Fluent
default RedisAPI linsert(String arg0, String arg1, String arg2, String arg3, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.LINSERT, arg0, arg1, arg2, arg3).onComplete(handler);
return this;
}
Redis command linsert.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/linsert">linsert</a>.
* @return Future response.
*/
default Future<@Nullable Response> linsert(String arg0, String arg1, String arg2, String arg3) {
return send(Command.LINSERT, arg0, arg1, arg2, arg3);
}
Redis command llen.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/llen">llen</a>.
* @return fluent self
*/
@Fluent
default RedisAPI llen(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.LLEN, arg0).onComplete(handler);
return this;
}
Redis command llen.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/llen">llen</a>.
* @return Future response.
*/
default Future<@Nullable Response> llen(String arg0) {
return send(Command.LLEN, arg0);
}
Redis command lolwut.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/lolwut">lolwut</a>.
* @return fluent self
*/
@Fluent
default RedisAPI lolwut(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.LOLWUT, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command lolwut.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/lolwut">lolwut</a>.
* @return Future response.
*/
default Future<@Nullable Response> lolwut(List<String> args) {
return send(Command.LOLWUT, args.toArray(new String[0]));
}
Redis command lpop.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/lpop">lpop</a>.
* @return fluent self
*/
@Fluent
default RedisAPI lpop(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.LPOP, arg0).onComplete(handler);
return this;
}
Redis command lpop.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/lpop">lpop</a>.
* @return Future response.
*/
default Future<@Nullable Response> lpop(String arg0) {
return send(Command.LPOP, arg0);
}
Redis command lpush.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/lpush">lpush</a>.
* @return fluent self
*/
@Fluent
default RedisAPI lpush(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.LPUSH, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command lpush.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/lpush">lpush</a>.
* @return Future response.
*/
default Future<@Nullable Response> lpush(List<String> args) {
return send(Command.LPUSH, args.toArray(new String[0]));
}
Redis command lpushx.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/lpushx">lpushx</a>.
* @return fluent self
*/
@Fluent
default RedisAPI lpushx(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.LPUSHX, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command lpushx.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/lpushx">lpushx</a>.
* @return Future response.
*/
default Future<@Nullable Response> lpushx(List<String> args) {
return send(Command.LPUSHX, args.toArray(new String[0]));
}
Redis command lrange.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/lrange">lrange</a>.
* @return fluent self
*/
@Fluent
default RedisAPI lrange(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.LRANGE, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command lrange.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/lrange">lrange</a>.
* @return Future response.
*/
default Future<@Nullable Response> lrange(String arg0, String arg1, String arg2) {
return send(Command.LRANGE, arg0, arg1, arg2);
}
Redis command lrem.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/lrem">lrem</a>.
* @return fluent self
*/
@Fluent
default RedisAPI lrem(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.LREM, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command lrem.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/lrem">lrem</a>.
* @return Future response.
*/
default Future<@Nullable Response> lrem(String arg0, String arg1, String arg2) {
return send(Command.LREM, arg0, arg1, arg2);
}
Redis command lset.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/lset">lset</a>.
* @return fluent self
*/
@Fluent
default RedisAPI lset(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.LSET, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command lset.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/lset">lset</a>.
* @return Future response.
*/
default Future<@Nullable Response> lset(String arg0, String arg1, String arg2) {
return send(Command.LSET, arg0, arg1, arg2);
}
Redis command ltrim.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/ltrim">ltrim</a>.
* @return fluent self
*/
@Fluent
default RedisAPI ltrim(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.LTRIM, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command ltrim.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/ltrim">ltrim</a>.
* @return Future response.
*/
default Future<@Nullable Response> ltrim(String arg0, String arg1, String arg2) {
return send(Command.LTRIM, arg0, arg1, arg2);
}
Redis command memory.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/memory">memory</a>.
* @return fluent self
*/
@Fluent
default RedisAPI memory(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.MEMORY, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command memory.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/memory">memory</a>.
* @return Future response.
*/
default Future<@Nullable Response> memory(List<String> args) {
return send(Command.MEMORY, args.toArray(new String[0]));
}
Redis command mget.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/mget">mget</a>.
* @return fluent self
*/
@Fluent
default RedisAPI mget(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.MGET, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command mget.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/mget">mget</a>.
* @return Future response.
*/
default Future<@Nullable Response> mget(List<String> args) {
return send(Command.MGET, args.toArray(new String[0]));
}
Redis command migrate.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/migrate">migrate</a>.
* @return fluent self
*/
@Fluent
default RedisAPI migrate(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.MIGRATE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command migrate.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/migrate">migrate</a>.
* @return Future response.
*/
default Future<@Nullable Response> migrate(List<String> args) {
return send(Command.MIGRATE, args.toArray(new String[0]));
}
Redis command module.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/module">module</a>.
* @return fluent self
*/
@Fluent
default RedisAPI module(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.MODULE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command module.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/module">module</a>.
* @return Future response.
*/
default Future<@Nullable Response> module(List<String> args) {
return send(Command.MODULE, args.toArray(new String[0]));
}
Redis command monitor.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/monitor">monitor</a>.
* @return fluent self
*/
@Fluent
default RedisAPI monitor(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.MONITOR).onComplete(handler);
return this;
}
Redis command monitor.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/monitor">monitor</a>.
* @return Future response.
*/
default Future<@Nullable Response> monitor() {
return send(Command.MONITOR);
}
Redis command move.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/move">move</a>.
* @return fluent self
*/
@Fluent
default RedisAPI move(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.MOVE, arg0, arg1).onComplete(handler);
return this;
}
Redis command move.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/move">move</a>.
* @return Future response.
*/
default Future<@Nullable Response> move(String arg0, String arg1) {
return send(Command.MOVE, arg0, arg1);
}
Redis command mset.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/mset">mset</a>.
* @return fluent self
*/
@Fluent
default RedisAPI mset(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.MSET, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command mset.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/mset">mset</a>.
* @return Future response.
*/
default Future<@Nullable Response> mset(List<String> args) {
return send(Command.MSET, args.toArray(new String[0]));
}
Redis command msetnx.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/msetnx">msetnx</a>.
* @return fluent self
*/
@Fluent
default RedisAPI msetnx(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.MSETNX, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command msetnx.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/msetnx">msetnx</a>.
* @return Future response.
*/
default Future<@Nullable Response> msetnx(List<String> args) {
return send(Command.MSETNX, args.toArray(new String[0]));
}
Redis command multi.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/multi">multi</a>.
* @return fluent self
*/
@Fluent
default RedisAPI multi(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.MULTI).onComplete(handler);
return this;
}
Redis command multi.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/multi">multi</a>.
* @return Future response.
*/
default Future<@Nullable Response> multi() {
return send(Command.MULTI);
}
Redis command object.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/object">object</a>.
* @return fluent self
*/
@Fluent
default RedisAPI object(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.OBJECT, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command object.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/object">object</a>.
* @return Future response.
*/
default Future<@Nullable Response> object(List<String> args) {
return send(Command.OBJECT, args.toArray(new String[0]));
}
Redis command persist.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/persist">persist</a>.
* @return fluent self
*/
@Fluent
default RedisAPI persist(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PERSIST, arg0).onComplete(handler);
return this;
}
Redis command persist.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/persist">persist</a>.
* @return Future response.
*/
default Future<@Nullable Response> persist(String arg0) {
return send(Command.PERSIST, arg0);
}
Redis command pexpire.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/pexpire">pexpire</a>.
* @return fluent self
*/
@Fluent
default RedisAPI pexpire(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PEXPIRE, arg0, arg1).onComplete(handler);
return this;
}
Redis command pexpire.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/pexpire">pexpire</a>.
* @return Future response.
*/
default Future<@Nullable Response> pexpire(String arg0, String arg1) {
return send(Command.PEXPIRE, arg0, arg1);
}
Redis command pexpireat.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/pexpireat">pexpireat</a>.
* @return fluent self
*/
@Fluent
default RedisAPI pexpireat(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PEXPIREAT, arg0, arg1).onComplete(handler);
return this;
}
Redis command pexpireat.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/pexpireat">pexpireat</a>.
* @return Future response.
*/
default Future<@Nullable Response> pexpireat(String arg0, String arg1) {
return send(Command.PEXPIREAT, arg0, arg1);
}
Redis command pfadd.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/pfadd">pfadd</a>.
* @return fluent self
*/
@Fluent
default RedisAPI pfadd(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PFADD, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command pfadd.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/pfadd">pfadd</a>.
* @return Future response.
*/
default Future<@Nullable Response> pfadd(List<String> args) {
return send(Command.PFADD, args.toArray(new String[0]));
}
Redis command pfcount.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/pfcount">pfcount</a>.
* @return fluent self
*/
@Fluent
default RedisAPI pfcount(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PFCOUNT, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command pfcount.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/pfcount">pfcount</a>.
* @return Future response.
*/
default Future<@Nullable Response> pfcount(List<String> args) {
return send(Command.PFCOUNT, args.toArray(new String[0]));
}
Redis command pfdebug.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/pfdebug">pfdebug</a>.
* @return fluent self
*/
@Fluent
default RedisAPI pfdebug(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PFDEBUG, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command pfdebug.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/pfdebug">pfdebug</a>.
* @return Future response.
*/
default Future<@Nullable Response> pfdebug(List<String> args) {
return send(Command.PFDEBUG, args.toArray(new String[0]));
}
Redis command pfmerge.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/pfmerge">pfmerge</a>.
* @return fluent self
*/
@Fluent
default RedisAPI pfmerge(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PFMERGE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command pfmerge.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/pfmerge">pfmerge</a>.
* @return Future response.
*/
default Future<@Nullable Response> pfmerge(List<String> args) {
return send(Command.PFMERGE, args.toArray(new String[0]));
}
Redis command pfselftest.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/pfselftest">pfselftest</a>.
* @return fluent self
*/
@Fluent
default RedisAPI pfselftest(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PFSELFTEST).onComplete(handler);
return this;
}
Redis command pfselftest.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/pfselftest">pfselftest</a>.
* @return Future response.
*/
default Future<@Nullable Response> pfselftest() {
return send(Command.PFSELFTEST);
}
Redis command ping.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/ping">ping</a>.
* @return fluent self
*/
@Fluent
default RedisAPI ping(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PING, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command ping.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/ping">ping</a>.
* @return Future response.
*/
default Future<@Nullable Response> ping(List<String> args) {
return send(Command.PING, args.toArray(new String[0]));
}
Redis command post.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/post">post</a>.
* @return fluent self
*/
@Fluent
default RedisAPI post(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.POST, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command post.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/post">post</a>.
* @return Future response.
*/
default Future<@Nullable Response> post(List<String> args) {
return send(Command.POST, args.toArray(new String[0]));
}
Redis command psetex.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/psetex">psetex</a>.
* @return fluent self
*/
@Fluent
default RedisAPI psetex(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PSETEX, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command psetex.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/psetex">psetex</a>.
* @return Future response.
*/
default Future<@Nullable Response> psetex(String arg0, String arg1, String arg2) {
return send(Command.PSETEX, arg0, arg1, arg2);
}
Redis command psubscribe.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/psubscribe">psubscribe</a>.
* @return fluent self
*/
@Fluent
default RedisAPI psubscribe(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PSUBSCRIBE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command psubscribe.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/psubscribe">psubscribe</a>.
* @return Future response.
*/
default Future<@Nullable Response> psubscribe(List<String> args) {
return send(Command.PSUBSCRIBE, args.toArray(new String[0]));
}
Redis command psync.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/psync">psync</a>.
* @return fluent self
*/
@Fluent
default RedisAPI psync(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PSYNC, arg0, arg1).onComplete(handler);
return this;
}
Redis command psync.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/psync">psync</a>.
* @return Future response.
*/
default Future<@Nullable Response> psync(String arg0, String arg1) {
return send(Command.PSYNC, arg0, arg1);
}
Redis command pttl.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/pttl">pttl</a>.
* @return fluent self
*/
@Fluent
default RedisAPI pttl(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PTTL, arg0).onComplete(handler);
return this;
}
Redis command pttl.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/pttl">pttl</a>.
* @return Future response.
*/
default Future<@Nullable Response> pttl(String arg0) {
return send(Command.PTTL, arg0);
}
Redis command publish.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/publish">publish</a>.
* @return fluent self
*/
@Fluent
default RedisAPI publish(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PUBLISH, arg0, arg1).onComplete(handler);
return this;
}
Redis command publish.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/publish">publish</a>.
* @return Future response.
*/
default Future<@Nullable Response> publish(String arg0, String arg1) {
return send(Command.PUBLISH, arg0, arg1);
}
Redis command pubsub.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/pubsub">pubsub</a>.
* @return fluent self
*/
@Fluent
default RedisAPI pubsub(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PUBSUB, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command pubsub.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/pubsub">pubsub</a>.
* @return Future response.
*/
default Future<@Nullable Response> pubsub(List<String> args) {
return send(Command.PUBSUB, args.toArray(new String[0]));
}
Redis command punsubscribe.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/punsubscribe">punsubscribe</a>.
* @return fluent self
*/
@Fluent
default RedisAPI punsubscribe(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.PUNSUBSCRIBE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command punsubscribe.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/punsubscribe">punsubscribe</a>.
* @return Future response.
*/
default Future<@Nullable Response> punsubscribe(List<String> args) {
return send(Command.PUNSUBSCRIBE, args.toArray(new String[0]));
}
Redis command randomkey.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/randomkey">randomkey</a>.
* @return fluent self
*/
@Fluent
default RedisAPI randomkey(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.RANDOMKEY).onComplete(handler);
return this;
}
Redis command randomkey.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/randomkey">randomkey</a>.
* @return Future response.
*/
default Future<@Nullable Response> randomkey() {
return send(Command.RANDOMKEY);
}
Redis command readonly.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/readonly">readonly</a>.
* @return fluent self
*/
@Fluent
default RedisAPI readonly(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.READONLY).onComplete(handler);
return this;
}
Redis command readonly.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/readonly">readonly</a>.
* @return Future response.
*/
default Future<@Nullable Response> readonly() {
return send(Command.READONLY);
}
Redis command readwrite.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/readwrite">readwrite</a>.
* @return fluent self
*/
@Fluent
default RedisAPI readwrite(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.READWRITE).onComplete(handler);
return this;
}
Redis command readwrite.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/readwrite">readwrite</a>.
* @return Future response.
*/
default Future<@Nullable Response> readwrite() {
return send(Command.READWRITE);
}
Redis command rename.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/rename">rename</a>.
* @return fluent self
*/
@Fluent
default RedisAPI rename(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.RENAME, arg0, arg1).onComplete(handler);
return this;
}
Redis command rename.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/rename">rename</a>.
* @return Future response.
*/
default Future<@Nullable Response> rename(String arg0, String arg1) {
return send(Command.RENAME, arg0, arg1);
}
Redis command renamenx.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/renamenx">renamenx</a>.
* @return fluent self
*/
@Fluent
default RedisAPI renamenx(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.RENAMENX, arg0, arg1).onComplete(handler);
return this;
}
Redis command renamenx.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/renamenx">renamenx</a>.
* @return Future response.
*/
default Future<@Nullable Response> renamenx(String arg0, String arg1) {
return send(Command.RENAMENX, arg0, arg1);
}
Redis command replconf.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/replconf">replconf</a>.
* @return fluent self
*/
@Fluent
default RedisAPI replconf(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.REPLCONF, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command replconf.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/replconf">replconf</a>.
* @return Future response.
*/
default Future<@Nullable Response> replconf(List<String> args) {
return send(Command.REPLCONF, args.toArray(new String[0]));
}
Redis command replicaof.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/replicaof">replicaof</a>.
* @return fluent self
*/
@Fluent
default RedisAPI replicaof(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.REPLICAOF, arg0, arg1).onComplete(handler);
return this;
}
Redis command replicaof.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/replicaof">replicaof</a>.
* @return Future response.
*/
default Future<@Nullable Response> replicaof(String arg0, String arg1) {
return send(Command.REPLICAOF, arg0, arg1);
}
Redis command restore.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/restore">restore</a>.
* @return fluent self
*/
@Fluent
default RedisAPI restore(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.RESTORE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command restore.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/restore">restore</a>.
* @return Future response.
*/
default Future<@Nullable Response> restore(List<String> args) {
return send(Command.RESTORE, args.toArray(new String[0]));
}
Redis command restoreAsking.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/restore-asking">restoreAsking</a>.
* @return fluent self
*/
@Fluent
default RedisAPI restoreAsking(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.RESTORE_ASKING, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command restoreAsking.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/restore-asking">restoreAsking</a>.
* @return Future response.
*/
default Future<@Nullable Response> restoreAsking(List<String> args) {
return send(Command.RESTORE_ASKING, args.toArray(new String[0]));
}
Redis command role.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/role">role</a>.
* @return fluent self
*/
@Fluent
default RedisAPI role(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ROLE).onComplete(handler);
return this;
}
Redis command role.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/role">role</a>.
* @return Future response.
*/
default Future<@Nullable Response> role() {
return send(Command.ROLE);
}
Redis command rpop.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/rpop">rpop</a>.
* @return fluent self
*/
@Fluent
default RedisAPI rpop(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.RPOP, arg0).onComplete(handler);
return this;
}
Redis command rpop.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/rpop">rpop</a>.
* @return Future response.
*/
default Future<@Nullable Response> rpop(String arg0) {
return send(Command.RPOP, arg0);
}
Redis command rpoplpush.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/rpoplpush">rpoplpush</a>.
* @return fluent self
*/
@Fluent
default RedisAPI rpoplpush(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.RPOPLPUSH, arg0, arg1).onComplete(handler);
return this;
}
Redis command rpoplpush.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/rpoplpush">rpoplpush</a>.
* @return Future response.
*/
default Future<@Nullable Response> rpoplpush(String arg0, String arg1) {
return send(Command.RPOPLPUSH, arg0, arg1);
}
Redis command rpush.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/rpush">rpush</a>.
* @return fluent self
*/
@Fluent
default RedisAPI rpush(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.RPUSH, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command rpush.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/rpush">rpush</a>.
* @return Future response.
*/
default Future<@Nullable Response> rpush(List<String> args) {
return send(Command.RPUSH, args.toArray(new String[0]));
}
Redis command rpushx.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/rpushx">rpushx</a>.
* @return fluent self
*/
@Fluent
default RedisAPI rpushx(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.RPUSHX, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command rpushx.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/rpushx">rpushx</a>.
* @return Future response.
*/
default Future<@Nullable Response> rpushx(List<String> args) {
return send(Command.RPUSHX, args.toArray(new String[0]));
}
Redis command sadd.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/sadd">sadd</a>.
* @return fluent self
*/
@Fluent
default RedisAPI sadd(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SADD, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command sadd.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/sadd">sadd</a>.
* @return Future response.
*/
default Future<@Nullable Response> sadd(List<String> args) {
return send(Command.SADD, args.toArray(new String[0]));
}
Redis command save.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/save">save</a>.
* @return fluent self
*/
@Fluent
default RedisAPI save(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SAVE).onComplete(handler);
return this;
}
Redis command save.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/save">save</a>.
* @return Future response.
*/
default Future<@Nullable Response> save() {
return send(Command.SAVE);
}
Redis command scan.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/scan">scan</a>.
* @return fluent self
*/
@Fluent
default RedisAPI scan(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SCAN, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command scan.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/scan">scan</a>.
* @return Future response.
*/
default Future<@Nullable Response> scan(List<String> args) {
return send(Command.SCAN, args.toArray(new String[0]));
}
Redis command scard.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/scard">scard</a>.
* @return fluent self
*/
@Fluent
default RedisAPI scard(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SCARD, arg0).onComplete(handler);
return this;
}
Redis command scard.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/scard">scard</a>.
* @return Future response.
*/
default Future<@Nullable Response> scard(String arg0) {
return send(Command.SCARD, arg0);
}
Redis command script.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/script">script</a>.
* @return fluent self
*/
@Fluent
default RedisAPI script(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SCRIPT, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command script.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/script">script</a>.
* @return Future response.
*/
default Future<@Nullable Response> script(List<String> args) {
return send(Command.SCRIPT, args.toArray(new String[0]));
}
Redis command sdiff.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/sdiff">sdiff</a>.
* @return fluent self
*/
@Fluent
default RedisAPI sdiff(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SDIFF, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command sdiff.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/sdiff">sdiff</a>.
* @return Future response.
*/
default Future<@Nullable Response> sdiff(List<String> args) {
return send(Command.SDIFF, args.toArray(new String[0]));
}
Redis command sdiffstore.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/sdiffstore">sdiffstore</a>.
* @return fluent self
*/
@Fluent
default RedisAPI sdiffstore(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SDIFFSTORE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command sdiffstore.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/sdiffstore">sdiffstore</a>.
* @return Future response.
*/
default Future<@Nullable Response> sdiffstore(List<String> args) {
return send(Command.SDIFFSTORE, args.toArray(new String[0]));
}
Redis command select.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/select">select</a>.
* @return fluent self
*/
@Fluent
default RedisAPI select(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SELECT, arg0).onComplete(handler);
return this;
}
Redis command select.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/select">select</a>.
* @return Future response.
*/
default Future<@Nullable Response> select(String arg0) {
return send(Command.SELECT, arg0);
}
Redis command set.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/set">set</a>.
* @return fluent self
*/
@Fluent
default RedisAPI set(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SET, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command set.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/set">set</a>.
* @return Future response.
*/
default Future<@Nullable Response> set(List<String> args) {
return send(Command.SET, args.toArray(new String[0]));
}
Redis command setbit.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/setbit">setbit</a>.
* @return fluent self
*/
@Fluent
default RedisAPI setbit(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SETBIT, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command setbit.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/setbit">setbit</a>.
* @return Future response.
*/
default Future<@Nullable Response> setbit(String arg0, String arg1, String arg2) {
return send(Command.SETBIT, arg0, arg1, arg2);
}
Redis command setex.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/setex">setex</a>.
* @return fluent self
*/
@Fluent
default RedisAPI setex(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SETEX, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command setex.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/setex">setex</a>.
* @return Future response.
*/
default Future<@Nullable Response> setex(String arg0, String arg1, String arg2) {
return send(Command.SETEX, arg0, arg1, arg2);
}
Redis command setnx.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/setnx">setnx</a>.
* @return fluent self
*/
@Fluent
default RedisAPI setnx(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SETNX, arg0, arg1).onComplete(handler);
return this;
}
Redis command setnx.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/setnx">setnx</a>.
* @return Future response.
*/
default Future<@Nullable Response> setnx(String arg0, String arg1) {
return send(Command.SETNX, arg0, arg1);
}
Redis command setrange.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/setrange">setrange</a>.
* @return fluent self
*/
@Fluent
default RedisAPI setrange(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SETRANGE, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command setrange.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/setrange">setrange</a>.
* @return Future response.
*/
default Future<@Nullable Response> setrange(String arg0, String arg1, String arg2) {
return send(Command.SETRANGE, arg0, arg1, arg2);
}
Redis command shutdown.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/shutdown">shutdown</a>.
* @return fluent self
*/
@Fluent
default RedisAPI shutdown(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SHUTDOWN, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command shutdown.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/shutdown">shutdown</a>.
* @return Future response.
*/
default Future<@Nullable Response> shutdown(List<String> args) {
return send(Command.SHUTDOWN, args.toArray(new String[0]));
}
Redis command sinter.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/sinter">sinter</a>.
* @return fluent self
*/
@Fluent
default RedisAPI sinter(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SINTER, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command sinter.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/sinter">sinter</a>.
* @return Future response.
*/
default Future<@Nullable Response> sinter(List<String> args) {
return send(Command.SINTER, args.toArray(new String[0]));
}
Redis command sinterstore.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/sinterstore">sinterstore</a>.
* @return fluent self
*/
@Fluent
default RedisAPI sinterstore(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SINTERSTORE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command sinterstore.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/sinterstore">sinterstore</a>.
* @return Future response.
*/
default Future<@Nullable Response> sinterstore(List<String> args) {
return send(Command.SINTERSTORE, args.toArray(new String[0]));
}
Redis command sismember.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/sismember">sismember</a>.
* @return fluent self
*/
@Fluent
default RedisAPI sismember(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SISMEMBER, arg0, arg1).onComplete(handler);
return this;
}
Redis command sismember.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/sismember">sismember</a>.
* @return Future response.
*/
default Future<@Nullable Response> sismember(String arg0, String arg1) {
return send(Command.SISMEMBER, arg0, arg1);
}
Redis command slaveof.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/slaveof">slaveof</a>.
* @return fluent self
*/
@Fluent
default RedisAPI slaveof(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SLAVEOF, arg0, arg1).onComplete(handler);
return this;
}
Redis command slaveof.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/slaveof">slaveof</a>.
* @return Future response.
*/
default Future<@Nullable Response> slaveof(String arg0, String arg1) {
return send(Command.SLAVEOF, arg0, arg1);
}
Redis command slowlog.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/slowlog">slowlog</a>.
* @return fluent self
*/
@Fluent
default RedisAPI slowlog(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SLOWLOG, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command slowlog.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/slowlog">slowlog</a>.
* @return Future response.
*/
default Future<@Nullable Response> slowlog(List<String> args) {
return send(Command.SLOWLOG, args.toArray(new String[0]));
}
Redis command smembers.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/smembers">smembers</a>.
* @return fluent self
*/
@Fluent
default RedisAPI smembers(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SMEMBERS, arg0).onComplete(handler);
return this;
}
Redis command smembers.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/smembers">smembers</a>.
* @return Future response.
*/
default Future<@Nullable Response> smembers(String arg0) {
return send(Command.SMEMBERS, arg0);
}
Redis command smove.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/smove">smove</a>.
* @return fluent self
*/
@Fluent
default RedisAPI smove(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SMOVE, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command smove.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/smove">smove</a>.
* @return Future response.
*/
default Future<@Nullable Response> smove(String arg0, String arg1, String arg2) {
return send(Command.SMOVE, arg0, arg1, arg2);
}
Redis command sort.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/sort">sort</a>.
* @return fluent self
*/
@Fluent
default RedisAPI sort(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SORT, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command sort.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/sort">sort</a>.
* @return Future response.
*/
default Future<@Nullable Response> sort(List<String> args) {
return send(Command.SORT, args.toArray(new String[0]));
}
Redis command spop.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/spop">spop</a>.
* @return fluent self
*/
@Fluent
default RedisAPI spop(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SPOP, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command spop.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/spop">spop</a>.
* @return Future response.
*/
default Future<@Nullable Response> spop(List<String> args) {
return send(Command.SPOP, args.toArray(new String[0]));
}
Redis command srandmember.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/srandmember">srandmember</a>.
* @return fluent self
*/
@Fluent
default RedisAPI srandmember(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SRANDMEMBER, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command srandmember.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/srandmember">srandmember</a>.
* @return Future response.
*/
default Future<@Nullable Response> srandmember(List<String> args) {
return send(Command.SRANDMEMBER, args.toArray(new String[0]));
}
Redis command srem.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/srem">srem</a>.
* @return fluent self
*/
@Fluent
default RedisAPI srem(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SREM, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command srem.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/srem">srem</a>.
* @return Future response.
*/
default Future<@Nullable Response> srem(List<String> args) {
return send(Command.SREM, args.toArray(new String[0]));
}
Redis command sscan.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/sscan">sscan</a>.
* @return fluent self
*/
@Fluent
default RedisAPI sscan(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SSCAN, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command sscan.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/sscan">sscan</a>.
* @return Future response.
*/
default Future<@Nullable Response> sscan(List<String> args) {
return send(Command.SSCAN, args.toArray(new String[0]));
}
Redis command stralgo.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/stralgo">stralgo</a>.
* @return fluent self
*/
@Fluent
default RedisAPI stralgo(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.STRALGO, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command stralgo.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/stralgo">stralgo</a>.
* @return Future response.
*/
default Future<@Nullable Response> stralgo(List<String> args) {
return send(Command.STRALGO, args.toArray(new String[0]));
}
Redis command strlen.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/strlen">strlen</a>.
* @return fluent self
*/
@Fluent
default RedisAPI strlen(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.STRLEN, arg0).onComplete(handler);
return this;
}
Redis command strlen.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/strlen">strlen</a>.
* @return Future response.
*/
default Future<@Nullable Response> strlen(String arg0) {
return send(Command.STRLEN, arg0);
}
Redis command subscribe.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/subscribe">subscribe</a>.
* @return fluent self
*/
@Fluent
default RedisAPI subscribe(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SUBSCRIBE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command subscribe.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/subscribe">subscribe</a>.
* @return Future response.
*/
default Future<@Nullable Response> subscribe(List<String> args) {
return send(Command.SUBSCRIBE, args.toArray(new String[0]));
}
Redis command substr.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/substr">substr</a>.
* @return fluent self
*/
@Fluent
default RedisAPI substr(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SUBSTR, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command substr.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/substr">substr</a>.
* @return Future response.
*/
default Future<@Nullable Response> substr(String arg0, String arg1, String arg2) {
return send(Command.SUBSTR, arg0, arg1, arg2);
}
Redis command sunion.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/sunion">sunion</a>.
* @return fluent self
*/
@Fluent
default RedisAPI sunion(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SUNION, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command sunion.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/sunion">sunion</a>.
* @return Future response.
*/
default Future<@Nullable Response> sunion(List<String> args) {
return send(Command.SUNION, args.toArray(new String[0]));
}
Redis command sunionstore.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/sunionstore">sunionstore</a>.
* @return fluent self
*/
@Fluent
default RedisAPI sunionstore(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SUNIONSTORE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command sunionstore.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/sunionstore">sunionstore</a>.
* @return Future response.
*/
default Future<@Nullable Response> sunionstore(List<String> args) {
return send(Command.SUNIONSTORE, args.toArray(new String[0]));
}
Redis command swapdb.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/swapdb">swapdb</a>.
* @return fluent self
*/
@Fluent
default RedisAPI swapdb(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SWAPDB, arg0, arg1).onComplete(handler);
return this;
}
Redis command swapdb.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/swapdb">swapdb</a>.
* @return Future response.
*/
default Future<@Nullable Response> swapdb(String arg0, String arg1) {
return send(Command.SWAPDB, arg0, arg1);
}
Redis command sync.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/sync">sync</a>.
* @return fluent self
*/
@Fluent
default RedisAPI sync(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.SYNC).onComplete(handler);
return this;
}
Redis command sync.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/sync">sync</a>.
* @return Future response.
*/
default Future<@Nullable Response> sync() {
return send(Command.SYNC);
}
Redis command time.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/time">time</a>.
* @return fluent self
*/
@Fluent
default RedisAPI time(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.TIME).onComplete(handler);
return this;
}
Redis command time.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/time">time</a>.
* @return Future response.
*/
default Future<@Nullable Response> time() {
return send(Command.TIME);
}
Redis command touch.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/touch">touch</a>.
* @return fluent self
*/
@Fluent
default RedisAPI touch(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.TOUCH, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command touch.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/touch">touch</a>.
* @return Future response.
*/
default Future<@Nullable Response> touch(List<String> args) {
return send(Command.TOUCH, args.toArray(new String[0]));
}
Redis command ttl.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/ttl">ttl</a>.
* @return fluent self
*/
@Fluent
default RedisAPI ttl(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.TTL, arg0).onComplete(handler);
return this;
}
Redis command ttl.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/ttl">ttl</a>.
* @return Future response.
*/
default Future<@Nullable Response> ttl(String arg0) {
return send(Command.TTL, arg0);
}
Redis command type.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/type">type</a>.
* @return fluent self
*/
@Fluent
default RedisAPI type(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.TYPE, arg0).onComplete(handler);
return this;
}
Redis command type.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/type">type</a>.
* @return Future response.
*/
default Future<@Nullable Response> type(String arg0) {
return send(Command.TYPE, arg0);
}
Redis command unlink.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/unlink">unlink</a>.
* @return fluent self
*/
@Fluent
default RedisAPI unlink(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.UNLINK, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command unlink.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/unlink">unlink</a>.
* @return Future response.
*/
default Future<@Nullable Response> unlink(List<String> args) {
return send(Command.UNLINK, args.toArray(new String[0]));
}
Redis command unsubscribe.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/unsubscribe">unsubscribe</a>.
* @return fluent self
*/
@Fluent
default RedisAPI unsubscribe(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.UNSUBSCRIBE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command unsubscribe.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/unsubscribe">unsubscribe</a>.
* @return Future response.
*/
default Future<@Nullable Response> unsubscribe(List<String> args) {
return send(Command.UNSUBSCRIBE, args.toArray(new String[0]));
}
Redis command unwatch.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/unwatch">unwatch</a>.
* @return fluent self
*/
@Fluent
default RedisAPI unwatch(Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.UNWATCH).onComplete(handler);
return this;
}
Redis command unwatch.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/unwatch">unwatch</a>.
* @return Future response.
*/
default Future<@Nullable Response> unwatch() {
return send(Command.UNWATCH);
}
Redis command wait.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/wait">wait</a>.
* @return fluent self
*/
@Fluent
default RedisAPI wait(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.WAIT, arg0, arg1).onComplete(handler);
return this;
}
Redis command wait.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/wait">wait</a>.
* @return Future response.
*/
default Future<@Nullable Response> wait(String arg0, String arg1) {
return send(Command.WAIT, arg0, arg1);
}
Redis command watch.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/watch">watch</a>.
* @return fluent self
*/
@Fluent
default RedisAPI watch(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.WATCH, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command watch.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/watch">watch</a>.
* @return Future response.
*/
default Future<@Nullable Response> watch(List<String> args) {
return send(Command.WATCH, args.toArray(new String[0]));
}
Redis command xack.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/xack">xack</a>.
* @return fluent self
*/
@Fluent
default RedisAPI xack(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.XACK, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command xack.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/xack">xack</a>.
* @return Future response.
*/
default Future<@Nullable Response> xack(List<String> args) {
return send(Command.XACK, args.toArray(new String[0]));
}
Redis command xadd.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/xadd">xadd</a>.
* @return fluent self
*/
@Fluent
default RedisAPI xadd(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.XADD, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command xadd.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/xadd">xadd</a>.
* @return Future response.
*/
default Future<@Nullable Response> xadd(List<String> args) {
return send(Command.XADD, args.toArray(new String[0]));
}
Redis command xclaim.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/xclaim">xclaim</a>.
* @return fluent self
*/
@Fluent
default RedisAPI xclaim(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.XCLAIM, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command xclaim.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/xclaim">xclaim</a>.
* @return Future response.
*/
default Future<@Nullable Response> xclaim(List<String> args) {
return send(Command.XCLAIM, args.toArray(new String[0]));
}
Redis command xdel.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/xdel">xdel</a>.
* @return fluent self
*/
@Fluent
default RedisAPI xdel(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.XDEL, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command xdel.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/xdel">xdel</a>.
* @return Future response.
*/
default Future<@Nullable Response> xdel(List<String> args) {
return send(Command.XDEL, args.toArray(new String[0]));
}
Redis command xgroup.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/xgroup">xgroup</a>.
* @return fluent self
*/
@Fluent
default RedisAPI xgroup(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.XGROUP, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command xgroup.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/xgroup">xgroup</a>.
* @return Future response.
*/
default Future<@Nullable Response> xgroup(List<String> args) {
return send(Command.XGROUP, args.toArray(new String[0]));
}
Redis command xinfo.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/xinfo">xinfo</a>.
* @return fluent self
*/
@Fluent
default RedisAPI xinfo(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.XINFO, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command xinfo.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/xinfo">xinfo</a>.
* @return Future response.
*/
default Future<@Nullable Response> xinfo(List<String> args) {
return send(Command.XINFO, args.toArray(new String[0]));
}
Redis command xlen.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/xlen">xlen</a>.
* @return fluent self
*/
@Fluent
default RedisAPI xlen(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.XLEN, arg0).onComplete(handler);
return this;
}
Redis command xlen.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/xlen">xlen</a>.
* @return Future response.
*/
default Future<@Nullable Response> xlen(String arg0) {
return send(Command.XLEN, arg0);
}
Redis command xpending.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/xpending">xpending</a>.
* @return fluent self
*/
@Fluent
default RedisAPI xpending(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.XPENDING, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command xpending.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/xpending">xpending</a>.
* @return Future response.
*/
default Future<@Nullable Response> xpending(List<String> args) {
return send(Command.XPENDING, args.toArray(new String[0]));
}
Redis command xrange.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/xrange">xrange</a>.
* @return fluent self
*/
@Fluent
default RedisAPI xrange(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.XRANGE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command xrange.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/xrange">xrange</a>.
* @return Future response.
*/
default Future<@Nullable Response> xrange(List<String> args) {
return send(Command.XRANGE, args.toArray(new String[0]));
}
Redis command xread.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/xread">xread</a>.
* @return fluent self
*/
@Fluent
default RedisAPI xread(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.XREAD, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command xread.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/xread">xread</a>.
* @return Future response.
*/
default Future<@Nullable Response> xread(List<String> args) {
return send(Command.XREAD, args.toArray(new String[0]));
}
Redis command xreadgroup.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/xreadgroup">xreadgroup</a>.
* @return fluent self
*/
@Fluent
default RedisAPI xreadgroup(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.XREADGROUP, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command xreadgroup.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/xreadgroup">xreadgroup</a>.
* @return Future response.
*/
default Future<@Nullable Response> xreadgroup(List<String> args) {
return send(Command.XREADGROUP, args.toArray(new String[0]));
}
Redis command xrevrange.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/xrevrange">xrevrange</a>.
* @return fluent self
*/
@Fluent
default RedisAPI xrevrange(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.XREVRANGE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command xrevrange.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/xrevrange">xrevrange</a>.
* @return Future response.
*/
default Future<@Nullable Response> xrevrange(List<String> args) {
return send(Command.XREVRANGE, args.toArray(new String[0]));
}
Redis command xsetid.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/xsetid">xsetid</a>.
* @return fluent self
*/
@Fluent
default RedisAPI xsetid(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.XSETID, arg0, arg1).onComplete(handler);
return this;
}
Redis command xsetid.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/xsetid">xsetid</a>.
* @return Future response.
*/
default Future<@Nullable Response> xsetid(String arg0, String arg1) {
return send(Command.XSETID, arg0, arg1);
}
Redis command xtrim.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/xtrim">xtrim</a>.
* @return fluent self
*/
@Fluent
default RedisAPI xtrim(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.XTRIM, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command xtrim.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/xtrim">xtrim</a>.
* @return Future response.
*/
default Future<@Nullable Response> xtrim(List<String> args) {
return send(Command.XTRIM, args.toArray(new String[0]));
}
Redis command zadd.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zadd">zadd</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zadd(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZADD, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command zadd.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zadd">zadd</a>.
* @return Future response.
*/
default Future<@Nullable Response> zadd(List<String> args) {
return send(Command.ZADD, args.toArray(new String[0]));
}
Redis command zcard.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zcard">zcard</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zcard(String arg0, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZCARD, arg0).onComplete(handler);
return this;
}
Redis command zcard.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zcard">zcard</a>.
* @return Future response.
*/
default Future<@Nullable Response> zcard(String arg0) {
return send(Command.ZCARD, arg0);
}
Redis command zcount.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zcount">zcount</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zcount(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZCOUNT, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command zcount.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zcount">zcount</a>.
* @return Future response.
*/
default Future<@Nullable Response> zcount(String arg0, String arg1, String arg2) {
return send(Command.ZCOUNT, arg0, arg1, arg2);
}
Redis command zincrby.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zincrby">zincrby</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zincrby(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZINCRBY, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command zincrby.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zincrby">zincrby</a>.
* @return Future response.
*/
default Future<@Nullable Response> zincrby(String arg0, String arg1, String arg2) {
return send(Command.ZINCRBY, arg0, arg1, arg2);
}
Redis command zinterstore.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zinterstore">zinterstore</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zinterstore(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZINTERSTORE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command zinterstore.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zinterstore">zinterstore</a>.
* @return Future response.
*/
default Future<@Nullable Response> zinterstore(List<String> args) {
return send(Command.ZINTERSTORE, args.toArray(new String[0]));
}
Redis command zlexcount.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zlexcount">zlexcount</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zlexcount(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZLEXCOUNT, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command zlexcount.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zlexcount">zlexcount</a>.
* @return Future response.
*/
default Future<@Nullable Response> zlexcount(String arg0, String arg1, String arg2) {
return send(Command.ZLEXCOUNT, arg0, arg1, arg2);
}
Redis command zpopmax.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zpopmax">zpopmax</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zpopmax(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZPOPMAX, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command zpopmax.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zpopmax">zpopmax</a>.
* @return Future response.
*/
default Future<@Nullable Response> zpopmax(List<String> args) {
return send(Command.ZPOPMAX, args.toArray(new String[0]));
}
Redis command zpopmin.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zpopmin">zpopmin</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zpopmin(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZPOPMIN, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command zpopmin.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zpopmin">zpopmin</a>.
* @return Future response.
*/
default Future<@Nullable Response> zpopmin(List<String> args) {
return send(Command.ZPOPMIN, args.toArray(new String[0]));
}
Redis command zrange.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zrange">zrange</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zrange(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZRANGE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command zrange.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zrange">zrange</a>.
* @return Future response.
*/
default Future<@Nullable Response> zrange(List<String> args) {
return send(Command.ZRANGE, args.toArray(new String[0]));
}
Redis command zrangebylex.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zrangebylex">zrangebylex</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zrangebylex(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZRANGEBYLEX, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command zrangebylex.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zrangebylex">zrangebylex</a>.
* @return Future response.
*/
default Future<@Nullable Response> zrangebylex(List<String> args) {
return send(Command.ZRANGEBYLEX, args.toArray(new String[0]));
}
Redis command zrangebyscore.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zrangebyscore">zrangebyscore</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zrangebyscore(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZRANGEBYSCORE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command zrangebyscore.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zrangebyscore">zrangebyscore</a>.
* @return Future response.
*/
default Future<@Nullable Response> zrangebyscore(List<String> args) {
return send(Command.ZRANGEBYSCORE, args.toArray(new String[0]));
}
Redis command zrank.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zrank">zrank</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zrank(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZRANK, arg0, arg1).onComplete(handler);
return this;
}
Redis command zrank.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zrank">zrank</a>.
* @return Future response.
*/
default Future<@Nullable Response> zrank(String arg0, String arg1) {
return send(Command.ZRANK, arg0, arg1);
}
Redis command zrem.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zrem">zrem</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zrem(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZREM, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command zrem.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zrem">zrem</a>.
* @return Future response.
*/
default Future<@Nullable Response> zrem(List<String> args) {
return send(Command.ZREM, args.toArray(new String[0]));
}
Redis command zremrangebylex.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zremrangebylex">zremrangebylex</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zremrangebylex(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZREMRANGEBYLEX, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command zremrangebylex.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zremrangebylex">zremrangebylex</a>.
* @return Future response.
*/
default Future<@Nullable Response> zremrangebylex(String arg0, String arg1, String arg2) {
return send(Command.ZREMRANGEBYLEX, arg0, arg1, arg2);
}
Redis command zremrangebyrank.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zremrangebyrank">zremrangebyrank</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zremrangebyrank(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZREMRANGEBYRANK, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command zremrangebyrank.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zremrangebyrank">zremrangebyrank</a>.
* @return Future response.
*/
default Future<@Nullable Response> zremrangebyrank(String arg0, String arg1, String arg2) {
return send(Command.ZREMRANGEBYRANK, arg0, arg1, arg2);
}
Redis command zremrangebyscore.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zremrangebyscore">zremrangebyscore</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zremrangebyscore(String arg0, String arg1, String arg2, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZREMRANGEBYSCORE, arg0, arg1, arg2).onComplete(handler);
return this;
}
Redis command zremrangebyscore.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zremrangebyscore">zremrangebyscore</a>.
* @return Future response.
*/
default Future<@Nullable Response> zremrangebyscore(String arg0, String arg1, String arg2) {
return send(Command.ZREMRANGEBYSCORE, arg0, arg1, arg2);
}
Redis command zrevrange.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zrevrange">zrevrange</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zrevrange(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZREVRANGE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command zrevrange.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zrevrange">zrevrange</a>.
* @return Future response.
*/
default Future<@Nullable Response> zrevrange(List<String> args) {
return send(Command.ZREVRANGE, args.toArray(new String[0]));
}
Redis command zrevrangebylex.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zrevrangebylex">zrevrangebylex</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zrevrangebylex(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZREVRANGEBYLEX, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command zrevrangebylex.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zrevrangebylex">zrevrangebylex</a>.
* @return Future response.
*/
default Future<@Nullable Response> zrevrangebylex(List<String> args) {
return send(Command.ZREVRANGEBYLEX, args.toArray(new String[0]));
}
Redis command zrevrangebyscore.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zrevrangebyscore">zrevrangebyscore</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zrevrangebyscore(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZREVRANGEBYSCORE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command zrevrangebyscore.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zrevrangebyscore">zrevrangebyscore</a>.
* @return Future response.
*/
default Future<@Nullable Response> zrevrangebyscore(List<String> args) {
return send(Command.ZREVRANGEBYSCORE, args.toArray(new String[0]));
}
Redis command zrevrank.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zrevrank">zrevrank</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zrevrank(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZREVRANK, arg0, arg1).onComplete(handler);
return this;
}
Redis command zrevrank.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zrevrank">zrevrank</a>.
* @return Future response.
*/
default Future<@Nullable Response> zrevrank(String arg0, String arg1) {
return send(Command.ZREVRANK, arg0, arg1);
}
Redis command zscan.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zscan">zscan</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zscan(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZSCAN, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command zscan.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zscan">zscan</a>.
* @return Future response.
*/
default Future<@Nullable Response> zscan(List<String> args) {
return send(Command.ZSCAN, args.toArray(new String[0]));
}
Redis command zscore.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zscore">zscore</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zscore(String arg0, String arg1, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZSCORE, arg0, arg1).onComplete(handler);
return this;
}
Redis command zscore.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zscore">zscore</a>.
* @return Future response.
*/
default Future<@Nullable Response> zscore(String arg0, String arg1) {
return send(Command.ZSCORE, arg0, arg1);
}
Redis command zunionstore.
Returns: fluent self
/**
* Redis command <a href="https://redis.io/commands/zunionstore">zunionstore</a>.
* @return fluent self
*/
@Fluent
default RedisAPI zunionstore(List<String> args, Handler<AsyncResult<@Nullable Response>> handler) {
send(Command.ZUNIONSTORE, args.toArray(new String[0])).onComplete(handler);
return this;
}
Redis command zunionstore.
Returns: Future response.
/**
* Redis command <a href="https://redis.io/commands/zunionstore">zunionstore</a>.
* @return Future response.
*/
default Future<@Nullable Response> zunionstore(List<String> args) {
return send(Command.ZUNIONSTORE, args.toArray(new String[0]));
}
Send untyped command to redis.
Params: - cmd – the command
- args – var args
Returns: Future response.
/**
* Send untyped command to redis.
*
* @param cmd the command
* @param args var args
* @return Future response.
*/
@GenIgnore
Future<@Nullable Response> send(Command cmd, String... args);
}