Class RedisAPI


  • public class RedisAPI
    extends Object
    Auto generated Redis API client wrapper.

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Field Detail

      • __TYPE_ARG

        public static final io.vertx.lang.rx.TypeArg<RedisAPI> __TYPE_ARG
    • Constructor Detail

      • RedisAPI

        public RedisAPI​(RedisAPI delegate)
      • RedisAPI

        public RedisAPI​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getDelegate

        public RedisAPI getDelegate()
      • close

        public void close()
      • acl

        public Future<Response> acl​(List<String> args)
        A container for Access List Control commands.

        Redis command ACL.

        Parameters:
        args -
        Returns:
        Future response.
      • rxAcl

        public Single<Response> rxAcl​(List<String> args)
        A container for Access List Control commands.

        Redis command ACL.

        Parameters:
        args -
        Returns:
        Future response.
      • append

        public Future<Response> append​(String arg0,
                                       String arg1)
        Append a value to a key.

        Redis command APPEND.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxAppend

        public Single<Response> rxAppend​(String arg0,
                                         String arg1)
        Append a value to a key.

        Redis command APPEND.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • asking

        public Future<Response> asking()
        Sent by cluster clients after an -ASK redirect.

        Redis command ASKING.

        Returns:
        Future response.
      • rxAsking

        public Single<Response> rxAsking()
        Sent by cluster clients after an -ASK redirect.

        Redis command ASKING.

        Returns:
        Future response.
      • auth

        public Future<Response> auth​(List<String> args)
        Authenticate to the server.

        Redis command AUTH.

        Parameters:
        args -
        Returns:
        Future response.
      • rxAuth

        public Single<Response> rxAuth​(List<String> args)
        Authenticate to the server.

        Redis command AUTH.

        Parameters:
        args -
        Returns:
        Future response.
      • bgrewriteaof

        public Future<Response> bgrewriteaof()
        Asynchronously rewrite the append-only file.

        Redis command BGREWRITEAOF.

        Returns:
        Future response.
      • rxBgrewriteaof

        public Single<Response> rxBgrewriteaof()
        Asynchronously rewrite the append-only file.

        Redis command BGREWRITEAOF.

        Returns:
        Future response.
      • bgsave

        public Future<Response> bgsave​(List<String> args)
        Asynchronously save the dataset to disk.

        Redis command BGSAVE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxBgsave

        public Single<Response> rxBgsave​(List<String> args)
        Asynchronously save the dataset to disk.

        Redis command BGSAVE.

        Parameters:
        args -
        Returns:
        Future response.
      • bitcount

        public Future<Response> bitcount​(List<String> args)
        Count set bits in a string.

        Redis command BITCOUNT.

        Parameters:
        args -
        Returns:
        Future response.
      • rxBitcount

        public Single<Response> rxBitcount​(List<String> args)
        Count set bits in a string.

        Redis command BITCOUNT.

        Parameters:
        args -
        Returns:
        Future response.
      • bitfield

        public Future<Response> bitfield​(List<String> args)
        Perform arbitrary bitfield integer operations on strings.

        Redis command BITFIELD.

        Parameters:
        args -
        Returns:
        Future response.
      • rxBitfield

        public Single<Response> rxBitfield​(List<String> args)
        Perform arbitrary bitfield integer operations on strings.

        Redis command BITFIELD.

        Parameters:
        args -
        Returns:
        Future response.
      • bitfieldRo

        public Future<Response> bitfieldRo​(List<String> args)
        Perform arbitrary bitfield integer operations on strings. Read-only variant of BITFIELD.

        Redis command BITFIELD_RO.

        Parameters:
        args -
        Returns:
        Future response.
      • rxBitfieldRo

        public Single<Response> rxBitfieldRo​(List<String> args)
        Perform arbitrary bitfield integer operations on strings. Read-only variant of BITFIELD.

        Redis command BITFIELD_RO.

        Parameters:
        args -
        Returns:
        Future response.
      • bitop

        public Future<Response> bitop​(List<String> args)
        Perform bitwise operations between strings.

        Redis command BITOP.

        Parameters:
        args -
        Returns:
        Future response.
      • rxBitop

        public Single<Response> rxBitop​(List<String> args)
        Perform bitwise operations between strings.

        Redis command BITOP.

        Parameters:
        args -
        Returns:
        Future response.
      • bitpos

        public Future<Response> bitpos​(List<String> args)
        Find first bit set or clear in a string.

        Redis command BITPOS.

        Parameters:
        args -
        Returns:
        Future response.
      • rxBitpos

        public Single<Response> rxBitpos​(List<String> args)
        Find first bit set or clear in a string.

        Redis command BITPOS.

        Parameters:
        args -
        Returns:
        Future response.
      • blmove

        public Future<Response> blmove​(String arg0,
                                       String arg1,
                                       String arg2,
                                       String arg3,
                                       String arg4)
        Pop an element from a list, push it to another list and return it; or block until one is available.

        Redis command BLMOVE.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        arg3 -
        arg4 -
        Returns:
        Future response.
      • rxBlmove

        public Single<Response> rxBlmove​(String arg0,
                                         String arg1,
                                         String arg2,
                                         String arg3,
                                         String arg4)
        Pop an element from a list, push it to another list and return it; or block until one is available.

        Redis command BLMOVE.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        arg3 -
        arg4 -
        Returns:
        Future response.
      • blmpop

        public Future<Response> blmpop​(List<String> args)
        Pop elements from a list, or block until one is available.

        Redis command BLMPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • rxBlmpop

        public Single<Response> rxBlmpop​(List<String> args)
        Pop elements from a list, or block until one is available.

        Redis command BLMPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • blpop

        public Future<Response> blpop​(List<String> args)
        Remove and get the first element in a list, or block until one is available.

        Redis command BLPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • rxBlpop

        public Single<Response> rxBlpop​(List<String> args)
        Remove and get the first element in a list, or block until one is available.

        Redis command BLPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • brpop

        public Future<Response> brpop​(List<String> args)
        Remove and get the last element in a list, or block until one is available.

        Redis command BRPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • rxBrpop

        public Single<Response> rxBrpop​(List<String> args)
        Remove and get the last element in a list, or block until one is available.

        Redis command BRPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • brpoplpush

        @Deprecated
        public Future<Response> brpoplpush​(String arg0,
                                           String arg1,
                                           String arg2)
        Deprecated.
        Pop an element from a list, push it to another list and return it; or block until one is available.

        Redis command BRPOPLPUSH.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxBrpoplpush

        @Deprecated
        public Single<Response> rxBrpoplpush​(String arg0,
                                             String arg1,
                                             String arg2)
        Deprecated.
        Pop an element from a list, push it to another list and return it; or block until one is available.

        Redis command BRPOPLPUSH.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • bzmpop

        public Future<Response> bzmpop​(List<String> args)
        Remove and return members with scores in a sorted set or block until one is available.

        Redis command BZMPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • rxBzmpop

        public Single<Response> rxBzmpop​(List<String> args)
        Remove and return members with scores in a sorted set or block until one is available.

        Redis command BZMPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • bzpopmax

        public Future<Response> bzpopmax​(List<String> args)
        Remove and return the member with the highest score from one or more sorted sets, or block until one is available.

        Redis command BZPOPMAX.

        Parameters:
        args -
        Returns:
        Future response.
      • rxBzpopmax

        public Single<Response> rxBzpopmax​(List<String> args)
        Remove and return the member with the highest score from one or more sorted sets, or block until one is available.

        Redis command BZPOPMAX.

        Parameters:
        args -
        Returns:
        Future response.
      • bzpopmin

        public Future<Response> bzpopmin​(List<String> args)
        Remove and return the member with the lowest score from one or more sorted sets, or block until one is available.

        Redis command BZPOPMIN.

        Parameters:
        args -
        Returns:
        Future response.
      • rxBzpopmin

        public Single<Response> rxBzpopmin​(List<String> args)
        Remove and return the member with the lowest score from one or more sorted sets, or block until one is available.

        Redis command BZPOPMIN.

        Parameters:
        args -
        Returns:
        Future response.
      • client

        public Future<Response> client​(List<String> args)
        A container for client connection commands.

        Redis command CLIENT.

        Parameters:
        args -
        Returns:
        Future response.
      • rxClient

        public Single<Response> rxClient​(List<String> args)
        A container for client connection commands.

        Redis command CLIENT.

        Parameters:
        args -
        Returns:
        Future response.
      • cluster

        public Future<Response> cluster​(List<String> args)
        A container for cluster commands.

        Redis command CLUSTER.

        Parameters:
        args -
        Returns:
        Future response.
      • rxCluster

        public Single<Response> rxCluster​(List<String> args)
        A container for cluster commands.

        Redis command CLUSTER.

        Parameters:
        args -
        Returns:
        Future response.
      • command

        public Future<Response> command​(List<String> args)
        Get array of Redis command details.

        Redis command COMMAND.

        Parameters:
        args -
        Returns:
        Future response.
      • rxCommand

        public Single<Response> rxCommand​(List<String> args)
        Get array of Redis command details.

        Redis command COMMAND.

        Parameters:
        args -
        Returns:
        Future response.
      • config

        public Future<Response> config​(List<String> args)
        A container for server configuration commands.

        Redis command CONFIG.

        Parameters:
        args -
        Returns:
        Future response.
      • rxConfig

        public Single<Response> rxConfig​(List<String> args)
        A container for server configuration commands.

        Redis command CONFIG.

        Parameters:
        args -
        Returns:
        Future response.
      • rxCopy

        public Single<Response> rxCopy​(List<String> args)
        Copy a key.

        Redis command COPY.

        Parameters:
        args -
        Returns:
        Future response.
      • dbsize

        public Future<Response> dbsize()
        Return the number of keys in the selected database.

        Redis command DBSIZE.

        Returns:
        Future response.
      • rxDbsize

        public Single<Response> rxDbsize()
        Return the number of keys in the selected database.

        Redis command DBSIZE.

        Returns:
        Future response.
      • debug

        public Future<Response> debug​(List<String> args)
        A container for debugging commands.

        Redis command DEBUG.

        Parameters:
        args -
        Returns:
        Future response.
      • rxDebug

        public Single<Response> rxDebug​(List<String> args)
        A container for debugging commands.

        Redis command DEBUG.

        Parameters:
        args -
        Returns:
        Future response.
      • decr

        public Future<Response> decr​(String arg0)
        Decrement the integer value of a key by one.

        Redis command DECR.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxDecr

        public Single<Response> rxDecr​(String arg0)
        Decrement the integer value of a key by one.

        Redis command DECR.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • decrby

        public Future<Response> decrby​(String arg0,
                                       String arg1)
        Decrement the integer value of a key by the given number.

        Redis command DECRBY.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxDecrby

        public Single<Response> rxDecrby​(String arg0,
                                         String arg1)
        Decrement the integer value of a key by the given number.

        Redis command DECRBY.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • del

        public Future<Response> del​(List<String> args)
        Delete a key.

        Redis command DEL.

        Parameters:
        args -
        Returns:
        Future response.
      • rxDel

        public Single<Response> rxDel​(List<String> args)
        Delete a key.

        Redis command DEL.

        Parameters:
        args -
        Returns:
        Future response.
      • discard

        public Future<Response> discard()
        Discard all commands issued after MULTI.

        Redis command DISCARD.

        Returns:
        Future response.
      • rxDiscard

        public Single<Response> rxDiscard()
        Discard all commands issued after MULTI.

        Redis command DISCARD.

        Returns:
        Future response.
      • dump

        public Future<Response> dump​(String arg0)
        Return a serialized version of the value stored at the specified key.

        Redis command DUMP.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxDump

        public Single<Response> rxDump​(String arg0)
        Return a serialized version of the value stored at the specified key.

        Redis command DUMP.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • echo

        public Future<Response> echo​(String arg0)
        Echo the given string.

        Redis command ECHO.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxEcho

        public Single<Response> rxEcho​(String arg0)
        Echo the given string.

        Redis command ECHO.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • eval

        public Future<Response> eval​(List<String> args)
        Execute a Lua script server side.

        Redis command EVAL.

        Parameters:
        args -
        Returns:
        Future response.
      • rxEval

        public Single<Response> rxEval​(List<String> args)
        Execute a Lua script server side.

        Redis command EVAL.

        Parameters:
        args -
        Returns:
        Future response.
      • evalRo

        public Future<Response> evalRo​(List<String> args)
        Execute a read-only Lua script server side.

        Redis command EVAL_RO.

        Parameters:
        args -
        Returns:
        Future response.
      • rxEvalRo

        public Single<Response> rxEvalRo​(List<String> args)
        Execute a read-only Lua script server side.

        Redis command EVAL_RO.

        Parameters:
        args -
        Returns:
        Future response.
      • evalsha

        public Future<Response> evalsha​(List<String> args)
        Execute a Lua script server side.

        Redis command EVALSHA.

        Parameters:
        args -
        Returns:
        Future response.
      • rxEvalsha

        public Single<Response> rxEvalsha​(List<String> args)
        Execute a Lua script server side.

        Redis command EVALSHA.

        Parameters:
        args -
        Returns:
        Future response.
      • evalshaRo

        public Future<Response> evalshaRo​(List<String> args)
        Execute a read-only Lua script server side.

        Redis command EVALSHA_RO.

        Parameters:
        args -
        Returns:
        Future response.
      • rxEvalshaRo

        public Single<Response> rxEvalshaRo​(List<String> args)
        Execute a read-only Lua script server side.

        Redis command EVALSHA_RO.

        Parameters:
        args -
        Returns:
        Future response.
      • exec

        public Future<Response> exec()
        Execute all commands issued after MULTI.

        Redis command EXEC.

        Returns:
        Future response.
      • rxExec

        public Single<Response> rxExec()
        Execute all commands issued after MULTI.

        Redis command EXEC.

        Returns:
        Future response.
      • exists

        public Future<Response> exists​(List<String> args)
        Determine if a key exists.

        Redis command EXISTS.

        Parameters:
        args -
        Returns:
        Future response.
      • rxExists

        public Single<Response> rxExists​(List<String> args)
        Determine if a key exists.

        Redis command EXISTS.

        Parameters:
        args -
        Returns:
        Future response.
      • expire

        public Future<Response> expire​(List<String> args)
        Set a key's time to live in seconds.

        Redis command EXPIRE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxExpire

        public Single<Response> rxExpire​(List<String> args)
        Set a key's time to live in seconds.

        Redis command EXPIRE.

        Parameters:
        args -
        Returns:
        Future response.
      • expireat

        public Future<Response> expireat​(List<String> args)
        Set the expiration for a key as a UNIX timestamp.

        Redis command EXPIREAT.

        Parameters:
        args -
        Returns:
        Future response.
      • rxExpireat

        public Single<Response> rxExpireat​(List<String> args)
        Set the expiration for a key as a UNIX timestamp.

        Redis command EXPIREAT.

        Parameters:
        args -
        Returns:
        Future response.
      • expiretime

        public Future<Response> expiretime​(String arg0)
        Get the expiration Unix timestamp for a key.

        Redis command EXPIRETIME.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxExpiretime

        public Single<Response> rxExpiretime​(String arg0)
        Get the expiration Unix timestamp for a key.

        Redis command EXPIRETIME.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • failover

        public Future<Response> failover​(List<String> args)
        Start a coordinated failover between this server and one of its replicas.

        Redis command FAILOVER.

        Parameters:
        args -
        Returns:
        Future response.
      • rxFailover

        public Single<Response> rxFailover​(List<String> args)
        Start a coordinated failover between this server and one of its replicas.

        Redis command FAILOVER.

        Parameters:
        args -
        Returns:
        Future response.
      • fcall

        public Future<Response> fcall​(List<String> args)
        Invoke a function.

        Redis command FCALL.

        Parameters:
        args -
        Returns:
        Future response.
      • rxFcall

        public Single<Response> rxFcall​(List<String> args)
        Invoke a function.

        Redis command FCALL.

        Parameters:
        args -
        Returns:
        Future response.
      • fcallRo

        public Future<Response> fcallRo​(List<String> args)
        Invoke a read-only function.

        Redis command FCALL_RO.

        Parameters:
        args -
        Returns:
        Future response.
      • rxFcallRo

        public Single<Response> rxFcallRo​(List<String> args)
        Invoke a read-only function.

        Redis command FCALL_RO.

        Parameters:
        args -
        Returns:
        Future response.
      • flushall

        public Future<Response> flushall​(List<String> args)
        Remove all keys from all databases.

        Redis command FLUSHALL.

        Parameters:
        args -
        Returns:
        Future response.
      • rxFlushall

        public Single<Response> rxFlushall​(List<String> args)
        Remove all keys from all databases.

        Redis command FLUSHALL.

        Parameters:
        args -
        Returns:
        Future response.
      • flushdb

        public Future<Response> flushdb​(List<String> args)
        Remove all keys from the current database.

        Redis command FLUSHDB.

        Parameters:
        args -
        Returns:
        Future response.
      • rxFlushdb

        public Single<Response> rxFlushdb​(List<String> args)
        Remove all keys from the current database.

        Redis command FLUSHDB.

        Parameters:
        args -
        Returns:
        Future response.
      • function

        public Future<Response> function​(List<String> args)
        A container for function commands.

        Redis command FUNCTION.

        Parameters:
        args -
        Returns:
        Future response.
      • rxFunction

        public Single<Response> rxFunction​(List<String> args)
        A container for function commands.

        Redis command FUNCTION.

        Parameters:
        args -
        Returns:
        Future response.
      • geoadd

        public Future<Response> geoadd​(List<String> args)
        Add one or more geospatial items in the geospatial index represented using a sorted set.

        Redis command GEOADD.

        Parameters:
        args -
        Returns:
        Future response.
      • rxGeoadd

        public Single<Response> rxGeoadd​(List<String> args)
        Add one or more geospatial items in the geospatial index represented using a sorted set.

        Redis command GEOADD.

        Parameters:
        args -
        Returns:
        Future response.
      • geodist

        public Future<Response> geodist​(List<String> args)
        Returns the distance between two members of a geospatial index.

        Redis command GEODIST.

        Parameters:
        args -
        Returns:
        Future response.
      • rxGeodist

        public Single<Response> rxGeodist​(List<String> args)
        Returns the distance between two members of a geospatial index.

        Redis command GEODIST.

        Parameters:
        args -
        Returns:
        Future response.
      • geohash

        public Future<Response> geohash​(List<String> args)
        Returns members of a geospatial index as standard geohash strings.

        Redis command GEOHASH.

        Parameters:
        args -
        Returns:
        Future response.
      • rxGeohash

        public Single<Response> rxGeohash​(List<String> args)
        Returns members of a geospatial index as standard geohash strings.

        Redis command GEOHASH.

        Parameters:
        args -
        Returns:
        Future response.
      • geopos

        public Future<Response> geopos​(List<String> args)
        Returns longitude and latitude of members of a geospatial index.

        Redis command GEOPOS.

        Parameters:
        args -
        Returns:
        Future response.
      • rxGeopos

        public Single<Response> rxGeopos​(List<String> args)
        Returns longitude and latitude of members of a geospatial index.

        Redis command GEOPOS.

        Parameters:
        args -
        Returns:
        Future response.
      • georadius

        @Deprecated
        public Future<Response> georadius​(List<String> args)
        Deprecated.
        Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point.

        Redis command GEORADIUS.

        Parameters:
        args -
        Returns:
        Future response.
      • rxGeoradius

        @Deprecated
        public Single<Response> rxGeoradius​(List<String> args)
        Deprecated.
        Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point.

        Redis command GEORADIUS.

        Parameters:
        args -
        Returns:
        Future response.
      • georadiusbymember

        @Deprecated
        public Future<Response> georadiusbymember​(List<String> args)
        Deprecated.
        Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member.

        Redis command GEORADIUSBYMEMBER.

        Parameters:
        args -
        Returns:
        Future response.
      • rxGeoradiusbymember

        @Deprecated
        public Single<Response> rxGeoradiusbymember​(List<String> args)
        Deprecated.
        Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member.

        Redis command GEORADIUSBYMEMBER.

        Parameters:
        args -
        Returns:
        Future response.
      • geosearch

        public Future<Response> geosearch​(List<String> args)
        Query a sorted set representing a geospatial index to fetch members inside an area of a box or a circle.

        Redis command GEOSEARCH.

        Parameters:
        args -
        Returns:
        Future response.
      • rxGeosearch

        public Single<Response> rxGeosearch​(List<String> args)
        Query a sorted set representing a geospatial index to fetch members inside an area of a box or a circle.

        Redis command GEOSEARCH.

        Parameters:
        args -
        Returns:
        Future response.
      • geosearchstore

        public Future<Response> geosearchstore​(List<String> args)
        Query a sorted set representing a geospatial index to fetch members inside an area of a box or a circle, and store the result in another key.

        Redis command GEOSEARCHSTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxGeosearchstore

        public Single<Response> rxGeosearchstore​(List<String> args)
        Query a sorted set representing a geospatial index to fetch members inside an area of a box or a circle, and store the result in another key.

        Redis command GEOSEARCHSTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • get

        public Future<Response> get​(String arg0)
        Get the value of a key.

        Redis command GET.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxGet

        public Single<Response> rxGet​(String arg0)
        Get the value of a key.

        Redis command GET.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • getbit

        public Future<Response> getbit​(String arg0,
                                       String arg1)
        Returns the bit value at offset in the string value stored at key.

        Redis command GETBIT.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxGetbit

        public Single<Response> rxGetbit​(String arg0,
                                         String arg1)
        Returns the bit value at offset in the string value stored at key.

        Redis command GETBIT.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • getdel

        public Future<Response> getdel​(String arg0)
        Get the value of a key and delete the key.

        Redis command GETDEL.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxGetdel

        public Single<Response> rxGetdel​(String arg0)
        Get the value of a key and delete the key.

        Redis command GETDEL.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • getex

        public Future<Response> getex​(List<String> args)
        Get the value of a key and optionally set its expiration.

        Redis command GETEX.

        Parameters:
        args -
        Returns:
        Future response.
      • rxGetex

        public Single<Response> rxGetex​(List<String> args)
        Get the value of a key and optionally set its expiration.

        Redis command GETEX.

        Parameters:
        args -
        Returns:
        Future response.
      • getrange

        public Future<Response> getrange​(String arg0,
                                         String arg1,
                                         String arg2)
        Get a substring of the string stored at a key.

        Redis command GETRANGE.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxGetrange

        public Single<Response> rxGetrange​(String arg0,
                                           String arg1,
                                           String arg2)
        Get a substring of the string stored at a key.

        Redis command GETRANGE.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • getset

        @Deprecated
        public Future<Response> getset​(String arg0,
                                       String arg1)
        Deprecated.
        Set the string value of a key and return its old value.

        Redis command GETSET.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxGetset

        @Deprecated
        public Single<Response> rxGetset​(String arg0,
                                         String arg1)
        Deprecated.
        Set the string value of a key and return its old value.

        Redis command GETSET.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • hdel

        public Future<Response> hdel​(List<String> args)
        Delete one or more hash fields.

        Redis command HDEL.

        Parameters:
        args -
        Returns:
        Future response.
      • rxHdel

        public Single<Response> rxHdel​(List<String> args)
        Delete one or more hash fields.

        Redis command HDEL.

        Parameters:
        args -
        Returns:
        Future response.
      • hello

        public Future<Response> hello​(List<String> args)
        Handshake with Redis.

        Redis command HELLO.

        Parameters:
        args -
        Returns:
        Future response.
      • rxHello

        public Single<Response> rxHello​(List<String> args)
        Handshake with Redis.

        Redis command HELLO.

        Parameters:
        args -
        Returns:
        Future response.
      • hexists

        public Future<Response> hexists​(String arg0,
                                        String arg1)
        Determine if a hash field exists.

        Redis command HEXISTS.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxHexists

        public Single<Response> rxHexists​(String arg0,
                                          String arg1)
        Determine if a hash field exists.

        Redis command HEXISTS.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • hget

        public Future<Response> hget​(String arg0,
                                     String arg1)
        Get the value of a hash field.

        Redis command HGET.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxHget

        public Single<Response> rxHget​(String arg0,
                                       String arg1)
        Get the value of a hash field.

        Redis command HGET.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • hgetall

        public Future<Response> hgetall​(String arg0)
        Get all the fields and values in a hash.

        Redis command HGETALL.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxHgetall

        public Single<Response> rxHgetall​(String arg0)
        Get all the fields and values in a hash.

        Redis command HGETALL.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • hincrby

        public Future<Response> hincrby​(String arg0,
                                        String arg1,
                                        String arg2)
        Increment the integer value of a hash field by the given number.

        Redis command HINCRBY.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxHincrby

        public Single<Response> rxHincrby​(String arg0,
                                          String arg1,
                                          String arg2)
        Increment the integer value of a hash field by the given number.

        Redis command HINCRBY.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • hincrbyfloat

        public Future<Response> hincrbyfloat​(String arg0,
                                             String arg1,
                                             String arg2)
        Increment the float value of a hash field by the given amount.

        Redis command HINCRBYFLOAT.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxHincrbyfloat

        public Single<Response> rxHincrbyfloat​(String arg0,
                                               String arg1,
                                               String arg2)
        Increment the float value of a hash field by the given amount.

        Redis command HINCRBYFLOAT.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • hkeys

        public Future<Response> hkeys​(String arg0)
        Get all the fields in a hash.

        Redis command HKEYS.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxHkeys

        public Single<Response> rxHkeys​(String arg0)
        Get all the fields in a hash.

        Redis command HKEYS.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • hlen

        public Future<Response> hlen​(String arg0)
        Get the number of fields in a hash.

        Redis command HLEN.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxHlen

        public Single<Response> rxHlen​(String arg0)
        Get the number of fields in a hash.

        Redis command HLEN.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • hmget

        public Future<Response> hmget​(List<String> args)
        Get the values of all the given hash fields.

        Redis command HMGET.

        Parameters:
        args -
        Returns:
        Future response.
      • rxHmget

        public Single<Response> rxHmget​(List<String> args)
        Get the values of all the given hash fields.

        Redis command HMGET.

        Parameters:
        args -
        Returns:
        Future response.
      • rxHmset

        @Deprecated
        public Single<Response> rxHmset​(List<String> args)
        Deprecated.
        Set multiple hash fields to multiple values.

        Redis command HMSET.

        Parameters:
        args -
        Returns:
        Future response.
      • hrandfield

        public Future<Response> hrandfield​(List<String> args)
        Get one or multiple random fields from a hash.

        Redis command HRANDFIELD.

        Parameters:
        args -
        Returns:
        Future response.
      • rxHrandfield

        public Single<Response> rxHrandfield​(List<String> args)
        Get one or multiple random fields from a hash.

        Redis command HRANDFIELD.

        Parameters:
        args -
        Returns:
        Future response.
      • hscan

        public Future<Response> hscan​(List<String> args)
        Incrementally iterate hash fields and associated values.

        Redis command HSCAN.

        Parameters:
        args -
        Returns:
        Future response.
      • rxHscan

        public Single<Response> rxHscan​(List<String> args)
        Incrementally iterate hash fields and associated values.

        Redis command HSCAN.

        Parameters:
        args -
        Returns:
        Future response.
      • hset

        public Future<Response> hset​(List<String> args)
        Set the string value of a hash field.

        Redis command HSET.

        Parameters:
        args -
        Returns:
        Future response.
      • rxHset

        public Single<Response> rxHset​(List<String> args)
        Set the string value of a hash field.

        Redis command HSET.

        Parameters:
        args -
        Returns:
        Future response.
      • hsetnx

        public Future<Response> hsetnx​(String arg0,
                                       String arg1,
                                       String arg2)
        Set the value of a hash field, only if the field does not exist.

        Redis command HSETNX.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxHsetnx

        public Single<Response> rxHsetnx​(String arg0,
                                         String arg1,
                                         String arg2)
        Set the value of a hash field, only if the field does not exist.

        Redis command HSETNX.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • hstrlen

        public Future<Response> hstrlen​(String arg0,
                                        String arg1)
        Get the length of the value of a hash field.

        Redis command HSTRLEN.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxHstrlen

        public Single<Response> rxHstrlen​(String arg0,
                                          String arg1)
        Get the length of the value of a hash field.

        Redis command HSTRLEN.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • hvals

        public Future<Response> hvals​(String arg0)
        Get all the values in a hash.

        Redis command HVALS.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxHvals

        public Single<Response> rxHvals​(String arg0)
        Get all the values in a hash.

        Redis command HVALS.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • incr

        public Future<Response> incr​(String arg0)
        Increment the integer value of a key by one.

        Redis command INCR.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxIncr

        public Single<Response> rxIncr​(String arg0)
        Increment the integer value of a key by one.

        Redis command INCR.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • incrby

        public Future<Response> incrby​(String arg0,
                                       String arg1)
        Increment the integer value of a key by the given amount.

        Redis command INCRBY.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxIncrby

        public Single<Response> rxIncrby​(String arg0,
                                         String arg1)
        Increment the integer value of a key by the given amount.

        Redis command INCRBY.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • incrbyfloat

        public Future<Response> incrbyfloat​(String arg0,
                                            String arg1)
        Increment the float value of a key by the given amount.

        Redis command INCRBYFLOAT.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxIncrbyfloat

        public Single<Response> rxIncrbyfloat​(String arg0,
                                              String arg1)
        Increment the float value of a key by the given amount.

        Redis command INCRBYFLOAT.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • info

        public Future<Response> info​(List<String> args)
        Get information and statistics about the server.

        Redis command INFO.

        Parameters:
        args -
        Returns:
        Future response.
      • rxInfo

        public Single<Response> rxInfo​(List<String> args)
        Get information and statistics about the server.

        Redis command INFO.

        Parameters:
        args -
        Returns:
        Future response.
      • keys

        public Future<Response> keys​(String arg0)
        Find all keys matching the given pattern.

        Redis command KEYS.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxKeys

        public Single<Response> rxKeys​(String arg0)
        Find all keys matching the given pattern.

        Redis command KEYS.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • lastsave

        public Future<Response> lastsave()
        Get the UNIX time stamp of the last successful save to disk.

        Redis command LASTSAVE.

        Returns:
        Future response.
      • rxLastsave

        public Single<Response> rxLastsave()
        Get the UNIX time stamp of the last successful save to disk.

        Redis command LASTSAVE.

        Returns:
        Future response.
      • latency

        public Future<Response> latency​(List<String> args)
        A container for latency diagnostics commands.

        Redis command LATENCY.

        Parameters:
        args -
        Returns:
        Future response.
      • rxLatency

        public Single<Response> rxLatency​(List<String> args)
        A container for latency diagnostics commands.

        Redis command LATENCY.

        Parameters:
        args -
        Returns:
        Future response.
      • lcs

        public Future<Response> lcs​(List<String> args)
        Find longest common substring.

        Redis command LCS.

        Parameters:
        args -
        Returns:
        Future response.
      • rxLcs

        public Single<Response> rxLcs​(List<String> args)
        Find longest common substring.

        Redis command LCS.

        Parameters:
        args -
        Returns:
        Future response.
      • lindex

        public Future<Response> lindex​(String arg0,
                                       String arg1)
        Get an element from a list by its index.

        Redis command LINDEX.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxLindex

        public Single<Response> rxLindex​(String arg0,
                                         String arg1)
        Get an element from a list by its index.

        Redis command LINDEX.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • linsert

        public Future<Response> linsert​(String arg0,
                                        String arg1,
                                        String arg2,
                                        String arg3)
        Insert an element before or after another element in a list.

        Redis command LINSERT.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        arg3 -
        Returns:
        Future response.
      • rxLinsert

        public Single<Response> rxLinsert​(String arg0,
                                          String arg1,
                                          String arg2,
                                          String arg3)
        Insert an element before or after another element in a list.

        Redis command LINSERT.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        arg3 -
        Returns:
        Future response.
      • llen

        public Future<Response> llen​(String arg0)
        Get the length of a list.

        Redis command LLEN.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxLlen

        public Single<Response> rxLlen​(String arg0)
        Get the length of a list.

        Redis command LLEN.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • lmove

        public Future<Response> lmove​(String arg0,
                                      String arg1,
                                      String arg2,
                                      String arg3)
        Pop an element from a list, push it to another list and return it.

        Redis command LMOVE.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        arg3 -
        Returns:
        Future response.
      • rxLmove

        public Single<Response> rxLmove​(String arg0,
                                        String arg1,
                                        String arg2,
                                        String arg3)
        Pop an element from a list, push it to another list and return it.

        Redis command LMOVE.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        arg3 -
        Returns:
        Future response.
      • lmpop

        public Future<Response> lmpop​(List<String> args)
        Pop elements from a list.

        Redis command LMPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • rxLmpop

        public Single<Response> rxLmpop​(List<String> args)
        Pop elements from a list.

        Redis command LMPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • lolwut

        public Future<Response> lolwut​(List<String> args)
        Display some computer art and the Redis version.

        Redis command LOLWUT.

        Parameters:
        args -
        Returns:
        Future response.
      • rxLolwut

        public Single<Response> rxLolwut​(List<String> args)
        Display some computer art and the Redis version.

        Redis command LOLWUT.

        Parameters:
        args -
        Returns:
        Future response.
      • lpop

        public Future<Response> lpop​(List<String> args)
        Remove and get the first elements in a list.

        Redis command LPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • rxLpop

        public Single<Response> rxLpop​(List<String> args)
        Remove and get the first elements in a list.

        Redis command LPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • lpos

        public Future<Response> lpos​(List<String> args)
        Return the index of matching elements on a list.

        Redis command LPOS.

        Parameters:
        args -
        Returns:
        Future response.
      • rxLpos

        public Single<Response> rxLpos​(List<String> args)
        Return the index of matching elements on a list.

        Redis command LPOS.

        Parameters:
        args -
        Returns:
        Future response.
      • lpush

        public Future<Response> lpush​(List<String> args)
        Prepend one or multiple elements to a list.

        Redis command LPUSH.

        Parameters:
        args -
        Returns:
        Future response.
      • rxLpush

        public Single<Response> rxLpush​(List<String> args)
        Prepend one or multiple elements to a list.

        Redis command LPUSH.

        Parameters:
        args -
        Returns:
        Future response.
      • lpushx

        public Future<Response> lpushx​(List<String> args)
        Prepend an element to a list, only if the list exists.

        Redis command LPUSHX.

        Parameters:
        args -
        Returns:
        Future response.
      • rxLpushx

        public Single<Response> rxLpushx​(List<String> args)
        Prepend an element to a list, only if the list exists.

        Redis command LPUSHX.

        Parameters:
        args -
        Returns:
        Future response.
      • lrange

        public Future<Response> lrange​(String arg0,
                                       String arg1,
                                       String arg2)
        Get a range of elements from a list.

        Redis command LRANGE.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxLrange

        public Single<Response> rxLrange​(String arg0,
                                         String arg1,
                                         String arg2)
        Get a range of elements from a list.

        Redis command LRANGE.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • lrem

        public Future<Response> lrem​(String arg0,
                                     String arg1,
                                     String arg2)
        Remove elements from a list.

        Redis command LREM.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxLrem

        public Single<Response> rxLrem​(String arg0,
                                       String arg1,
                                       String arg2)
        Remove elements from a list.

        Redis command LREM.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • lset

        public Future<Response> lset​(String arg0,
                                     String arg1,
                                     String arg2)
        Set the value of an element in a list by its index.

        Redis command LSET.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxLset

        public Single<Response> rxLset​(String arg0,
                                       String arg1,
                                       String arg2)
        Set the value of an element in a list by its index.

        Redis command LSET.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • ltrim

        public Future<Response> ltrim​(String arg0,
                                      String arg1,
                                      String arg2)
        Trim a list to the specified range.

        Redis command LTRIM.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxLtrim

        public Single<Response> rxLtrim​(String arg0,
                                        String arg1,
                                        String arg2)
        Trim a list to the specified range.

        Redis command LTRIM.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • memory

        public Future<Response> memory​(List<String> args)
        A container for memory diagnostics commands.

        Redis command MEMORY.

        Parameters:
        args -
        Returns:
        Future response.
      • rxMemory

        public Single<Response> rxMemory​(List<String> args)
        A container for memory diagnostics commands.

        Redis command MEMORY.

        Parameters:
        args -
        Returns:
        Future response.
      • mget

        public Future<Response> mget​(List<String> args)
        Get the values of all the given keys.

        Redis command MGET.

        Parameters:
        args -
        Returns:
        Future response.
      • rxMget

        public Single<Response> rxMget​(List<String> args)
        Get the values of all the given keys.

        Redis command MGET.

        Parameters:
        args -
        Returns:
        Future response.
      • migrate

        public Future<Response> migrate​(List<String> args)
        Atomically transfer a key from a Redis instance to another one.

        Redis command MIGRATE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxMigrate

        public Single<Response> rxMigrate​(List<String> args)
        Atomically transfer a key from a Redis instance to another one.

        Redis command MIGRATE.

        Parameters:
        args -
        Returns:
        Future response.
      • module

        public Future<Response> module​(List<String> args)
        A container for module commands.

        Redis command MODULE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxModule

        public Single<Response> rxModule​(List<String> args)
        A container for module commands.

        Redis command MODULE.

        Parameters:
        args -
        Returns:
        Future response.
      • monitor

        public Future<Response> monitor()
        Listen for all requests received by the server in real time.

        Redis command MONITOR.

        Returns:
        Future response.
      • rxMonitor

        public Single<Response> rxMonitor()
        Listen for all requests received by the server in real time.

        Redis command MONITOR.

        Returns:
        Future response.
      • move

        public Future<Response> move​(String arg0,
                                     String arg1)
        Move a key to another database.

        Redis command MOVE.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxMove

        public Single<Response> rxMove​(String arg0,
                                       String arg1)
        Move a key to another database.

        Redis command MOVE.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • mset

        public Future<Response> mset​(List<String> args)
        Set multiple keys to multiple values.

        Redis command MSET.

        Parameters:
        args -
        Returns:
        Future response.
      • rxMset

        public Single<Response> rxMset​(List<String> args)
        Set multiple keys to multiple values.

        Redis command MSET.

        Parameters:
        args -
        Returns:
        Future response.
      • msetnx

        public Future<Response> msetnx​(List<String> args)
        Set multiple keys to multiple values, only if none of the keys exist.

        Redis command MSETNX.

        Parameters:
        args -
        Returns:
        Future response.
      • rxMsetnx

        public Single<Response> rxMsetnx​(List<String> args)
        Set multiple keys to multiple values, only if none of the keys exist.

        Redis command MSETNX.

        Parameters:
        args -
        Returns:
        Future response.
      • multi

        public Future<Response> multi()
        Mark the start of a transaction block.

        Redis command MULTI.

        Returns:
        Future response.
      • rxMulti

        public Single<Response> rxMulti()
        Mark the start of a transaction block.

        Redis command MULTI.

        Returns:
        Future response.
      • object

        public Future<Response> object​(List<String> args)
        A container for object introspection commands.

        Redis command OBJECT.

        Parameters:
        args -
        Returns:
        Future response.
      • rxObject

        public Single<Response> rxObject​(List<String> args)
        A container for object introspection commands.

        Redis command OBJECT.

        Parameters:
        args -
        Returns:
        Future response.
      • persist

        public Future<Response> persist​(String arg0)
        Remove the expiration from a key.

        Redis command PERSIST.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxPersist

        public Single<Response> rxPersist​(String arg0)
        Remove the expiration from a key.

        Redis command PERSIST.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • pexpire

        public Future<Response> pexpire​(List<String> args)
        Set a key's time to live in milliseconds.

        Redis command PEXPIRE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxPexpire

        public Single<Response> rxPexpire​(List<String> args)
        Set a key's time to live in milliseconds.

        Redis command PEXPIRE.

        Parameters:
        args -
        Returns:
        Future response.
      • pexpireat

        public Future<Response> pexpireat​(List<String> args)
        Set the expiration for a key as a UNIX timestamp specified in milliseconds.

        Redis command PEXPIREAT.

        Parameters:
        args -
        Returns:
        Future response.
      • rxPexpireat

        public Single<Response> rxPexpireat​(List<String> args)
        Set the expiration for a key as a UNIX timestamp specified in milliseconds.

        Redis command PEXPIREAT.

        Parameters:
        args -
        Returns:
        Future response.
      • pexpiretime

        public Future<Response> pexpiretime​(String arg0)
        Get the expiration Unix timestamp for a key in milliseconds.

        Redis command PEXPIRETIME.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxPexpiretime

        public Single<Response> rxPexpiretime​(String arg0)
        Get the expiration Unix timestamp for a key in milliseconds.

        Redis command PEXPIRETIME.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • pfadd

        public Future<Response> pfadd​(List<String> args)
        Adds the specified elements to the specified HyperLogLog.

        Redis command PFADD.

        Parameters:
        args -
        Returns:
        Future response.
      • rxPfadd

        public Single<Response> rxPfadd​(List<String> args)
        Adds the specified elements to the specified HyperLogLog.

        Redis command PFADD.

        Parameters:
        args -
        Returns:
        Future response.
      • pfcount

        public Future<Response> pfcount​(List<String> args)
        Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).

        Redis command PFCOUNT.

        Parameters:
        args -
        Returns:
        Future response.
      • rxPfcount

        public Single<Response> rxPfcount​(List<String> args)
        Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).

        Redis command PFCOUNT.

        Parameters:
        args -
        Returns:
        Future response.
      • pfdebug

        public Future<Response> pfdebug​(String arg0,
                                        String arg1)
        Internal commands for debugging HyperLogLog values.

        Redis command PFDEBUG.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxPfdebug

        public Single<Response> rxPfdebug​(String arg0,
                                          String arg1)
        Internal commands for debugging HyperLogLog values.

        Redis command PFDEBUG.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • pfmerge

        public Future<Response> pfmerge​(List<String> args)
        Merge N different HyperLogLogs into a single one.

        Redis command PFMERGE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxPfmerge

        public Single<Response> rxPfmerge​(List<String> args)
        Merge N different HyperLogLogs into a single one.

        Redis command PFMERGE.

        Parameters:
        args -
        Returns:
        Future response.
      • pfselftest

        public Future<Response> pfselftest()
        An internal command for testing HyperLogLog values.

        Redis command PFSELFTEST.

        Returns:
        Future response.
      • rxPfselftest

        public Single<Response> rxPfselftest()
        An internal command for testing HyperLogLog values.

        Redis command PFSELFTEST.

        Returns:
        Future response.
      • ping

        public Future<Response> ping​(List<String> args)
        Ping the server.

        Redis command PING.

        Parameters:
        args -
        Returns:
        Future response.
      • rxPing

        public Single<Response> rxPing​(List<String> args)
        Ping the server.

        Redis command PING.

        Parameters:
        args -
        Returns:
        Future response.
      • psetex

        public Future<Response> psetex​(String arg0,
                                       String arg1,
                                       String arg2)
        Set the value and expiration in milliseconds of a key.

        Redis command PSETEX.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxPsetex

        public Single<Response> rxPsetex​(String arg0,
                                         String arg1,
                                         String arg2)
        Set the value and expiration in milliseconds of a key.

        Redis command PSETEX.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • psubscribe

        public Future<Response> psubscribe​(List<String> args)
        Listen for messages published to channels matching the given patterns.

        Redis command PSUBSCRIBE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxPsubscribe

        public Single<Response> rxPsubscribe​(List<String> args)
        Listen for messages published to channels matching the given patterns.

        Redis command PSUBSCRIBE.

        Parameters:
        args -
        Returns:
        Future response.
      • psync

        public Future<Response> psync​(List<String> args)
        Internal command used for replication.

        Redis command PSYNC.

        Parameters:
        args -
        Returns:
        Future response.
      • rxPsync

        public Single<Response> rxPsync​(List<String> args)
        Internal command used for replication.

        Redis command PSYNC.

        Parameters:
        args -
        Returns:
        Future response.
      • pttl

        public Future<Response> pttl​(String arg0)
        Get the time to live for a key in milliseconds.

        Redis command PTTL.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxPttl

        public Single<Response> rxPttl​(String arg0)
        Get the time to live for a key in milliseconds.

        Redis command PTTL.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • publish

        public Future<Response> publish​(String arg0,
                                        String arg1)
        Post a message to a channel.

        Redis command PUBLISH.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxPublish

        public Single<Response> rxPublish​(String arg0,
                                          String arg1)
        Post a message to a channel.

        Redis command PUBLISH.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • pubsub

        public Future<Response> pubsub​(List<String> args)
        A container for Pub/Sub commands.

        Redis command PUBSUB.

        Parameters:
        args -
        Returns:
        Future response.
      • rxPubsub

        public Single<Response> rxPubsub​(List<String> args)
        A container for Pub/Sub commands.

        Redis command PUBSUB.

        Parameters:
        args -
        Returns:
        Future response.
      • punsubscribe

        public Future<Response> punsubscribe​(List<String> args)
        Stop listening for messages posted to channels matching the given patterns.

        Redis command PUNSUBSCRIBE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxPunsubscribe

        public Single<Response> rxPunsubscribe​(List<String> args)
        Stop listening for messages posted to channels matching the given patterns.

        Redis command PUNSUBSCRIBE.

        Parameters:
        args -
        Returns:
        Future response.
      • quit

        public Future<Response> quit​(List<String> args)
        Close the connection.

        Redis command QUIT.

        Parameters:
        args -
        Returns:
        Future response.
      • rxQuit

        public Single<Response> rxQuit​(List<String> args)
        Close the connection.

        Redis command QUIT.

        Parameters:
        args -
        Returns:
        Future response.
      • randomkey

        public Future<Response> randomkey()
        Return a random key from the keyspace.

        Redis command RANDOMKEY.

        Returns:
        Future response.
      • rxRandomkey

        public Single<Response> rxRandomkey()
        Return a random key from the keyspace.

        Redis command RANDOMKEY.

        Returns:
        Future response.
      • readonly

        public Future<Response> readonly()
        Enables read queries for a connection to a cluster replica node.

        Redis command READONLY.

        Returns:
        Future response.
      • rxReadonly

        public Single<Response> rxReadonly()
        Enables read queries for a connection to a cluster replica node.

        Redis command READONLY.

        Returns:
        Future response.
      • readwrite

        public Future<Response> readwrite()
        Disables read queries for a connection to a cluster replica node.

        Redis command READWRITE.

        Returns:
        Future response.
      • rxReadwrite

        public Single<Response> rxReadwrite()
        Disables read queries for a connection to a cluster replica node.

        Redis command READWRITE.

        Returns:
        Future response.
      • rename

        public Future<Response> rename​(String arg0,
                                       String arg1)
        Rename a key.

        Redis command RENAME.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxRename

        public Single<Response> rxRename​(String arg0,
                                         String arg1)
        Rename a key.

        Redis command RENAME.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • renamenx

        public Future<Response> renamenx​(String arg0,
                                         String arg1)
        Rename a key, only if the new key does not exist.

        Redis command RENAMENX.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxRenamenx

        public Single<Response> rxRenamenx​(String arg0,
                                           String arg1)
        Rename a key, only if the new key does not exist.

        Redis command RENAMENX.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • replconf

        public Future<Response> replconf​(List<String> args)
        An internal command for configuring the replication stream.

        Redis command REPLCONF.

        Parameters:
        args -
        Returns:
        Future response.
      • rxReplconf

        public Single<Response> rxReplconf​(List<String> args)
        An internal command for configuring the replication stream.

        Redis command REPLCONF.

        Parameters:
        args -
        Returns:
        Future response.
      • replicaof

        public Future<Response> replicaof​(String arg0,
                                          String arg1)
        Make the server a replica of another instance, or promote it as master.

        Redis command REPLICAOF.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxReplicaof

        public Single<Response> rxReplicaof​(String arg0,
                                            String arg1)
        Make the server a replica of another instance, or promote it as master.

        Redis command REPLICAOF.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • reset

        public Future<Response> reset()
        Reset the connection.

        Redis command RESET.

        Returns:
        Future response.
      • rxReset

        public Single<Response> rxReset()
        Reset the connection.

        Redis command RESET.

        Returns:
        Future response.
      • restore

        public Future<Response> restore​(List<String> args)
        Create a key using the provided serialized value, previously obtained using DUMP.

        Redis command RESTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxRestore

        public Single<Response> rxRestore​(List<String> args)
        Create a key using the provided serialized value, previously obtained using DUMP.

        Redis command RESTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • restoreAsking

        public Future<Response> restoreAsking​(List<String> args)
        An internal command for migrating keys in a cluster.

        Redis command RESTORE-ASKING.

        Parameters:
        args -
        Returns:
        Future response.
      • rxRestoreAsking

        public Single<Response> rxRestoreAsking​(List<String> args)
        An internal command for migrating keys in a cluster.

        Redis command RESTORE-ASKING.

        Parameters:
        args -
        Returns:
        Future response.
      • role

        public Future<Response> role()
        Return the role of the instance in the context of replication.

        Redis command ROLE.

        Returns:
        Future response.
      • rxRole

        public Single<Response> rxRole()
        Return the role of the instance in the context of replication.

        Redis command ROLE.

        Returns:
        Future response.
      • rpop

        public Future<Response> rpop​(List<String> args)
        Remove and get the last elements in a list.

        Redis command RPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • rxRpop

        public Single<Response> rxRpop​(List<String> args)
        Remove and get the last elements in a list.

        Redis command RPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • rpoplpush

        @Deprecated
        public Future<Response> rpoplpush​(String arg0,
                                          String arg1)
        Deprecated.
        Remove the last element in a list, prepend it to another list and return it.

        Redis command RPOPLPUSH.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxRpoplpush

        @Deprecated
        public Single<Response> rxRpoplpush​(String arg0,
                                            String arg1)
        Deprecated.
        Remove the last element in a list, prepend it to another list and return it.

        Redis command RPOPLPUSH.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rpush

        public Future<Response> rpush​(List<String> args)
        Append one or multiple elements to a list.

        Redis command RPUSH.

        Parameters:
        args -
        Returns:
        Future response.
      • rxRpush

        public Single<Response> rxRpush​(List<String> args)
        Append one or multiple elements to a list.

        Redis command RPUSH.

        Parameters:
        args -
        Returns:
        Future response.
      • rpushx

        public Future<Response> rpushx​(List<String> args)
        Append an element to a list, only if the list exists.

        Redis command RPUSHX.

        Parameters:
        args -
        Returns:
        Future response.
      • rxRpushx

        public Single<Response> rxRpushx​(List<String> args)
        Append an element to a list, only if the list exists.

        Redis command RPUSHX.

        Parameters:
        args -
        Returns:
        Future response.
      • sadd

        public Future<Response> sadd​(List<String> args)
        Add one or more members to a set.

        Redis command SADD.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSadd

        public Single<Response> rxSadd​(List<String> args)
        Add one or more members to a set.

        Redis command SADD.

        Parameters:
        args -
        Returns:
        Future response.
      • save

        public Future<Response> save()
        Synchronously save the dataset to disk.

        Redis command SAVE.

        Returns:
        Future response.
      • rxSave

        public Single<Response> rxSave()
        Synchronously save the dataset to disk.

        Redis command SAVE.

        Returns:
        Future response.
      • scan

        public Future<Response> scan​(List<String> args)
        Incrementally iterate the keys space.

        Redis command SCAN.

        Parameters:
        args -
        Returns:
        Future response.
      • rxScan

        public Single<Response> rxScan​(List<String> args)
        Incrementally iterate the keys space.

        Redis command SCAN.

        Parameters:
        args -
        Returns:
        Future response.
      • scard

        public Future<Response> scard​(String arg0)
        Get the number of members in a set.

        Redis command SCARD.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxScard

        public Single<Response> rxScard​(String arg0)
        Get the number of members in a set.

        Redis command SCARD.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • script

        public Future<Response> script​(List<String> args)
        A container for Lua scripts management commands.

        Redis command SCRIPT.

        Parameters:
        args -
        Returns:
        Future response.
      • rxScript

        public Single<Response> rxScript​(List<String> args)
        A container for Lua scripts management commands.

        Redis command SCRIPT.

        Parameters:
        args -
        Returns:
        Future response.
      • sdiff

        public Future<Response> sdiff​(List<String> args)
        Subtract multiple sets.

        Redis command SDIFF.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSdiff

        public Single<Response> rxSdiff​(List<String> args)
        Subtract multiple sets.

        Redis command SDIFF.

        Parameters:
        args -
        Returns:
        Future response.
      • sdiffstore

        public Future<Response> sdiffstore​(List<String> args)
        Subtract multiple sets and store the resulting set in a key.

        Redis command SDIFFSTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSdiffstore

        public Single<Response> rxSdiffstore​(List<String> args)
        Subtract multiple sets and store the resulting set in a key.

        Redis command SDIFFSTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • select

        public Future<Response> select​(String arg0)
        Change the selected database for the current connection.

        Redis command SELECT.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxSelect

        public Single<Response> rxSelect​(String arg0)
        Change the selected database for the current connection.

        Redis command SELECT.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • set

        public Future<Response> set​(List<String> args)
        Set the string value of a key.

        Redis command SET.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSet

        public Single<Response> rxSet​(List<String> args)
        Set the string value of a key.

        Redis command SET.

        Parameters:
        args -
        Returns:
        Future response.
      • setbit

        public Future<Response> setbit​(String arg0,
                                       String arg1,
                                       String arg2)
        Sets or clears the bit at offset in the string value stored at key.

        Redis command SETBIT.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxSetbit

        public Single<Response> rxSetbit​(String arg0,
                                         String arg1,
                                         String arg2)
        Sets or clears the bit at offset in the string value stored at key.

        Redis command SETBIT.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • setex

        public Future<Response> setex​(String arg0,
                                      String arg1,
                                      String arg2)
        Set the value and expiration of a key.

        Redis command SETEX.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxSetex

        public Single<Response> rxSetex​(String arg0,
                                        String arg1,
                                        String arg2)
        Set the value and expiration of a key.

        Redis command SETEX.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • setnx

        public Future<Response> setnx​(String arg0,
                                      String arg1)
        Set the value of a key, only if the key does not exist.

        Redis command SETNX.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxSetnx

        public Single<Response> rxSetnx​(String arg0,
                                        String arg1)
        Set the value of a key, only if the key does not exist.

        Redis command SETNX.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • setrange

        public Future<Response> setrange​(String arg0,
                                         String arg1,
                                         String arg2)
        Overwrite part of a string at key starting at the specified offset.

        Redis command SETRANGE.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxSetrange

        public Single<Response> rxSetrange​(String arg0,
                                           String arg1,
                                           String arg2)
        Overwrite part of a string at key starting at the specified offset.

        Redis command SETRANGE.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • shutdown

        public Future<Response> shutdown​(List<String> args)
        Synchronously save the dataset to disk and then shut down the server.

        Redis command SHUTDOWN.

        Parameters:
        args -
        Returns:
        Future response.
      • rxShutdown

        public Single<Response> rxShutdown​(List<String> args)
        Synchronously save the dataset to disk and then shut down the server.

        Redis command SHUTDOWN.

        Parameters:
        args -
        Returns:
        Future response.
      • sinter

        public Future<Response> sinter​(List<String> args)
        Intersect multiple sets.

        Redis command SINTER.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSinter

        public Single<Response> rxSinter​(List<String> args)
        Intersect multiple sets.

        Redis command SINTER.

        Parameters:
        args -
        Returns:
        Future response.
      • sintercard

        public Future<Response> sintercard​(List<String> args)
        Intersect multiple sets and return the cardinality of the result.

        Redis command SINTERCARD.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSintercard

        public Single<Response> rxSintercard​(List<String> args)
        Intersect multiple sets and return the cardinality of the result.

        Redis command SINTERCARD.

        Parameters:
        args -
        Returns:
        Future response.
      • sinterstore

        public Future<Response> sinterstore​(List<String> args)
        Intersect multiple sets and store the resulting set in a key.

        Redis command SINTERSTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSinterstore

        public Single<Response> rxSinterstore​(List<String> args)
        Intersect multiple sets and store the resulting set in a key.

        Redis command SINTERSTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • sismember

        public Future<Response> sismember​(String arg0,
                                          String arg1)
        Determine if a given value is a member of a set.

        Redis command SISMEMBER.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxSismember

        public Single<Response> rxSismember​(String arg0,
                                            String arg1)
        Determine if a given value is a member of a set.

        Redis command SISMEMBER.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • slaveof

        @Deprecated
        public Future<Response> slaveof​(String arg0,
                                        String arg1)
        Deprecated.
        Make the server a replica of another instance, or promote it as master.

        Redis command SLAVEOF.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxSlaveof

        @Deprecated
        public Single<Response> rxSlaveof​(String arg0,
                                          String arg1)
        Deprecated.
        Make the server a replica of another instance, or promote it as master.

        Redis command SLAVEOF.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • slowlog

        public Future<Response> slowlog​(List<String> args)
        A container for slow log commands.

        Redis command SLOWLOG.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSlowlog

        public Single<Response> rxSlowlog​(List<String> args)
        A container for slow log commands.

        Redis command SLOWLOG.

        Parameters:
        args -
        Returns:
        Future response.
      • smembers

        public Future<Response> smembers​(String arg0)
        Get all the members in a set.

        Redis command SMEMBERS.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxSmembers

        public Single<Response> rxSmembers​(String arg0)
        Get all the members in a set.

        Redis command SMEMBERS.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • smismember

        public Future<Response> smismember​(List<String> args)
        Returns the membership associated with the given elements for a set.

        Redis command SMISMEMBER.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSmismember

        public Single<Response> rxSmismember​(List<String> args)
        Returns the membership associated with the given elements for a set.

        Redis command SMISMEMBER.

        Parameters:
        args -
        Returns:
        Future response.
      • smove

        public Future<Response> smove​(String arg0,
                                      String arg1,
                                      String arg2)
        Move a member from one set to another.

        Redis command SMOVE.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxSmove

        public Single<Response> rxSmove​(String arg0,
                                        String arg1,
                                        String arg2)
        Move a member from one set to another.

        Redis command SMOVE.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • sort

        public Future<Response> sort​(List<String> args)
        Sort the elements in a list, set or sorted set.

        Redis command SORT.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSort

        public Single<Response> rxSort​(List<String> args)
        Sort the elements in a list, set or sorted set.

        Redis command SORT.

        Parameters:
        args -
        Returns:
        Future response.
      • sortRo

        public Future<Response> sortRo​(List<String> args)
        Sort the elements in a list, set or sorted set. Read-only variant of SORT.

        Redis command SORT_RO.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSortRo

        public Single<Response> rxSortRo​(List<String> args)
        Sort the elements in a list, set or sorted set. Read-only variant of SORT.

        Redis command SORT_RO.

        Parameters:
        args -
        Returns:
        Future response.
      • spop

        public Future<Response> spop​(List<String> args)
        Remove and return one or multiple random members from a set.

        Redis command SPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSpop

        public Single<Response> rxSpop​(List<String> args)
        Remove and return one or multiple random members from a set.

        Redis command SPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • spublish

        public Future<Response> spublish​(String arg0,
                                         String arg1)
        Post a message to a shard channel.

        Redis command SPUBLISH.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxSpublish

        public Single<Response> rxSpublish​(String arg0,
                                           String arg1)
        Post a message to a shard channel.

        Redis command SPUBLISH.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • srandmember

        public Future<Response> srandmember​(List<String> args)
        Get one or multiple random members from a set.

        Redis command SRANDMEMBER.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSrandmember

        public Single<Response> rxSrandmember​(List<String> args)
        Get one or multiple random members from a set.

        Redis command SRANDMEMBER.

        Parameters:
        args -
        Returns:
        Future response.
      • srem

        public Future<Response> srem​(List<String> args)
        Remove one or more members from a set.

        Redis command SREM.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSrem

        public Single<Response> rxSrem​(List<String> args)
        Remove one or more members from a set.

        Redis command SREM.

        Parameters:
        args -
        Returns:
        Future response.
      • sscan

        public Future<Response> sscan​(List<String> args)
        Incrementally iterate Set elements.

        Redis command SSCAN.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSscan

        public Single<Response> rxSscan​(List<String> args)
        Incrementally iterate Set elements.

        Redis command SSCAN.

        Parameters:
        args -
        Returns:
        Future response.
      • ssubscribe

        public Future<Response> ssubscribe​(List<String> args)
        Listen for messages published to the given shard channels.

        Redis command SSUBSCRIBE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSsubscribe

        public Single<Response> rxSsubscribe​(List<String> args)
        Listen for messages published to the given shard channels.

        Redis command SSUBSCRIBE.

        Parameters:
        args -
        Returns:
        Future response.
      • strlen

        public Future<Response> strlen​(String arg0)
        Get the length of the value stored in a key.

        Redis command STRLEN.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxStrlen

        public Single<Response> rxStrlen​(String arg0)
        Get the length of the value stored in a key.

        Redis command STRLEN.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • subscribe

        public Future<Response> subscribe​(List<String> args)
        Listen for messages published to the given channels.

        Redis command SUBSCRIBE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSubscribe

        public Single<Response> rxSubscribe​(List<String> args)
        Listen for messages published to the given channels.

        Redis command SUBSCRIBE.

        Parameters:
        args -
        Returns:
        Future response.
      • sunion

        public Future<Response> sunion​(List<String> args)
        Add multiple sets.

        Redis command SUNION.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSunion

        public Single<Response> rxSunion​(List<String> args)
        Add multiple sets.

        Redis command SUNION.

        Parameters:
        args -
        Returns:
        Future response.
      • sunionstore

        public Future<Response> sunionstore​(List<String> args)
        Add multiple sets and store the resulting set in a key.

        Redis command SUNIONSTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSunionstore

        public Single<Response> rxSunionstore​(List<String> args)
        Add multiple sets and store the resulting set in a key.

        Redis command SUNIONSTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • sunsubscribe

        public Future<Response> sunsubscribe​(List<String> args)
        Stop listening for messages posted to the given shard channels.

        Redis command SUNSUBSCRIBE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxSunsubscribe

        public Single<Response> rxSunsubscribe​(List<String> args)
        Stop listening for messages posted to the given shard channels.

        Redis command SUNSUBSCRIBE.

        Parameters:
        args -
        Returns:
        Future response.
      • swapdb

        public Future<Response> swapdb​(String arg0,
                                       String arg1)
        Swaps two Redis databases.

        Redis command SWAPDB.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxSwapdb

        public Single<Response> rxSwapdb​(String arg0,
                                         String arg1)
        Swaps two Redis databases.

        Redis command SWAPDB.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • sync

        public Future<Response> sync()
        Internal command used for replication.

        Redis command SYNC.

        Returns:
        Future response.
      • rxSync

        public Single<Response> rxSync()
        Internal command used for replication.

        Redis command SYNC.

        Returns:
        Future response.
      • time

        public Future<Response> time()
        Return the current server time.

        Redis command TIME.

        Returns:
        Future response.
      • rxTime

        public Single<Response> rxTime()
        Return the current server time.

        Redis command TIME.

        Returns:
        Future response.
      • touch

        public Future<Response> touch​(List<String> args)
        Alters the last access time of a key(s). Returns the number of existing keys specified.

        Redis command TOUCH.

        Parameters:
        args -
        Returns:
        Future response.
      • rxTouch

        public Single<Response> rxTouch​(List<String> args)
        Alters the last access time of a key(s). Returns the number of existing keys specified.

        Redis command TOUCH.

        Parameters:
        args -
        Returns:
        Future response.
      • ttl

        public Future<Response> ttl​(String arg0)
        Get the time to live for a key in seconds.

        Redis command TTL.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxTtl

        public Single<Response> rxTtl​(String arg0)
        Get the time to live for a key in seconds.

        Redis command TTL.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • type

        public Future<Response> type​(String arg0)
        Determine the type stored at key.

        Redis command TYPE.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxType

        public Single<Response> rxType​(String arg0)
        Determine the type stored at key.

        Redis command TYPE.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • unlink

        public Future<Response> unlink​(List<String> args)
        Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking.

        Redis command UNLINK.

        Parameters:
        args -
        Returns:
        Future response.
      • rxUnlink

        public Single<Response> rxUnlink​(List<String> args)
        Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking.

        Redis command UNLINK.

        Parameters:
        args -
        Returns:
        Future response.
      • unsubscribe

        public Future<Response> unsubscribe​(List<String> args)
        Stop listening for messages posted to the given channels.

        Redis command UNSUBSCRIBE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxUnsubscribe

        public Single<Response> rxUnsubscribe​(List<String> args)
        Stop listening for messages posted to the given channels.

        Redis command UNSUBSCRIBE.

        Parameters:
        args -
        Returns:
        Future response.
      • unwatch

        public Future<Response> unwatch()
        Forget about all watched keys.

        Redis command UNWATCH.

        Returns:
        Future response.
      • rxUnwatch

        public Single<Response> rxUnwatch()
        Forget about all watched keys.

        Redis command UNWATCH.

        Returns:
        Future response.
      • wait

        public Future<Response> wait​(String arg0,
                                     String arg1)
        Wait for the synchronous replication of all the write commands sent in the context of the current connection.

        Redis command WAIT.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxWait

        public Single<Response> rxWait​(String arg0,
                                       String arg1)
        Wait for the synchronous replication of all the write commands sent in the context of the current connection.

        Redis command WAIT.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • watch

        public Future<Response> watch​(List<String> args)
        Watch the given keys to determine execution of the MULTI/EXEC block.

        Redis command WATCH.

        Parameters:
        args -
        Returns:
        Future response.
      • rxWatch

        public Single<Response> rxWatch​(List<String> args)
        Watch the given keys to determine execution of the MULTI/EXEC block.

        Redis command WATCH.

        Parameters:
        args -
        Returns:
        Future response.
      • xack

        public Future<Response> xack​(List<String> args)
        Marks a pending message as correctly processed, effectively removing it from the pending entries list of the consumer group. Return value of the command is the number of messages successfully acknowledged, that is, the IDs we were actually able to resolve in the PEL.

        Redis command XACK.

        Parameters:
        args -
        Returns:
        Future response.
      • rxXack

        public Single<Response> rxXack​(List<String> args)
        Marks a pending message as correctly processed, effectively removing it from the pending entries list of the consumer group. Return value of the command is the number of messages successfully acknowledged, that is, the IDs we were actually able to resolve in the PEL.

        Redis command XACK.

        Parameters:
        args -
        Returns:
        Future response.
      • xadd

        public Future<Response> xadd​(List<String> args)
        Appends a new entry to a stream.

        Redis command XADD.

        Parameters:
        args -
        Returns:
        Future response.
      • rxXadd

        public Single<Response> rxXadd​(List<String> args)
        Appends a new entry to a stream.

        Redis command XADD.

        Parameters:
        args -
        Returns:
        Future response.
      • xautoclaim

        public Future<Response> xautoclaim​(List<String> args)
        Changes (or acquires) ownership of messages in a consumer group, as if the messages were delivered to the specified consumer.

        Redis command XAUTOCLAIM.

        Parameters:
        args -
        Returns:
        Future response.
      • rxXautoclaim

        public Single<Response> rxXautoclaim​(List<String> args)
        Changes (or acquires) ownership of messages in a consumer group, as if the messages were delivered to the specified consumer.

        Redis command XAUTOCLAIM.

        Parameters:
        args -
        Returns:
        Future response.
      • xclaim

        public Future<Response> xclaim​(List<String> args)
        Changes (or acquires) ownership of a message in a consumer group, as if the message was delivered to the specified consumer.

        Redis command XCLAIM.

        Parameters:
        args -
        Returns:
        Future response.
      • rxXclaim

        public Single<Response> rxXclaim​(List<String> args)
        Changes (or acquires) ownership of a message in a consumer group, as if the message was delivered to the specified consumer.

        Redis command XCLAIM.

        Parameters:
        args -
        Returns:
        Future response.
      • xdel

        public Future<Response> xdel​(List<String> args)
        Removes the specified entries from the stream. Returns the number of items actually deleted, that may be different from the number of IDs passed in case certain IDs do not exist.

        Redis command XDEL.

        Parameters:
        args -
        Returns:
        Future response.
      • rxXdel

        public Single<Response> rxXdel​(List<String> args)
        Removes the specified entries from the stream. Returns the number of items actually deleted, that may be different from the number of IDs passed in case certain IDs do not exist.

        Redis command XDEL.

        Parameters:
        args -
        Returns:
        Future response.
      • xgroup

        public Future<Response> xgroup​(List<String> args)
        A container for consumer groups commands.

        Redis command XGROUP.

        Parameters:
        args -
        Returns:
        Future response.
      • rxXgroup

        public Single<Response> rxXgroup​(List<String> args)
        A container for consumer groups commands.

        Redis command XGROUP.

        Parameters:
        args -
        Returns:
        Future response.
      • xinfo

        public Future<Response> xinfo​(List<String> args)
        A container for stream introspection commands.

        Redis command XINFO.

        Parameters:
        args -
        Returns:
        Future response.
      • rxXinfo

        public Single<Response> rxXinfo​(List<String> args)
        A container for stream introspection commands.

        Redis command XINFO.

        Parameters:
        args -
        Returns:
        Future response.
      • xlen

        public Future<Response> xlen​(String arg0)
        Return the number of entries in a stream.

        Redis command XLEN.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxXlen

        public Single<Response> rxXlen​(String arg0)
        Return the number of entries in a stream.

        Redis command XLEN.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • xpending

        public Future<Response> xpending​(List<String> args)
        Return information and entries from a stream consumer group pending entries list, that are messages fetched but never acknowledged.

        Redis command XPENDING.

        Parameters:
        args -
        Returns:
        Future response.
      • rxXpending

        public Single<Response> rxXpending​(List<String> args)
        Return information and entries from a stream consumer group pending entries list, that are messages fetched but never acknowledged.

        Redis command XPENDING.

        Parameters:
        args -
        Returns:
        Future response.
      • xrange

        public Future<Response> xrange​(List<String> args)
        Return a range of elements in a stream, with IDs matching the specified IDs interval.

        Redis command XRANGE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxXrange

        public Single<Response> rxXrange​(List<String> args)
        Return a range of elements in a stream, with IDs matching the specified IDs interval.

        Redis command XRANGE.

        Parameters:
        args -
        Returns:
        Future response.
      • xread

        public Future<Response> xread​(List<String> args)
        Return never seen elements in multiple streams, with IDs greater than the ones reported by the caller for each stream. Can block.

        Redis command XREAD.

        Parameters:
        args -
        Returns:
        Future response.
      • rxXread

        public Single<Response> rxXread​(List<String> args)
        Return never seen elements in multiple streams, with IDs greater than the ones reported by the caller for each stream. Can block.

        Redis command XREAD.

        Parameters:
        args -
        Returns:
        Future response.
      • xreadgroup

        public Future<Response> xreadgroup​(List<String> args)
        Return new entries from a stream using a consumer group, or access the history of the pending entries for a given consumer. Can block.

        Redis command XREADGROUP.

        Parameters:
        args -
        Returns:
        Future response.
      • rxXreadgroup

        public Single<Response> rxXreadgroup​(List<String> args)
        Return new entries from a stream using a consumer group, or access the history of the pending entries for a given consumer. Can block.

        Redis command XREADGROUP.

        Parameters:
        args -
        Returns:
        Future response.
      • xrevrange

        public Future<Response> xrevrange​(List<String> args)
        Return a range of elements in a stream, with IDs matching the specified IDs interval, in reverse order (from greater to smaller IDs) compared to XRANGE.

        Redis command XREVRANGE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxXrevrange

        public Single<Response> rxXrevrange​(List<String> args)
        Return a range of elements in a stream, with IDs matching the specified IDs interval, in reverse order (from greater to smaller IDs) compared to XRANGE.

        Redis command XREVRANGE.

        Parameters:
        args -
        Returns:
        Future response.
      • xsetid

        public Future<Response> xsetid​(List<String> args)
        An internal command for replicating stream values.

        Redis command XSETID.

        Parameters:
        args -
        Returns:
        Future response.
      • rxXsetid

        public Single<Response> rxXsetid​(List<String> args)
        An internal command for replicating stream values.

        Redis command XSETID.

        Parameters:
        args -
        Returns:
        Future response.
      • xtrim

        public Future<Response> xtrim​(List<String> args)
        Trims the stream to (approximately if '~' is passed) a certain size.

        Redis command XTRIM.

        Parameters:
        args -
        Returns:
        Future response.
      • rxXtrim

        public Single<Response> rxXtrim​(List<String> args)
        Trims the stream to (approximately if '~' is passed) a certain size.

        Redis command XTRIM.

        Parameters:
        args -
        Returns:
        Future response.
      • zadd

        public Future<Response> zadd​(List<String> args)
        Add one or more members to a sorted set, or update its score if it already exists.

        Redis command ZADD.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZadd

        public Single<Response> rxZadd​(List<String> args)
        Add one or more members to a sorted set, or update its score if it already exists.

        Redis command ZADD.

        Parameters:
        args -
        Returns:
        Future response.
      • zcard

        public Future<Response> zcard​(String arg0)
        Get the number of members in a sorted set.

        Redis command ZCARD.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • rxZcard

        public Single<Response> rxZcard​(String arg0)
        Get the number of members in a sorted set.

        Redis command ZCARD.

        Parameters:
        arg0 -
        Returns:
        Future response.
      • zcount

        public Future<Response> zcount​(String arg0,
                                       String arg1,
                                       String arg2)
        Count the members in a sorted set with scores within the given values.

        Redis command ZCOUNT.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxZcount

        public Single<Response> rxZcount​(String arg0,
                                         String arg1,
                                         String arg2)
        Count the members in a sorted set with scores within the given values.

        Redis command ZCOUNT.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • zdiff

        public Future<Response> zdiff​(List<String> args)
        Subtract multiple sorted sets.

        Redis command ZDIFF.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZdiff

        public Single<Response> rxZdiff​(List<String> args)
        Subtract multiple sorted sets.

        Redis command ZDIFF.

        Parameters:
        args -
        Returns:
        Future response.
      • zdiffstore

        public Future<Response> zdiffstore​(List<String> args)
        Subtract multiple sorted sets and store the resulting sorted set in a new key.

        Redis command ZDIFFSTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZdiffstore

        public Single<Response> rxZdiffstore​(List<String> args)
        Subtract multiple sorted sets and store the resulting sorted set in a new key.

        Redis command ZDIFFSTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • zincrby

        public Future<Response> zincrby​(String arg0,
                                        String arg1,
                                        String arg2)
        Increment the score of a member in a sorted set.

        Redis command ZINCRBY.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxZincrby

        public Single<Response> rxZincrby​(String arg0,
                                          String arg1,
                                          String arg2)
        Increment the score of a member in a sorted set.

        Redis command ZINCRBY.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • zinter

        public Future<Response> zinter​(List<String> args)
        Intersect multiple sorted sets.

        Redis command ZINTER.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZinter

        public Single<Response> rxZinter​(List<String> args)
        Intersect multiple sorted sets.

        Redis command ZINTER.

        Parameters:
        args -
        Returns:
        Future response.
      • zintercard

        public Future<Response> zintercard​(List<String> args)
        Intersect multiple sorted sets and return the cardinality of the result.

        Redis command ZINTERCARD.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZintercard

        public Single<Response> rxZintercard​(List<String> args)
        Intersect multiple sorted sets and return the cardinality of the result.

        Redis command ZINTERCARD.

        Parameters:
        args -
        Returns:
        Future response.
      • zinterstore

        public Future<Response> zinterstore​(List<String> args)
        Intersect multiple sorted sets and store the resulting sorted set in a new key.

        Redis command ZINTERSTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZinterstore

        public Single<Response> rxZinterstore​(List<String> args)
        Intersect multiple sorted sets and store the resulting sorted set in a new key.

        Redis command ZINTERSTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • zlexcount

        public Future<Response> zlexcount​(String arg0,
                                          String arg1,
                                          String arg2)
        Count the number of members in a sorted set between a given lexicographical range.

        Redis command ZLEXCOUNT.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxZlexcount

        public Single<Response> rxZlexcount​(String arg0,
                                            String arg1,
                                            String arg2)
        Count the number of members in a sorted set between a given lexicographical range.

        Redis command ZLEXCOUNT.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • zmpop

        public Future<Response> zmpop​(List<String> args)
        Remove and return members with scores in a sorted set.

        Redis command ZMPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZmpop

        public Single<Response> rxZmpop​(List<String> args)
        Remove and return members with scores in a sorted set.

        Redis command ZMPOP.

        Parameters:
        args -
        Returns:
        Future response.
      • zmscore

        public Future<Response> zmscore​(List<String> args)
        Get the score associated with the given members in a sorted set.

        Redis command ZMSCORE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZmscore

        public Single<Response> rxZmscore​(List<String> args)
        Get the score associated with the given members in a sorted set.

        Redis command ZMSCORE.

        Parameters:
        args -
        Returns:
        Future response.
      • zpopmax

        public Future<Response> zpopmax​(List<String> args)
        Remove and return members with the highest scores in a sorted set.

        Redis command ZPOPMAX.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZpopmax

        public Single<Response> rxZpopmax​(List<String> args)
        Remove and return members with the highest scores in a sorted set.

        Redis command ZPOPMAX.

        Parameters:
        args -
        Returns:
        Future response.
      • zpopmin

        public Future<Response> zpopmin​(List<String> args)
        Remove and return members with the lowest scores in a sorted set.

        Redis command ZPOPMIN.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZpopmin

        public Single<Response> rxZpopmin​(List<String> args)
        Remove and return members with the lowest scores in a sorted set.

        Redis command ZPOPMIN.

        Parameters:
        args -
        Returns:
        Future response.
      • zrandmember

        public Future<Response> zrandmember​(List<String> args)
        Get one or multiple random elements from a sorted set.

        Redis command ZRANDMEMBER.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZrandmember

        public Single<Response> rxZrandmember​(List<String> args)
        Get one or multiple random elements from a sorted set.

        Redis command ZRANDMEMBER.

        Parameters:
        args -
        Returns:
        Future response.
      • zrange

        public Future<Response> zrange​(List<String> args)
        Return a range of members in a sorted set.

        Redis command ZRANGE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZrange

        public Single<Response> rxZrange​(List<String> args)
        Return a range of members in a sorted set.

        Redis command ZRANGE.

        Parameters:
        args -
        Returns:
        Future response.
      • zrangebylex

        @Deprecated
        public Future<Response> zrangebylex​(List<String> args)
        Deprecated.
        Return a range of members in a sorted set, by lexicographical range.

        Redis command ZRANGEBYLEX.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZrangebylex

        @Deprecated
        public Single<Response> rxZrangebylex​(List<String> args)
        Deprecated.
        Return a range of members in a sorted set, by lexicographical range.

        Redis command ZRANGEBYLEX.

        Parameters:
        args -
        Returns:
        Future response.
      • zrangestore

        public Future<Response> zrangestore​(List<String> args)
        Store a range of members from sorted set into another key.

        Redis command ZRANGESTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZrangestore

        public Single<Response> rxZrangestore​(List<String> args)
        Store a range of members from sorted set into another key.

        Redis command ZRANGESTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • zrank

        public Future<Response> zrank​(String arg0,
                                      String arg1)
        Determine the index of a member in a sorted set.

        Redis command ZRANK.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxZrank

        public Single<Response> rxZrank​(String arg0,
                                        String arg1)
        Determine the index of a member in a sorted set.

        Redis command ZRANK.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • zrem

        public Future<Response> zrem​(List<String> args)
        Remove one or more members from a sorted set.

        Redis command ZREM.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZrem

        public Single<Response> rxZrem​(List<String> args)
        Remove one or more members from a sorted set.

        Redis command ZREM.

        Parameters:
        args -
        Returns:
        Future response.
      • zremrangebylex

        public Future<Response> zremrangebylex​(String arg0,
                                               String arg1,
                                               String arg2)
        Remove all members in a sorted set between the given lexicographical range.

        Redis command ZREMRANGEBYLEX.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxZremrangebylex

        public Single<Response> rxZremrangebylex​(String arg0,
                                                 String arg1,
                                                 String arg2)
        Remove all members in a sorted set between the given lexicographical range.

        Redis command ZREMRANGEBYLEX.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • zremrangebyrank

        public Future<Response> zremrangebyrank​(String arg0,
                                                String arg1,
                                                String arg2)
        Remove all members in a sorted set within the given indexes.

        Redis command ZREMRANGEBYRANK.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxZremrangebyrank

        public Single<Response> rxZremrangebyrank​(String arg0,
                                                  String arg1,
                                                  String arg2)
        Remove all members in a sorted set within the given indexes.

        Redis command ZREMRANGEBYRANK.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • zremrangebyscore

        public Future<Response> zremrangebyscore​(String arg0,
                                                 String arg1,
                                                 String arg2)
        Remove all members in a sorted set within the given scores.

        Redis command ZREMRANGEBYSCORE.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • rxZremrangebyscore

        public Single<Response> rxZremrangebyscore​(String arg0,
                                                   String arg1,
                                                   String arg2)
        Remove all members in a sorted set within the given scores.

        Redis command ZREMRANGEBYSCORE.

        Parameters:
        arg0 -
        arg1 -
        arg2 -
        Returns:
        Future response.
      • zrevrange

        @Deprecated
        public Future<Response> zrevrange​(List<String> args)
        Deprecated.
        Return a range of members in a sorted set, by index, with scores ordered from high to low.

        Redis command ZREVRANGE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZrevrange

        @Deprecated
        public Single<Response> rxZrevrange​(List<String> args)
        Deprecated.
        Return a range of members in a sorted set, by index, with scores ordered from high to low.

        Redis command ZREVRANGE.

        Parameters:
        args -
        Returns:
        Future response.
      • zrevrangebylex

        @Deprecated
        public Future<Response> zrevrangebylex​(List<String> args)
        Deprecated.
        Return a range of members in a sorted set, by lexicographical range, ordered from higher to lower strings.

        Redis command ZREVRANGEBYLEX.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZrevrangebylex

        @Deprecated
        public Single<Response> rxZrevrangebylex​(List<String> args)
        Deprecated.
        Return a range of members in a sorted set, by lexicographical range, ordered from higher to lower strings.

        Redis command ZREVRANGEBYLEX.

        Parameters:
        args -
        Returns:
        Future response.
      • zrevrangebyscore

        @Deprecated
        public Future<Response> zrevrangebyscore​(List<String> args)
        Deprecated.
        Return a range of members in a sorted set, by score, with scores ordered from high to low.

        Redis command ZREVRANGEBYSCORE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZrevrangebyscore

        @Deprecated
        public Single<Response> rxZrevrangebyscore​(List<String> args)
        Deprecated.
        Return a range of members in a sorted set, by score, with scores ordered from high to low.

        Redis command ZREVRANGEBYSCORE.

        Parameters:
        args -
        Returns:
        Future response.
      • zrevrank

        public Future<Response> zrevrank​(String arg0,
                                         String arg1)
        Determine the index of a member in a sorted set, with scores ordered from high to low.

        Redis command ZREVRANK.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxZrevrank

        public Single<Response> rxZrevrank​(String arg0,
                                           String arg1)
        Determine the index of a member in a sorted set, with scores ordered from high to low.

        Redis command ZREVRANK.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • zscan

        public Future<Response> zscan​(List<String> args)
        Incrementally iterate sorted sets elements and associated scores.

        Redis command ZSCAN.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZscan

        public Single<Response> rxZscan​(List<String> args)
        Incrementally iterate sorted sets elements and associated scores.

        Redis command ZSCAN.

        Parameters:
        args -
        Returns:
        Future response.
      • zscore

        public Future<Response> zscore​(String arg0,
                                       String arg1)
        Get the score associated with the given member in a sorted set.

        Redis command ZSCORE.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • rxZscore

        public Single<Response> rxZscore​(String arg0,
                                         String arg1)
        Get the score associated with the given member in a sorted set.

        Redis command ZSCORE.

        Parameters:
        arg0 -
        arg1 -
        Returns:
        Future response.
      • zunion

        public Future<Response> zunion​(List<String> args)
        Add multiple sorted sets.

        Redis command ZUNION.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZunion

        public Single<Response> rxZunion​(List<String> args)
        Add multiple sorted sets.

        Redis command ZUNION.

        Parameters:
        args -
        Returns:
        Future response.
      • zunionstore

        public Future<Response> zunionstore​(List<String> args)
        Add multiple sorted sets and store the resulting sorted set in a new key.

        Redis command ZUNIONSTORE.

        Parameters:
        args -
        Returns:
        Future response.
      • rxZunionstore

        public Single<Response> rxZunionstore​(List<String> args)
        Add multiple sorted sets and store the resulting sorted set in a new key.

        Redis command ZUNIONSTORE.

        Parameters:
        args -
        Returns:
        Future response.