/*
 * Copyright 2014 Red Hat, Inc.
 *
 * Red Hat licenses this file to you under the Apache License, version 2.0
 * (the "License"); you may not use this file except in compliance with the
 * License.  You may obtain a copy of the License at:
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
 * License for the specific language governing permissions and limitations
 * under the License.
 */

package io.vertx.rxjava.redis;

import java.util.Map;
import rx.Observable;
import rx.Single;
import io.vertx.redis.op.BitOperation;
import io.vertx.redis.op.ResetOptions;
import io.vertx.redis.op.ObjectCmd;
import io.vertx.redis.op.KillFilter;
import java.util.Map;
import io.vertx.redis.op.GeoUnit;
import io.vertx.core.json.JsonObject;
import io.vertx.core.AsyncResult;
import io.vertx.redis.op.RangeOptions;
import io.vertx.redis.op.GeoMember;
import io.vertx.redis.op.GeoRadiusOptions;
import io.vertx.redis.op.InsertOptions;
import io.vertx.redis.op.AggregateOptions;
import io.vertx.redis.op.SetOptions;
import io.vertx.redis.op.SortOptions;
import io.vertx.redis.op.MigrateOptions;
import io.vertx.redis.op.ScanOptions;
import io.vertx.redis.op.FailoverOptions;
import io.vertx.redis.op.SlotCmd;
import io.vertx.redis.op.RangeLimitOptions;
import io.vertx.redis.op.LimitOptions;
import io.vertx.core.json.JsonArray;
import java.util.List;
import io.vertx.core.Handler;

This Interface represents a TX

NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
/** * This Interface represents a TX * * <p/> * NOTE: This class has been automatically generated from the {@link io.vertx.redis.RedisTransaction original} non RX-ified interface using Vert.x codegen. */
@io.vertx.lang.rx.RxGen(io.vertx.redis.RedisTransaction.class) public class RedisTransaction { @Override public String toString() { return delegate.toString(); } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; RedisTransaction that = (RedisTransaction) o; return delegate.equals(that.delegate); } @Override public int hashCode() { return delegate.hashCode(); } public static final io.vertx.lang.rx.TypeArg<RedisTransaction> __TYPE_ARG = new io.vertx.lang.rx.TypeArg<>( obj -> new RedisTransaction((io.vertx.redis.RedisTransaction) obj), RedisTransaction::getDelegate ); private final io.vertx.redis.RedisTransaction delegate; public RedisTransaction(io.vertx.redis.RedisTransaction delegate) { this.delegate = delegate; } public io.vertx.redis.RedisTransaction getDelegate() { return delegate; }
Close the client - when it is fully closed the handler will be called.
Params:
  • handler –
/** * Close the client - when it is fully closed the handler will be called. * @param handler */
public void close(Handler<AsyncResult<Void>> handler) { delegate.close(handler); }
Close the client - when it is fully closed the handler will be called.
Returns:
Deprecated:use rxClose instead
/** * Close the client - when it is fully closed the handler will be called. * @return * @deprecated use {@link #rxClose} instead */
@Deprecated() public Observable<Void> closeObservable() { io.vertx.rx.java.ObservableFuture<Void> handler = io.vertx.rx.java.RxHelper.observableFuture(); close(handler.toHandler()); return handler; }
Close the client - when it is fully closed the handler will be called.
Returns:
/** * Close the client - when it is fully closed the handler will be called. * @return */
public Single<Void> rxClose() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { close(fut); })); }
Append a value to a key
Params:
  • key – Key string
  • value – Value to append
  • handler – Handler for the result of this call.
Returns:
/** * Append a value to a key * @param key Key string * @param value Value to append * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction append(String key, String value, Handler<AsyncResult<String>> handler) { delegate.append(key, value, handler); return this; }
Append a value to a key
Params:
  • key – Key string
  • value – Value to append
Returns:
Deprecated:use rxAppend instead
/** * Append a value to a key * @param key Key string * @param value Value to append * @return * @deprecated use {@link #rxAppend} instead */
@Deprecated() public Observable<String> appendObservable(String key, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); append(key, value, handler.toHandler()); return handler; }
Append a value to a key
Params:
  • key – Key string
  • value – Value to append
Returns:
/** * Append a value to a key * @param key Key string * @param value Value to append * @return */
public Single<String> rxAppend(String key, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { append(key, value, fut); })); }
Authenticate to the server
Params:
  • password – Password for authentication
  • handler – Handler for the result of this call.
Returns:
/** * Authenticate to the server * @param password Password for authentication * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction auth(String password, Handler<AsyncResult<String>> handler) { delegate.auth(password, handler); return this; }
Authenticate to the server
Params:
  • password – Password for authentication
Returns:
Deprecated:use rxAuth instead
/** * Authenticate to the server * @param password Password for authentication * @return * @deprecated use {@link #rxAuth} instead */
@Deprecated() public Observable<String> authObservable(String password) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); auth(password, handler.toHandler()); return handler; }
Authenticate to the server
Params:
  • password – Password for authentication
Returns:
/** * Authenticate to the server * @param password Password for authentication * @return */
public Single<String> rxAuth(String password) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { auth(password, fut); })); }
Asynchronously rewrite the append-only file
Params:
  • handler –
Returns:
/** * Asynchronously rewrite the append-only file * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction bgrewriteaof(Handler<AsyncResult<String>> handler) { delegate.bgrewriteaof(handler); return this; }
Asynchronously rewrite the append-only file
Returns:
Deprecated:use rxBgrewriteaof instead
/** * Asynchronously rewrite the append-only file * @return * @deprecated use {@link #rxBgrewriteaof} instead */
@Deprecated() public Observable<String> bgrewriteaofObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); bgrewriteaof(handler.toHandler()); return handler; }
Asynchronously rewrite the append-only file
Returns:
/** * Asynchronously rewrite the append-only file * @return */
public Single<String> rxBgrewriteaof() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { bgrewriteaof(fut); })); }
Asynchronously save the dataset to disk
Params:
  • handler –
Returns:
/** * Asynchronously save the dataset to disk * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction bgsave(Handler<AsyncResult<String>> handler) { delegate.bgsave(handler); return this; }
Asynchronously save the dataset to disk
Returns:
Deprecated:use rxBgsave instead
/** * Asynchronously save the dataset to disk * @return * @deprecated use {@link #rxBgsave} instead */
@Deprecated() public Observable<String> bgsaveObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); bgsave(handler.toHandler()); return handler; }
Asynchronously save the dataset to disk
Returns:
/** * Asynchronously save the dataset to disk * @return */
public Single<String> rxBgsave() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { bgsave(fut); })); }
Count set bits in a string
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Count set bits in a string * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction bitcount(String key, Handler<AsyncResult<String>> handler) { delegate.bitcount(key, handler); return this; }
Count set bits in a string
Params:
  • key – Key string
Returns:
Deprecated:use rxBitcount instead
/** * Count set bits in a string * @param key Key string * @return * @deprecated use {@link #rxBitcount} instead */
@Deprecated() public Observable<String> bitcountObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); bitcount(key, handler.toHandler()); return handler; }
Count set bits in a string
Params:
  • key – Key string
Returns:
/** * Count set bits in a string * @param key Key string * @return */
public Single<String> rxBitcount(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { bitcount(key, fut); })); }
Count set bits in a string
Params:
  • key – Key string
  • start – Start index
  • end – End index
  • handler – Handler for the result of this call.
Returns:
/** * Count set bits in a string * @param key Key string * @param start Start index * @param end End index * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction bitcountRange(String key, long start, long end, Handler<AsyncResult<String>> handler) { delegate.bitcountRange(key, start, end, handler); return this; }
Count set bits in a string
Params:
  • key – Key string
  • start – Start index
  • end – End index
Returns:
Deprecated:use rxBitcountRange instead
/** * Count set bits in a string * @param key Key string * @param start Start index * @param end End index * @return * @deprecated use {@link #rxBitcountRange} instead */
@Deprecated() public Observable<String> bitcountRangeObservable(String key, long start, long end) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); bitcountRange(key, start, end, handler.toHandler()); return handler; }
Count set bits in a string
Params:
  • key – Key string
  • start – Start index
  • end – End index
Returns:
/** * Count set bits in a string * @param key Key string * @param start Start index * @param end End index * @return */
public Single<String> rxBitcountRange(String key, long start, long end) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { bitcountRange(key, start, end, fut); })); }
Perform bitwise operations between strings
Params:
  • operation – Bitwise operation to perform
  • destkey – Destination key where result is stored
  • keys – List of keys on which to perform the operation
  • handler – Handler for the result of this call.
Returns:
/** * Perform bitwise operations between strings * @param operation Bitwise operation to perform * @param destkey Destination key where result is stored * @param keys List of keys on which to perform the operation * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction bitop(BitOperation operation, String destkey, List<String> keys, Handler<AsyncResult<String>> handler) { delegate.bitop(operation, destkey, keys, handler); return this; }
Perform bitwise operations between strings
Params:
  • operation – Bitwise operation to perform
  • destkey – Destination key where result is stored
  • keys – List of keys on which to perform the operation
Returns:
Deprecated:use rxBitop instead
/** * Perform bitwise operations between strings * @param operation Bitwise operation to perform * @param destkey Destination key where result is stored * @param keys List of keys on which to perform the operation * @return * @deprecated use {@link #rxBitop} instead */
@Deprecated() public Observable<String> bitopObservable(BitOperation operation, String destkey, List<String> keys) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); bitop(operation, destkey, keys, handler.toHandler()); return handler; }
Perform bitwise operations between strings
Params:
  • operation – Bitwise operation to perform
  • destkey – Destination key where result is stored
  • keys – List of keys on which to perform the operation
Returns:
/** * Perform bitwise operations between strings * @param operation Bitwise operation to perform * @param destkey Destination key where result is stored * @param keys List of keys on which to perform the operation * @return */
public Single<String> rxBitop(BitOperation operation, String destkey, List<String> keys) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { bitop(operation, destkey, keys, fut); })); }
Find first bit set or clear in a string
Params:
  • key – Key string
  • bit – What bit value to look for - must be 1, or 0
  • handler – Handler for the result of this call.
Returns:
/** * Find first bit set or clear in a string * @param key Key string * @param bit What bit value to look for - must be 1, or 0 * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction bitpos(String key, int bit, Handler<AsyncResult<String>> handler) { delegate.bitpos(key, bit, handler); return this; }
Find first bit set or clear in a string
Params:
  • key – Key string
  • bit – What bit value to look for - must be 1, or 0
Returns:
Deprecated:use rxBitpos instead
/** * Find first bit set or clear in a string * @param key Key string * @param bit What bit value to look for - must be 1, or 0 * @return * @deprecated use {@link #rxBitpos} instead */
@Deprecated() public Observable<String> bitposObservable(String key, int bit) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); bitpos(key, bit, handler.toHandler()); return handler; }
Find first bit set or clear in a string
Params:
  • key – Key string
  • bit – What bit value to look for - must be 1, or 0
Returns:
/** * Find first bit set or clear in a string * @param key Key string * @param bit What bit value to look for - must be 1, or 0 * @return */
public Single<String> rxBitpos(String key, int bit) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { bitpos(key, bit, fut); })); }
Find first bit set or clear in a string

See also bitposRange() method, which takes start, and stop offset.

Params:
  • key – Key string
  • bit – What bit value to look for - must be 1, or 0
  • start – Start offset
  • handler – Handler for the result of this call.
Returns:
/** * Find first bit set or clear in a string * <p> * See also bitposRange() method, which takes start, and stop offset. * @param key Key string * @param bit What bit value to look for - must be 1, or 0 * @param start Start offset * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction bitposFrom(String key, int bit, int start, Handler<AsyncResult<String>> handler) { delegate.bitposFrom(key, bit, start, handler); return this; }
Find first bit set or clear in a string

See also bitposRange() method, which takes start, and stop offset.

Params:
  • key – Key string
  • bit – What bit value to look for - must be 1, or 0
  • start – Start offset
Returns:
Deprecated:use rxBitposFrom instead
/** * Find first bit set or clear in a string * <p> * See also bitposRange() method, which takes start, and stop offset. * @param key Key string * @param bit What bit value to look for - must be 1, or 0 * @param start Start offset * @return * @deprecated use {@link #rxBitposFrom} instead */
@Deprecated() public Observable<String> bitposFromObservable(String key, int bit, int start) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); bitposFrom(key, bit, start, handler.toHandler()); return handler; }
Find first bit set or clear in a string

See also bitposRange() method, which takes start, and stop offset.

Params:
  • key – Key string
  • bit – What bit value to look for - must be 1, or 0
  • start – Start offset
Returns:
/** * Find first bit set or clear in a string * <p> * See also bitposRange() method, which takes start, and stop offset. * @param key Key string * @param bit What bit value to look for - must be 1, or 0 * @param start Start offset * @return */
public Single<String> rxBitposFrom(String key, int bit, int start) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { bitposFrom(key, bit, start, fut); })); }
Find first bit set or clear in a string

Note: when both start, and stop offsets are specified, behaviour is slightly different than if only start is specified

Params:
  • key – Key string
  • bit – What bit value to look for - must be 1, or 0
  • start – Start offset
  • stop – End offset - inclusive
  • handler – Handler for the result of this call.
Returns:
/** * Find first bit set or clear in a string * <p> * Note: when both start, and stop offsets are specified, * behaviour is slightly different than if only start is specified * @param key Key string * @param bit What bit value to look for - must be 1, or 0 * @param start Start offset * @param stop End offset - inclusive * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction bitposRange(String key, int bit, int start, int stop, Handler<AsyncResult<String>> handler) { delegate.bitposRange(key, bit, start, stop, handler); return this; }
Find first bit set or clear in a string

Note: when both start, and stop offsets are specified, behaviour is slightly different than if only start is specified

Params:
  • key – Key string
  • bit – What bit value to look for - must be 1, or 0
  • start – Start offset
  • stop – End offset - inclusive
Returns:
Deprecated:use rxBitposRange instead
/** * Find first bit set or clear in a string * <p> * Note: when both start, and stop offsets are specified, * behaviour is slightly different than if only start is specified * @param key Key string * @param bit What bit value to look for - must be 1, or 0 * @param start Start offset * @param stop End offset - inclusive * @return * @deprecated use {@link #rxBitposRange} instead */
@Deprecated() public Observable<String> bitposRangeObservable(String key, int bit, int start, int stop) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); bitposRange(key, bit, start, stop, handler.toHandler()); return handler; }
Find first bit set or clear in a string

Note: when both start, and stop offsets are specified, behaviour is slightly different than if only start is specified

Params:
  • key – Key string
  • bit – What bit value to look for - must be 1, or 0
  • start – Start offset
  • stop – End offset - inclusive
Returns:
/** * Find first bit set or clear in a string * <p> * Note: when both start, and stop offsets are specified, * behaviour is slightly different than if only start is specified * @param key Key string * @param bit What bit value to look for - must be 1, or 0 * @param start Start offset * @param stop End offset - inclusive * @return */
public Single<String> rxBitposRange(String key, int bit, int start, int stop) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { bitposRange(key, bit, start, stop, fut); })); }
Remove and get the first element in a list, or block until one is available
Params:
  • key – Key string identifying a list to watch
  • seconds – Timeout in seconds
  • handler – Handler for the result of this call.
Returns:
/** * Remove and get the first element in a list, or block until one is available * @param key Key string identifying a list to watch * @param seconds Timeout in seconds * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction blpop(String key, int seconds, Handler<AsyncResult<String>> handler) { delegate.blpop(key, seconds, handler); return this; }
Remove and get the first element in a list, or block until one is available
Params:
  • key – Key string identifying a list to watch
  • seconds – Timeout in seconds
Returns:
Deprecated:use rxBlpop instead
/** * Remove and get the first element in a list, or block until one is available * @param key Key string identifying a list to watch * @param seconds Timeout in seconds * @return * @deprecated use {@link #rxBlpop} instead */
@Deprecated() public Observable<String> blpopObservable(String key, int seconds) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); blpop(key, seconds, handler.toHandler()); return handler; }
Remove and get the first element in a list, or block until one is available
Params:
  • key – Key string identifying a list to watch
  • seconds – Timeout in seconds
Returns:
/** * Remove and get the first element in a list, or block until one is available * @param key Key string identifying a list to watch * @param seconds Timeout in seconds * @return */
public Single<String> rxBlpop(String key, int seconds) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { blpop(key, seconds, fut); })); }
Remove and get the first element in any of the lists, or block until one is available
Params:
  • keys – List of key strings identifying lists to watch
  • seconds – Timeout in seconds
  • handler – Handler for the result of this call.
Returns:
/** * Remove and get the first element in any of the lists, or block until one is available * @param keys List of key strings identifying lists to watch * @param seconds Timeout in seconds * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction blpopMany(List<String> keys, int seconds, Handler<AsyncResult<String>> handler) { delegate.blpopMany(keys, seconds, handler); return this; }
Remove and get the first element in any of the lists, or block until one is available
Params:
  • keys – List of key strings identifying lists to watch
  • seconds – Timeout in seconds
Returns:
Deprecated:use rxBlpopMany instead
/** * Remove and get the first element in any of the lists, or block until one is available * @param keys List of key strings identifying lists to watch * @param seconds Timeout in seconds * @return * @deprecated use {@link #rxBlpopMany} instead */
@Deprecated() public Observable<String> blpopManyObservable(List<String> keys, int seconds) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); blpopMany(keys, seconds, handler.toHandler()); return handler; }
Remove and get the first element in any of the lists, or block until one is available
Params:
  • keys – List of key strings identifying lists to watch
  • seconds – Timeout in seconds
Returns:
/** * Remove and get the first element in any of the lists, or block until one is available * @param keys List of key strings identifying lists to watch * @param seconds Timeout in seconds * @return */
public Single<String> rxBlpopMany(List<String> keys, int seconds) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { blpopMany(keys, seconds, fut); })); }
Remove and get the last element in a list, or block until one is available
Params:
  • key – Key string identifying a list to watch
  • seconds – Timeout in seconds
  • handler – Handler for the result of this call.
Returns:
/** * Remove and get the last element in a list, or block until one is available * @param key Key string identifying a list to watch * @param seconds Timeout in seconds * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction brpop(String key, int seconds, Handler<AsyncResult<String>> handler) { delegate.brpop(key, seconds, handler); return this; }
Remove and get the last element in a list, or block until one is available
Params:
  • key – Key string identifying a list to watch
  • seconds – Timeout in seconds
Returns:
Deprecated:use rxBrpop instead
/** * Remove and get the last element in a list, or block until one is available * @param key Key string identifying a list to watch * @param seconds Timeout in seconds * @return * @deprecated use {@link #rxBrpop} instead */
@Deprecated() public Observable<String> brpopObservable(String key, int seconds) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); brpop(key, seconds, handler.toHandler()); return handler; }
Remove and get the last element in a list, or block until one is available
Params:
  • key – Key string identifying a list to watch
  • seconds – Timeout in seconds
Returns:
/** * Remove and get the last element in a list, or block until one is available * @param key Key string identifying a list to watch * @param seconds Timeout in seconds * @return */
public Single<String> rxBrpop(String key, int seconds) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { brpop(key, seconds, fut); })); }
Remove and get the last element in any of the lists, or block until one is available
Params:
  • keys – List of key strings identifying lists to watch
  • seconds – Timeout in seconds
  • handler – Handler for the result of this call.
Returns:
/** * Remove and get the last element in any of the lists, or block until one is available * @param keys List of key strings identifying lists to watch * @param seconds Timeout in seconds * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction brpopMany(List<String> keys, int seconds, Handler<AsyncResult<String>> handler) { delegate.brpopMany(keys, seconds, handler); return this; }
Remove and get the last element in any of the lists, or block until one is available
Params:
  • keys – List of key strings identifying lists to watch
  • seconds – Timeout in seconds
Returns:
Deprecated:use rxBrpopMany instead
/** * Remove and get the last element in any of the lists, or block until one is available * @param keys List of key strings identifying lists to watch * @param seconds Timeout in seconds * @return * @deprecated use {@link #rxBrpopMany} instead */
@Deprecated() public Observable<String> brpopManyObservable(List<String> keys, int seconds) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); brpopMany(keys, seconds, handler.toHandler()); return handler; }
Remove and get the last element in any of the lists, or block until one is available
Params:
  • keys – List of key strings identifying lists to watch
  • seconds – Timeout in seconds
Returns:
/** * Remove and get the last element in any of the lists, or block until one is available * @param keys List of key strings identifying lists to watch * @param seconds Timeout in seconds * @return */
public Single<String> rxBrpopMany(List<String> keys, int seconds) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { brpopMany(keys, seconds, fut); })); }
Pop a value from a list, push it to another list and return it; or block until one is available
Params:
  • key – Key string identifying the source list
  • destkey – Key string identifying the destination list
  • seconds – Timeout in seconds
  • handler – Handler for the result of this call.
Returns:
/** * Pop a value from a list, push it to another list and return it; or block until one is available * @param key Key string identifying the source list * @param destkey Key string identifying the destination list * @param seconds Timeout in seconds * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction brpoplpush(String key, String destkey, int seconds, Handler<AsyncResult<String>> handler) { delegate.brpoplpush(key, destkey, seconds, handler); return this; }
Pop a value from a list, push it to another list and return it; or block until one is available
Params:
  • key – Key string identifying the source list
  • destkey – Key string identifying the destination list
  • seconds – Timeout in seconds
Returns:
Deprecated:use rxBrpoplpush instead
/** * Pop a value from a list, push it to another list and return it; or block until one is available * @param key Key string identifying the source list * @param destkey Key string identifying the destination list * @param seconds Timeout in seconds * @return * @deprecated use {@link #rxBrpoplpush} instead */
@Deprecated() public Observable<String> brpoplpushObservable(String key, String destkey, int seconds) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); brpoplpush(key, destkey, seconds, handler.toHandler()); return handler; }
Pop a value from a list, push it to another list and return it; or block until one is available
Params:
  • key – Key string identifying the source list
  • destkey – Key string identifying the destination list
  • seconds – Timeout in seconds
Returns:
/** * Pop a value from a list, push it to another list and return it; or block until one is available * @param key Key string identifying the source list * @param destkey Key string identifying the destination list * @param seconds Timeout in seconds * @return */
public Single<String> rxBrpoplpush(String key, String destkey, int seconds) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { brpoplpush(key, destkey, seconds, fut); })); }
Kill the connection of a client
Params:
  • filter – Filter options
  • handler – Handler for the result of this call.
Returns:
/** * Kill the connection of a client * @param filter Filter options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clientKill(KillFilter filter, Handler<AsyncResult<String>> handler) { delegate.clientKill(filter, handler); return this; }
Kill the connection of a client
Params:
  • filter – Filter options
Returns:
Deprecated:use rxClientKill instead
/** * Kill the connection of a client * @param filter Filter options * @return * @deprecated use {@link #rxClientKill} instead */
@Deprecated() public Observable<String> clientKillObservable(KillFilter filter) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clientKill(filter, handler.toHandler()); return handler; }
Kill the connection of a client
Params:
  • filter – Filter options
Returns:
/** * Kill the connection of a client * @param filter Filter options * @return */
public Single<String> rxClientKill(KillFilter filter) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clientKill(filter, fut); })); }
Get the list of client connections
Params:
  • handler –
Returns:
/** * Get the list of client connections * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction clientList(Handler<AsyncResult<String>> handler) { delegate.clientList(handler); return this; }
Get the list of client connections
Returns:
Deprecated:use rxClientList instead
/** * Get the list of client connections * @return * @deprecated use {@link #rxClientList} instead */
@Deprecated() public Observable<String> clientListObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clientList(handler.toHandler()); return handler; }
Get the list of client connections
Returns:
/** * Get the list of client connections * @return */
public Single<String> rxClientList() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clientList(fut); })); }
Get the current connection name
Params:
  • handler –
Returns:
/** * Get the current connection name * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction clientGetname(Handler<AsyncResult<String>> handler) { delegate.clientGetname(handler); return this; }
Get the current connection name
Returns:
Deprecated:use rxClientGetname instead
/** * Get the current connection name * @return * @deprecated use {@link #rxClientGetname} instead */
@Deprecated() public Observable<String> clientGetnameObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clientGetname(handler.toHandler()); return handler; }
Get the current connection name
Returns:
/** * Get the current connection name * @return */
public Single<String> rxClientGetname() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clientGetname(fut); })); }
Stop processing commands from clients for some time
Params:
  • millis – Pause time in milliseconds
  • handler – Handler for the result of this call.
Returns:
/** * Stop processing commands from clients for some time * @param millis Pause time in milliseconds * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clientPause(long millis, Handler<AsyncResult<String>> handler) { delegate.clientPause(millis, handler); return this; }
Stop processing commands from clients for some time
Params:
  • millis – Pause time in milliseconds
Returns:
Deprecated:use rxClientPause instead
/** * Stop processing commands from clients for some time * @param millis Pause time in milliseconds * @return * @deprecated use {@link #rxClientPause} instead */
@Deprecated() public Observable<String> clientPauseObservable(long millis) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clientPause(millis, handler.toHandler()); return handler; }
Stop processing commands from clients for some time
Params:
  • millis – Pause time in milliseconds
Returns:
/** * Stop processing commands from clients for some time * @param millis Pause time in milliseconds * @return */
public Single<String> rxClientPause(long millis) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clientPause(millis, fut); })); }
Set the current connection name
Params:
  • name – New name for current connection
  • handler – Handler for the result of this call.
Returns:
/** * Set the current connection name * @param name New name for current connection * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clientSetname(String name, Handler<AsyncResult<String>> handler) { delegate.clientSetname(name, handler); return this; }
Set the current connection name
Params:
  • name – New name for current connection
Returns:
Deprecated:use rxClientSetname instead
/** * Set the current connection name * @param name New name for current connection * @return * @deprecated use {@link #rxClientSetname} instead */
@Deprecated() public Observable<String> clientSetnameObservable(String name) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clientSetname(name, handler.toHandler()); return handler; }
Set the current connection name
Params:
  • name – New name for current connection
Returns:
/** * Set the current connection name * @param name New name for current connection * @return */
public Single<String> rxClientSetname(String name) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clientSetname(name, fut); })); }
Assign new hash slots to receiving node.
Params:
  • slots –
  • handler – Handler for the result of this call.
Returns:
/** * Assign new hash slots to receiving node. * @param slots * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterAddslots(List<String> slots, Handler<AsyncResult<String>> handler) { delegate.clusterAddslots(slots, handler); return this; }
Assign new hash slots to receiving node.
Params:
  • slots –
Returns:
Deprecated:use rxClusterAddslots instead
/** * Assign new hash slots to receiving node. * @param slots * @return * @deprecated use {@link #rxClusterAddslots} instead */
@Deprecated() public Observable<String> clusterAddslotsObservable(List<String> slots) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterAddslots(slots, handler.toHandler()); return handler; }
Assign new hash slots to receiving node.
Params:
  • slots –
Returns:
/** * Assign new hash slots to receiving node. * @param slots * @return */
public Single<String> rxClusterAddslots(List<String> slots) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterAddslots(slots, fut); })); }
Return the number of failure reports active for a given node.
Params:
  • nodeId –
  • handler – Handler for the result of this call.
Returns:
/** * Return the number of failure reports active for a given node. * @param nodeId * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterCountFailureReports(String nodeId, Handler<AsyncResult<String>> handler) { delegate.clusterCountFailureReports(nodeId, handler); return this; }
Return the number of failure reports active for a given node.
Params:
  • nodeId –
Returns:
Deprecated:use rxClusterCountFailureReports instead
/** * Return the number of failure reports active for a given node. * @param nodeId * @return * @deprecated use {@link #rxClusterCountFailureReports} instead */
@Deprecated() public Observable<String> clusterCountFailureReportsObservable(String nodeId) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterCountFailureReports(nodeId, handler.toHandler()); return handler; }
Return the number of failure reports active for a given node.
Params:
  • nodeId –
Returns:
/** * Return the number of failure reports active for a given node. * @param nodeId * @return */
public Single<String> rxClusterCountFailureReports(String nodeId) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterCountFailureReports(nodeId, fut); })); }
Return the number of local keys in the specified hash slot.
Params:
  • slot –
  • handler – Handler for the result of this call.
Returns:
/** * Return the number of local keys in the specified hash slot. * @param slot * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterCountkeysinslot(long slot, Handler<AsyncResult<String>> handler) { delegate.clusterCountkeysinslot(slot, handler); return this; }
Return the number of local keys in the specified hash slot.
Params:
  • slot –
Returns:
Deprecated:use rxClusterCountkeysinslot instead
/** * Return the number of local keys in the specified hash slot. * @param slot * @return * @deprecated use {@link #rxClusterCountkeysinslot} instead */
@Deprecated() public Observable<String> clusterCountkeysinslotObservable(long slot) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterCountkeysinslot(slot, handler.toHandler()); return handler; }
Return the number of local keys in the specified hash slot.
Params:
  • slot –
Returns:
/** * Return the number of local keys in the specified hash slot. * @param slot * @return */
public Single<String> rxClusterCountkeysinslot(long slot) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterCountkeysinslot(slot, fut); })); }
Set hash slots as unbound in receiving node.
Params:
  • slot –
  • handler – Handler for the result of this call.
Returns:
/** * Set hash slots as unbound in receiving node. * @param slot * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterDelslots(long slot, Handler<AsyncResult<String>> handler) { delegate.clusterDelslots(slot, handler); return this; }
Set hash slots as unbound in receiving node.
Params:
  • slot –
Returns:
Deprecated:use rxClusterDelslots instead
/** * Set hash slots as unbound in receiving node. * @param slot * @return * @deprecated use {@link #rxClusterDelslots} instead */
@Deprecated() public Observable<String> clusterDelslotsObservable(long slot) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterDelslots(slot, handler.toHandler()); return handler; }
Set hash slots as unbound in receiving node.
Params:
  • slot –
Returns:
/** * Set hash slots as unbound in receiving node. * @param slot * @return */
public Single<String> rxClusterDelslots(long slot) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterDelslots(slot, fut); })); }
Set hash slots as unbound in receiving node.
Params:
  • slots –
  • handler – Handler for the result of this call.
Returns:
/** * Set hash slots as unbound in receiving node. * @param slots * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterDelslotsMany(List<String> slots, Handler<AsyncResult<String>> handler) { delegate.clusterDelslotsMany(slots, handler); return this; }
Set hash slots as unbound in receiving node.
Params:
  • slots –
Returns:
Deprecated:use rxClusterDelslotsMany instead
/** * Set hash slots as unbound in receiving node. * @param slots * @return * @deprecated use {@link #rxClusterDelslotsMany} instead */
@Deprecated() public Observable<String> clusterDelslotsManyObservable(List<String> slots) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterDelslotsMany(slots, handler.toHandler()); return handler; }
Set hash slots as unbound in receiving node.
Params:
  • slots –
Returns:
/** * Set hash slots as unbound in receiving node. * @param slots * @return */
public Single<String> rxClusterDelslotsMany(List<String> slots) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterDelslotsMany(slots, fut); })); }
Forces a slave to perform a manual failover of its master.
Params:
  • handler – Handler for the result of this call.
Returns:
/** * Forces a slave to perform a manual failover of its master. * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterFailover(Handler<AsyncResult<String>> handler) { delegate.clusterFailover(handler); return this; }
Forces a slave to perform a manual failover of its master.
Returns:
Deprecated:use rxClusterFailover instead
/** * Forces a slave to perform a manual failover of its master. * @return * @deprecated use {@link #rxClusterFailover} instead */
@Deprecated() public Observable<String> clusterFailoverObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterFailover(handler.toHandler()); return handler; }
Forces a slave to perform a manual failover of its master.
Returns:
/** * Forces a slave to perform a manual failover of its master. * @return */
public Single<String> rxClusterFailover() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterFailover(fut); })); }
Forces a slave to perform a manual failover of its master.
Params:
  • options –
  • handler – Handler for the result of this call.
Returns:
/** * Forces a slave to perform a manual failover of its master. * @param options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterFailOverWithOptions(FailoverOptions options, Handler<AsyncResult<String>> handler) { delegate.clusterFailOverWithOptions(options, handler); return this; }
Forces a slave to perform a manual failover of its master.
Params:
  • options –
Returns:
Deprecated:use rxClusterFailOverWithOptions instead
/** * Forces a slave to perform a manual failover of its master. * @param options * @return * @deprecated use {@link #rxClusterFailOverWithOptions} instead */
@Deprecated() public Observable<String> clusterFailOverWithOptionsObservable(FailoverOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterFailOverWithOptions(options, handler.toHandler()); return handler; }
Forces a slave to perform a manual failover of its master.
Params:
  • options –
Returns:
/** * Forces a slave to perform a manual failover of its master. * @param options * @return */
public Single<String> rxClusterFailOverWithOptions(FailoverOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterFailOverWithOptions(options, fut); })); }
Remove a node from the nodes table.
Params:
  • nodeId –
  • handler – Handler for the result of this call.
Returns:
/** * Remove a node from the nodes table. * @param nodeId * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterForget(String nodeId, Handler<AsyncResult<String>> handler) { delegate.clusterForget(nodeId, handler); return this; }
Remove a node from the nodes table.
Params:
  • nodeId –
Returns:
Deprecated:use rxClusterForget instead
/** * Remove a node from the nodes table. * @param nodeId * @return * @deprecated use {@link #rxClusterForget} instead */
@Deprecated() public Observable<String> clusterForgetObservable(String nodeId) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterForget(nodeId, handler.toHandler()); return handler; }
Remove a node from the nodes table.
Params:
  • nodeId –
Returns:
/** * Remove a node from the nodes table. * @param nodeId * @return */
public Single<String> rxClusterForget(String nodeId) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterForget(nodeId, fut); })); }
Return local key names in the specified hash slot.
Params:
  • slot –
  • count –
  • handler – Handler for the result of this call.
Returns:
/** * Return local key names in the specified hash slot. * @param slot * @param count * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterGetkeysinslot(long slot, long count, Handler<AsyncResult<String>> handler) { delegate.clusterGetkeysinslot(slot, count, handler); return this; }
Return local key names in the specified hash slot.
Params:
  • slot –
  • count –
Returns:
Deprecated:use rxClusterGetkeysinslot instead
/** * Return local key names in the specified hash slot. * @param slot * @param count * @return * @deprecated use {@link #rxClusterGetkeysinslot} instead */
@Deprecated() public Observable<String> clusterGetkeysinslotObservable(long slot, long count) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterGetkeysinslot(slot, count, handler.toHandler()); return handler; }
Return local key names in the specified hash slot.
Params:
  • slot –
  • count –
Returns:
/** * Return local key names in the specified hash slot. * @param slot * @param count * @return */
public Single<String> rxClusterGetkeysinslot(long slot, long count) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterGetkeysinslot(slot, count, fut); })); }
Provides info about Redis Cluster node state.
Params:
  • handler – Handler for the result of this call.
Returns:
/** * Provides info about Redis Cluster node state. * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterInfo(Handler<AsyncResult<String>> handler) { delegate.clusterInfo(handler); return this; }
Provides info about Redis Cluster node state.
Returns:
Deprecated:use rxClusterInfo instead
/** * Provides info about Redis Cluster node state. * @return * @deprecated use {@link #rxClusterInfo} instead */
@Deprecated() public Observable<String> clusterInfoObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterInfo(handler.toHandler()); return handler; }
Provides info about Redis Cluster node state.
Returns:
/** * Provides info about Redis Cluster node state. * @return */
public Single<String> rxClusterInfo() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterInfo(fut); })); }
Returns the hash slot of the specified key.
Params:
  • key –
  • handler – Handler for the result of this call.
Returns:
/** * Returns the hash slot of the specified key. * @param key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterKeyslot(String key, Handler<AsyncResult<String>> handler) { delegate.clusterKeyslot(key, handler); return this; }
Returns the hash slot of the specified key.
Params:
  • key –
Returns:
Deprecated:use rxClusterKeyslot instead
/** * Returns the hash slot of the specified key. * @param key * @return * @deprecated use {@link #rxClusterKeyslot} instead */
@Deprecated() public Observable<String> clusterKeyslotObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterKeyslot(key, handler.toHandler()); return handler; }
Returns the hash slot of the specified key.
Params:
  • key –
Returns:
/** * Returns the hash slot of the specified key. * @param key * @return */
public Single<String> rxClusterKeyslot(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterKeyslot(key, fut); })); }
Force a node cluster to handshake with another node.
Params:
  • ip –
  • port –
  • handler – Handler for the result of this call.
Returns:
/** * Force a node cluster to handshake with another node. * @param ip * @param port * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterMeet(String ip, long port, Handler<AsyncResult<String>> handler) { delegate.clusterMeet(ip, port, handler); return this; }
Force a node cluster to handshake with another node.
Params:
  • ip –
  • port –
Returns:
Deprecated:use rxClusterMeet instead
/** * Force a node cluster to handshake with another node. * @param ip * @param port * @return * @deprecated use {@link #rxClusterMeet} instead */
@Deprecated() public Observable<String> clusterMeetObservable(String ip, long port) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterMeet(ip, port, handler.toHandler()); return handler; }
Force a node cluster to handshake with another node.
Params:
  • ip –
  • port –
Returns:
/** * Force a node cluster to handshake with another node. * @param ip * @param port * @return */
public Single<String> rxClusterMeet(String ip, long port) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterMeet(ip, port, fut); })); }
Get Cluster config for the node.
Params:
  • handler – Handler for the result of this call.
Returns:
/** * Get Cluster config for the node. * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterNodes(Handler<AsyncResult<String>> handler) { delegate.clusterNodes(handler); return this; }
Get Cluster config for the node.
Returns:
Deprecated:use rxClusterNodes instead
/** * Get Cluster config for the node. * @return * @deprecated use {@link #rxClusterNodes} instead */
@Deprecated() public Observable<String> clusterNodesObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterNodes(handler.toHandler()); return handler; }
Get Cluster config for the node.
Returns:
/** * Get Cluster config for the node. * @return */
public Single<String> rxClusterNodes() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterNodes(fut); })); }
Reconfigure a node as a slave of the specified master node.
Params:
  • nodeId –
  • handler – Handler for the result of this call.
Returns:
/** * Reconfigure a node as a slave of the specified master node. * @param nodeId * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterReplicate(String nodeId, Handler<AsyncResult<String>> handler) { delegate.clusterReplicate(nodeId, handler); return this; }
Reconfigure a node as a slave of the specified master node.
Params:
  • nodeId –
Returns:
Deprecated:use rxClusterReplicate instead
/** * Reconfigure a node as a slave of the specified master node. * @param nodeId * @return * @deprecated use {@link #rxClusterReplicate} instead */
@Deprecated() public Observable<String> clusterReplicateObservable(String nodeId) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterReplicate(nodeId, handler.toHandler()); return handler; }
Reconfigure a node as a slave of the specified master node.
Params:
  • nodeId –
Returns:
/** * Reconfigure a node as a slave of the specified master node. * @param nodeId * @return */
public Single<String> rxClusterReplicate(String nodeId) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterReplicate(nodeId, fut); })); }
Reset a Redis Cluster node.
Params:
  • handler – Handler for the result of this call.
Returns:
/** * Reset a Redis Cluster node. * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterReset(Handler<AsyncResult<String>> handler) { delegate.clusterReset(handler); return this; }
Reset a Redis Cluster node.
Returns:
Deprecated:use rxClusterReset instead
/** * Reset a Redis Cluster node. * @return * @deprecated use {@link #rxClusterReset} instead */
@Deprecated() public Observable<String> clusterResetObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterReset(handler.toHandler()); return handler; }
Reset a Redis Cluster node.
Returns:
/** * Reset a Redis Cluster node. * @return */
public Single<String> rxClusterReset() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterReset(fut); })); }
Reset a Redis Cluster node.
Params:
  • options –
  • handler – Handler for the result of this call.
Returns:
/** * Reset a Redis Cluster node. * @param options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterResetWithOptions(ResetOptions options, Handler<AsyncResult<String>> handler) { delegate.clusterResetWithOptions(options, handler); return this; }
Reset a Redis Cluster node.
Params:
  • options –
Returns:
Deprecated:use rxClusterResetWithOptions instead
/** * Reset a Redis Cluster node. * @param options * @return * @deprecated use {@link #rxClusterResetWithOptions} instead */
@Deprecated() public Observable<String> clusterResetWithOptionsObservable(ResetOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterResetWithOptions(options, handler.toHandler()); return handler; }
Reset a Redis Cluster node.
Params:
  • options –
Returns:
/** * Reset a Redis Cluster node. * @param options * @return */
public Single<String> rxClusterResetWithOptions(ResetOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterResetWithOptions(options, fut); })); }
Forces the node to save cluster state on disk.
Params:
  • handler – Handler for the result of this call.
Returns:
/** * Forces the node to save cluster state on disk. * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterSaveconfig(Handler<AsyncResult<String>> handler) { delegate.clusterSaveconfig(handler); return this; }
Forces the node to save cluster state on disk.
Returns:
Deprecated:use rxClusterSaveconfig instead
/** * Forces the node to save cluster state on disk. * @return * @deprecated use {@link #rxClusterSaveconfig} instead */
@Deprecated() public Observable<String> clusterSaveconfigObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterSaveconfig(handler.toHandler()); return handler; }
Forces the node to save cluster state on disk.
Returns:
/** * Forces the node to save cluster state on disk. * @return */
public Single<String> rxClusterSaveconfig() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterSaveconfig(fut); })); }
Set the configuration epoch in a new node.
Params:
  • epoch –
  • handler – Handler for the result of this call.
Returns:
/** * Set the configuration epoch in a new node. * @param epoch * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterSetConfigEpoch(long epoch, Handler<AsyncResult<String>> handler) { delegate.clusterSetConfigEpoch(epoch, handler); return this; }
Set the configuration epoch in a new node.
Params:
  • epoch –
Returns:
Deprecated:use rxClusterSetConfigEpoch instead
/** * Set the configuration epoch in a new node. * @param epoch * @return * @deprecated use {@link #rxClusterSetConfigEpoch} instead */
@Deprecated() public Observable<String> clusterSetConfigEpochObservable(long epoch) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterSetConfigEpoch(epoch, handler.toHandler()); return handler; }
Set the configuration epoch in a new node.
Params:
  • epoch –
Returns:
/** * Set the configuration epoch in a new node. * @param epoch * @return */
public Single<String> rxClusterSetConfigEpoch(long epoch) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterSetConfigEpoch(epoch, fut); })); }
Bind an hash slot to a specific node.
Params:
  • slot –
  • subcommand –
  • handler – Handler for the result of this call.
Returns:
/** * Bind an hash slot to a specific node. * @param slot * @param subcommand * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterSetslot(long slot, SlotCmd subcommand, Handler<AsyncResult<String>> handler) { delegate.clusterSetslot(slot, subcommand, handler); return this; }
Bind an hash slot to a specific node.
Params:
  • slot –
  • subcommand –
Returns:
Deprecated:use rxClusterSetslot instead
/** * Bind an hash slot to a specific node. * @param slot * @param subcommand * @return * @deprecated use {@link #rxClusterSetslot} instead */
@Deprecated() public Observable<String> clusterSetslotObservable(long slot, SlotCmd subcommand) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterSetslot(slot, subcommand, handler.toHandler()); return handler; }
Bind an hash slot to a specific node.
Params:
  • slot –
  • subcommand –
Returns:
/** * Bind an hash slot to a specific node. * @param slot * @param subcommand * @return */
public Single<String> rxClusterSetslot(long slot, SlotCmd subcommand) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterSetslot(slot, subcommand, fut); })); }
Bind an hash slot to a specific node.
Params:
  • slot –
  • subcommand –
  • nodeId –
  • handler – Handler for the result of this call.
Returns:
/** * Bind an hash slot to a specific node. * @param slot * @param subcommand * @param nodeId * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterSetslotWithNode(long slot, SlotCmd subcommand, String nodeId, Handler<AsyncResult<String>> handler) { delegate.clusterSetslotWithNode(slot, subcommand, nodeId, handler); return this; }
Bind an hash slot to a specific node.
Params:
  • slot –
  • subcommand –
  • nodeId –
Returns:
Deprecated:use rxClusterSetslotWithNode instead
/** * Bind an hash slot to a specific node. * @param slot * @param subcommand * @param nodeId * @return * @deprecated use {@link #rxClusterSetslotWithNode} instead */
@Deprecated() public Observable<String> clusterSetslotWithNodeObservable(long slot, SlotCmd subcommand, String nodeId) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterSetslotWithNode(slot, subcommand, nodeId, handler.toHandler()); return handler; }
Bind an hash slot to a specific node.
Params:
  • slot –
  • subcommand –
  • nodeId –
Returns:
/** * Bind an hash slot to a specific node. * @param slot * @param subcommand * @param nodeId * @return */
public Single<String> rxClusterSetslotWithNode(long slot, SlotCmd subcommand, String nodeId) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterSetslotWithNode(slot, subcommand, nodeId, fut); })); }
List slave nodes of the specified master node.
Params:
  • nodeId –
  • handler – Handler for the result of this call.
Returns:
/** * List slave nodes of the specified master node. * @param nodeId * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterSlaves(String nodeId, Handler<AsyncResult<String>> handler) { delegate.clusterSlaves(nodeId, handler); return this; }
List slave nodes of the specified master node.
Params:
  • nodeId –
Returns:
Deprecated:use rxClusterSlaves instead
/** * List slave nodes of the specified master node. * @param nodeId * @return * @deprecated use {@link #rxClusterSlaves} instead */
@Deprecated() public Observable<String> clusterSlavesObservable(String nodeId) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterSlaves(nodeId, handler.toHandler()); return handler; }
List slave nodes of the specified master node.
Params:
  • nodeId –
Returns:
/** * List slave nodes of the specified master node. * @param nodeId * @return */
public Single<String> rxClusterSlaves(String nodeId) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterSlaves(nodeId, fut); })); }
Get array of Cluster slot to node mappings
Params:
  • handler –
Returns:
/** * Get array of Cluster slot to node mappings * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction clusterSlots(Handler<AsyncResult<String>> handler) { delegate.clusterSlots(handler); return this; }
Get array of Cluster slot to node mappings
Returns:
Deprecated:use rxClusterSlots instead
/** * Get array of Cluster slot to node mappings * @return * @deprecated use {@link #rxClusterSlots} instead */
@Deprecated() public Observable<String> clusterSlotsObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); clusterSlots(handler.toHandler()); return handler; }
Get array of Cluster slot to node mappings
Returns:
/** * Get array of Cluster slot to node mappings * @return */
public Single<String> rxClusterSlots() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { clusterSlots(fut); })); }
Get array of Redis command details
Params:
  • handler –
Returns:
/** * Get array of Redis command details * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction command(Handler<AsyncResult<String>> handler) { delegate.command(handler); return this; }
Get array of Redis command details
Returns:
Deprecated:use rxCommand instead
/** * Get array of Redis command details * @return * @deprecated use {@link #rxCommand} instead */
@Deprecated() public Observable<String> commandObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); command(handler.toHandler()); return handler; }
Get array of Redis command details
Returns:
/** * Get array of Redis command details * @return */
public Single<String> rxCommand() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { command(fut); })); }
Get total number of Redis commands
Params:
  • handler –
Returns:
/** * Get total number of Redis commands * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction commandCount(Handler<AsyncResult<String>> handler) { delegate.commandCount(handler); return this; }
Get total number of Redis commands
Returns:
Deprecated:use rxCommandCount instead
/** * Get total number of Redis commands * @return * @deprecated use {@link #rxCommandCount} instead */
@Deprecated() public Observable<String> commandCountObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); commandCount(handler.toHandler()); return handler; }
Get total number of Redis commands
Returns:
/** * Get total number of Redis commands * @return */
public Single<String> rxCommandCount() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { commandCount(fut); })); }
Extract keys given a full Redis command
Params:
  • handler –
Returns:
/** * Extract keys given a full Redis command * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction commandGetkeys(Handler<AsyncResult<String>> handler) { delegate.commandGetkeys(handler); return this; }
Extract keys given a full Redis command
Returns:
Deprecated:use rxCommandGetkeys instead
/** * Extract keys given a full Redis command * @return * @deprecated use {@link #rxCommandGetkeys} instead */
@Deprecated() public Observable<String> commandGetkeysObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); commandGetkeys(handler.toHandler()); return handler; }
Extract keys given a full Redis command
Returns:
/** * Extract keys given a full Redis command * @return */
public Single<String> rxCommandGetkeys() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { commandGetkeys(fut); })); }
Get array of specific Redis command details
Params:
  • commands – List of commands to get info for
  • handler – Handler for the result of this call.
Returns:
/** * Get array of specific Redis command details * @param commands List of commands to get info for * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction commandInfo(List<String> commands, Handler<AsyncResult<String>> handler) { delegate.commandInfo(commands, handler); return this; }
Get array of specific Redis command details
Params:
  • commands – List of commands to get info for
Returns:
Deprecated:use rxCommandInfo instead
/** * Get array of specific Redis command details * @param commands List of commands to get info for * @return * @deprecated use {@link #rxCommandInfo} instead */
@Deprecated() public Observable<String> commandInfoObservable(List<String> commands) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); commandInfo(commands, handler.toHandler()); return handler; }
Get array of specific Redis command details
Params:
  • commands – List of commands to get info for
Returns:
/** * Get array of specific Redis command details * @param commands List of commands to get info for * @return */
public Single<String> rxCommandInfo(List<String> commands) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { commandInfo(commands, fut); })); }
Get the value of a configuration parameter
Params:
  • parameter – Configuration parameter
  • handler – Handler for the result of this call.
Returns:
/** * Get the value of a configuration parameter * @param parameter Configuration parameter * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction configGet(String parameter, Handler<AsyncResult<String>> handler) { delegate.configGet(parameter, handler); return this; }
Get the value of a configuration parameter
Params:
  • parameter – Configuration parameter
Returns:
Deprecated:use rxConfigGet instead
/** * Get the value of a configuration parameter * @param parameter Configuration parameter * @return * @deprecated use {@link #rxConfigGet} instead */
@Deprecated() public Observable<String> configGetObservable(String parameter) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); configGet(parameter, handler.toHandler()); return handler; }
Get the value of a configuration parameter
Params:
  • parameter – Configuration parameter
Returns:
/** * Get the value of a configuration parameter * @param parameter Configuration parameter * @return */
public Single<String> rxConfigGet(String parameter) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { configGet(parameter, fut); })); }
Rewrite the configuration file with the in memory configuration
Params:
  • handler –
Returns:
/** * Rewrite the configuration file with the in memory configuration * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction configRewrite(Handler<AsyncResult<String>> handler) { delegate.configRewrite(handler); return this; }
Rewrite the configuration file with the in memory configuration
Returns:
Deprecated:use rxConfigRewrite instead
/** * Rewrite the configuration file with the in memory configuration * @return * @deprecated use {@link #rxConfigRewrite} instead */
@Deprecated() public Observable<String> configRewriteObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); configRewrite(handler.toHandler()); return handler; }
Rewrite the configuration file with the in memory configuration
Returns:
/** * Rewrite the configuration file with the in memory configuration * @return */
public Single<String> rxConfigRewrite() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { configRewrite(fut); })); }
Set a configuration parameter to the given value
Params:
  • parameter – Configuration parameter
  • value – New value
  • handler – Handler for the result of this call.
Returns:
/** * Set a configuration parameter to the given value * @param parameter Configuration parameter * @param value New value * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction configSet(String parameter, String value, Handler<AsyncResult<String>> handler) { delegate.configSet(parameter, value, handler); return this; }
Set a configuration parameter to the given value
Params:
  • parameter – Configuration parameter
  • value – New value
Returns:
Deprecated:use rxConfigSet instead
/** * Set a configuration parameter to the given value * @param parameter Configuration parameter * @param value New value * @return * @deprecated use {@link #rxConfigSet} instead */
@Deprecated() public Observable<String> configSetObservable(String parameter, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); configSet(parameter, value, handler.toHandler()); return handler; }
Set a configuration parameter to the given value
Params:
  • parameter – Configuration parameter
  • value – New value
Returns:
/** * Set a configuration parameter to the given value * @param parameter Configuration parameter * @param value New value * @return */
public Single<String> rxConfigSet(String parameter, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { configSet(parameter, value, fut); })); }
Reset the stats returned by INFO
Params:
  • handler –
Returns:
/** * Reset the stats returned by INFO * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction configResetstat(Handler<AsyncResult<String>> handler) { delegate.configResetstat(handler); return this; }
Reset the stats returned by INFO
Returns:
Deprecated:use rxConfigResetstat instead
/** * Reset the stats returned by INFO * @return * @deprecated use {@link #rxConfigResetstat} instead */
@Deprecated() public Observable<String> configResetstatObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); configResetstat(handler.toHandler()); return handler; }
Reset the stats returned by INFO
Returns:
/** * Reset the stats returned by INFO * @return */
public Single<String> rxConfigResetstat() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { configResetstat(fut); })); }
Return the number of keys in the selected database
Params:
  • handler –
Returns:
/** * Return the number of keys in the selected database * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction dbsize(Handler<AsyncResult<String>> handler) { delegate.dbsize(handler); return this; }
Return the number of keys in the selected database
Returns:
Deprecated:use rxDbsize instead
/** * Return the number of keys in the selected database * @return * @deprecated use {@link #rxDbsize} instead */
@Deprecated() public Observable<String> dbsizeObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); dbsize(handler.toHandler()); return handler; }
Return the number of keys in the selected database
Returns:
/** * Return the number of keys in the selected database * @return */
public Single<String> rxDbsize() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { dbsize(fut); })); }
Get debugging information about a key
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get debugging information about a key * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction debugObject(String key, Handler<AsyncResult<String>> handler) { delegate.debugObject(key, handler); return this; }
Get debugging information about a key
Params:
  • key – Key string
Returns:
Deprecated:use rxDebugObject instead
/** * Get debugging information about a key * @param key Key string * @return * @deprecated use {@link #rxDebugObject} instead */
@Deprecated() public Observable<String> debugObjectObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); debugObject(key, handler.toHandler()); return handler; }
Get debugging information about a key
Params:
  • key – Key string
Returns:
/** * Get debugging information about a key * @param key Key string * @return */
public Single<String> rxDebugObject(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { debugObject(key, fut); })); }
Make the server crash
Params:
  • handler –
Returns:
/** * Make the server crash * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction debugSegfault(Handler<AsyncResult<String>> handler) { delegate.debugSegfault(handler); return this; }
Make the server crash
Returns:
Deprecated:use rxDebugSegfault instead
/** * Make the server crash * @return * @deprecated use {@link #rxDebugSegfault} instead */
@Deprecated() public Observable<String> debugSegfaultObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); debugSegfault(handler.toHandler()); return handler; }
Make the server crash
Returns:
/** * Make the server crash * @return */
public Single<String> rxDebugSegfault() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { debugSegfault(fut); })); }
Decrement the integer value of a key by one
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Decrement the integer value of a key by one * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction decr(String key, Handler<AsyncResult<String>> handler) { delegate.decr(key, handler); return this; }
Decrement the integer value of a key by one
Params:
  • key – Key string
Returns:
Deprecated:use rxDecr instead
/** * Decrement the integer value of a key by one * @param key Key string * @return * @deprecated use {@link #rxDecr} instead */
@Deprecated() public Observable<String> decrObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); decr(key, handler.toHandler()); return handler; }
Decrement the integer value of a key by one
Params:
  • key – Key string
Returns:
/** * Decrement the integer value of a key by one * @param key Key string * @return */
public Single<String> rxDecr(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { decr(key, fut); })); }
Decrement the integer value of a key by the given number
Params:
  • key – Key string
  • decrement – Value by which to decrement
  • handler – Handler for the result of this call.
Returns:
/** * Decrement the integer value of a key by the given number * @param key Key string * @param decrement Value by which to decrement * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction decrby(String key, long decrement, Handler<AsyncResult<String>> handler) { delegate.decrby(key, decrement, handler); return this; }
Decrement the integer value of a key by the given number
Params:
  • key – Key string
  • decrement – Value by which to decrement
Returns:
Deprecated:use rxDecrby instead
/** * Decrement the integer value of a key by the given number * @param key Key string * @param decrement Value by which to decrement * @return * @deprecated use {@link #rxDecrby} instead */
@Deprecated() public Observable<String> decrbyObservable(String key, long decrement) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); decrby(key, decrement, handler.toHandler()); return handler; }
Decrement the integer value of a key by the given number
Params:
  • key – Key string
  • decrement – Value by which to decrement
Returns:
/** * Decrement the integer value of a key by the given number * @param key Key string * @param decrement Value by which to decrement * @return */
public Single<String> rxDecrby(String key, long decrement) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { decrby(key, decrement, fut); })); }
Delete a key
Params:
  • key – Keys to delete
  • handler – Handler for the result of this call.
Returns:
/** * Delete a key * @param key Keys to delete * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction del(String key, Handler<AsyncResult<String>> handler) { delegate.del(key, handler); return this; }
Delete a key
Params:
  • key – Keys to delete
Returns:
Deprecated:use rxDel instead
/** * Delete a key * @param key Keys to delete * @return * @deprecated use {@link #rxDel} instead */
@Deprecated() public Observable<String> delObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); del(key, handler.toHandler()); return handler; }
Delete a key
Params:
  • key – Keys to delete
Returns:
/** * Delete a key * @param key Keys to delete * @return */
public Single<String> rxDel(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { del(key, fut); })); }
Delete many keys
Params:
  • keys – List of keys to delete
  • handler – Handler for the result of this call.
Returns:
/** * Delete many keys * @param keys List of keys to delete * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction delMany(List<String> keys, Handler<AsyncResult<String>> handler) { delegate.delMany(keys, handler); return this; }
Delete many keys
Params:
  • keys – List of keys to delete
Returns:
Deprecated:use rxDelMany instead
/** * Delete many keys * @param keys List of keys to delete * @return * @deprecated use {@link #rxDelMany} instead */
@Deprecated() public Observable<String> delManyObservable(List<String> keys) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); delMany(keys, handler.toHandler()); return handler; }
Delete many keys
Params:
  • keys – List of keys to delete
Returns:
/** * Delete many keys * @param keys List of keys to delete * @return */
public Single<String> rxDelMany(List<String> keys) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { delMany(keys, fut); })); }
Discard all commands issued after MULTI
Params:
  • handler –
Returns:
/** * Discard all commands issued after MULTI * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction discard(Handler<AsyncResult<String>> handler) { delegate.discard(handler); return this; }
Discard all commands issued after MULTI
Returns:
Deprecated:use rxDiscard instead
/** * Discard all commands issued after MULTI * @return * @deprecated use {@link #rxDiscard} instead */
@Deprecated() public Observable<String> discardObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); discard(handler.toHandler()); return handler; }
Discard all commands issued after MULTI
Returns:
/** * Discard all commands issued after MULTI * @return */
public Single<String> rxDiscard() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { discard(fut); })); }
Return a serialized version of the value stored at the specified key.
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Return a serialized version of the value stored at the specified key. * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction dump(String key, Handler<AsyncResult<String>> handler) { delegate.dump(key, handler); return this; }
Return a serialized version of the value stored at the specified key.
Params:
  • key – Key string
Returns:
Deprecated:use rxDump instead
/** * Return a serialized version of the value stored at the specified key. * @param key Key string * @return * @deprecated use {@link #rxDump} instead */
@Deprecated() public Observable<String> dumpObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); dump(key, handler.toHandler()); return handler; }
Return a serialized version of the value stored at the specified key.
Params:
  • key – Key string
Returns:
/** * Return a serialized version of the value stored at the specified key. * @param key Key string * @return */
public Single<String> rxDump(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { dump(key, fut); })); }
Echo the given string
Params:
  • message – String to echo
  • handler – Handler for the result of this call.
Returns:
/** * Echo the given string * @param message String to echo * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction echo(String message, Handler<AsyncResult<String>> handler) { delegate.echo(message, handler); return this; }
Echo the given string
Params:
  • message – String to echo
Returns:
Deprecated:use rxEcho instead
/** * Echo the given string * @param message String to echo * @return * @deprecated use {@link #rxEcho} instead */
@Deprecated() public Observable<String> echoObservable(String message) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); echo(message, handler.toHandler()); return handler; }
Echo the given string
Params:
  • message – String to echo
Returns:
/** * Echo the given string * @param message String to echo * @return */
public Single<String> rxEcho(String message) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { echo(message, fut); })); }
Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray.

When a reply if for example a String the handler will be called with a JsonArray with a single element containing the String.

Params:
  • script – Lua script to evaluate
  • keys – List of keys
  • args – List of argument values
  • handler – Handler for the result of this call.
Returns:
/** * Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned * for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray. * <p> * When a reply if for example a String the handler will be called with a JsonArray with a single element containing * the String. * @param script Lua script to evaluate * @param keys List of keys * @param args List of argument values * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction eval(String script, List<String> keys, List<String> args, Handler<AsyncResult<String>> handler) { delegate.eval(script, keys, args, handler); return this; }
Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray.

When a reply if for example a String the handler will be called with a JsonArray with a single element containing the String.

Params:
  • script – Lua script to evaluate
  • keys – List of keys
  • args – List of argument values
Returns:
Deprecated:use rxEval instead
/** * Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned * for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray. * <p> * When a reply if for example a String the handler will be called with a JsonArray with a single element containing * the String. * @param script Lua script to evaluate * @param keys List of keys * @param args List of argument values * @return * @deprecated use {@link #rxEval} instead */
@Deprecated() public Observable<String> evalObservable(String script, List<String> keys, List<String> args) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); eval(script, keys, args, handler.toHandler()); return handler; }
Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray.

When a reply if for example a String the handler will be called with a JsonArray with a single element containing the String.

Params:
  • script – Lua script to evaluate
  • keys – List of keys
  • args – List of argument values
Returns:
/** * Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned * for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray. * <p> * When a reply if for example a String the handler will be called with a JsonArray with a single element containing * the String. * @param script Lua script to evaluate * @param keys List of keys * @param args List of argument values * @return */
public Single<String> rxEval(String script, List<String> keys, List<String> args) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { eval(script, keys, args, fut); })); }
Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray.

When a reply if for example a String the handler will be called with a JsonArray with a single element containing the String.

Params:
  • sha1 – SHA1 digest of the script cached on the server
  • keys – List of keys
  • values – List of values
  • handler – Handler for the result of this call.
Returns:
/** * Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned * for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray. * <p> * When a reply if for example a String the handler will be called with a JsonArray with a single element containing * the String. * @param sha1 SHA1 digest of the script cached on the server * @param keys List of keys * @param values List of values * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction evalsha(String sha1, List<String> keys, List<String> values, Handler<AsyncResult<String>> handler) { delegate.evalsha(sha1, keys, values, handler); return this; }
Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray.

When a reply if for example a String the handler will be called with a JsonArray with a single element containing the String.

Params:
  • sha1 – SHA1 digest of the script cached on the server
  • keys – List of keys
  • values – List of values
Returns:
Deprecated:use rxEvalsha instead
/** * Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned * for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray. * <p> * When a reply if for example a String the handler will be called with a JsonArray with a single element containing * the String. * @param sha1 SHA1 digest of the script cached on the server * @param keys List of keys * @param values List of values * @return * @deprecated use {@link #rxEvalsha} instead */
@Deprecated() public Observable<String> evalshaObservable(String sha1, List<String> keys, List<String> values) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); evalsha(sha1, keys, values, handler.toHandler()); return handler; }
Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray.

When a reply if for example a String the handler will be called with a JsonArray with a single element containing the String.

Params:
  • sha1 – SHA1 digest of the script cached on the server
  • keys – List of keys
  • values – List of values
Returns:
/** * Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned * for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray. * <p> * When a reply if for example a String the handler will be called with a JsonArray with a single element containing * the String. * @param sha1 SHA1 digest of the script cached on the server * @param keys List of keys * @param values List of values * @return */
public Single<String> rxEvalsha(String sha1, List<String> keys, List<String> values) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { evalsha(sha1, keys, values, fut); })); }
Execute all commands issued after MULTI
Params:
  • handler –
Returns:
/** * Execute all commands issued after MULTI * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction exec(Handler<AsyncResult<JsonArray>> handler) { delegate.exec(handler); return this; }
Execute all commands issued after MULTI
Returns:
Deprecated:use rxExec instead
/** * Execute all commands issued after MULTI * @return * @deprecated use {@link #rxExec} instead */
@Deprecated() public Observable<JsonArray> execObservable() { io.vertx.rx.java.ObservableFuture<JsonArray> handler = io.vertx.rx.java.RxHelper.observableFuture(); exec(handler.toHandler()); return handler; }
Execute all commands issued after MULTI
Returns:
/** * Execute all commands issued after MULTI * @return */
public Single<JsonArray> rxExec() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { exec(fut); })); }
Determine if a key exists
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Determine if a key exists * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction exists(String key, Handler<AsyncResult<String>> handler) { delegate.exists(key, handler); return this; }
Determine if a key exists
Params:
  • key – Key string
Returns:
Deprecated:use rxExists instead
/** * Determine if a key exists * @param key Key string * @return * @deprecated use {@link #rxExists} instead */
@Deprecated() public Observable<String> existsObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); exists(key, handler.toHandler()); return handler; }
Determine if a key exists
Params:
  • key – Key string
Returns:
/** * Determine if a key exists * @param key Key string * @return */
public Single<String> rxExists(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { exists(key, fut); })); }
Determine if one or many keys exist
Params:
  • keys – List of key strings
  • handler – Handler for the result of this call.
Returns:
/** * Determine if one or many keys exist * @param keys List of key strings * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction existsMany(List<String> keys, Handler<AsyncResult<String>> handler) { delegate.existsMany(keys, handler); return this; }
Determine if one or many keys exist
Params:
  • keys – List of key strings
Returns:
Deprecated:use rxExistsMany instead
/** * Determine if one or many keys exist * @param keys List of key strings * @return * @deprecated use {@link #rxExistsMany} instead */
@Deprecated() public Observable<String> existsManyObservable(List<String> keys) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); existsMany(keys, handler.toHandler()); return handler; }
Determine if one or many keys exist
Params:
  • keys – List of key strings
Returns:
/** * Determine if one or many keys exist * @param keys List of key strings * @return */
public Single<String> rxExistsMany(List<String> keys) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { existsMany(keys, fut); })); }
Set a key's time to live in seconds
Params:
  • key – Key string
  • seconds – Time to live in seconds
  • handler – Handler for the result of this call.
Returns:
/** * Set a key's time to live in seconds * @param key Key string * @param seconds Time to live in seconds * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction expire(String key, int seconds, Handler<AsyncResult<String>> handler) { delegate.expire(key, seconds, handler); return this; }
Set a key's time to live in seconds
Params:
  • key – Key string
  • seconds – Time to live in seconds
Returns:
Deprecated:use rxExpire instead
/** * Set a key's time to live in seconds * @param key Key string * @param seconds Time to live in seconds * @return * @deprecated use {@link #rxExpire} instead */
@Deprecated() public Observable<String> expireObservable(String key, int seconds) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); expire(key, seconds, handler.toHandler()); return handler; }
Set a key's time to live in seconds
Params:
  • key – Key string
  • seconds – Time to live in seconds
Returns:
/** * Set a key's time to live in seconds * @param key Key string * @param seconds Time to live in seconds * @return */
public Single<String> rxExpire(String key, int seconds) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { expire(key, seconds, fut); })); }
Set the expiration for a key as a UNIX timestamp
Params:
  • key – Key string
  • seconds – Expiry time as Unix timestamp in seconds
  • handler – Handler for the result of this call.
Returns:
/** * Set the expiration for a key as a UNIX timestamp * @param key Key string * @param seconds Expiry time as Unix timestamp in seconds * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction expireat(String key, long seconds, Handler<AsyncResult<String>> handler) { delegate.expireat(key, seconds, handler); return this; }
Set the expiration for a key as a UNIX timestamp
Params:
  • key – Key string
  • seconds – Expiry time as Unix timestamp in seconds
Returns:
Deprecated:use rxExpireat instead
/** * Set the expiration for a key as a UNIX timestamp * @param key Key string * @param seconds Expiry time as Unix timestamp in seconds * @return * @deprecated use {@link #rxExpireat} instead */
@Deprecated() public Observable<String> expireatObservable(String key, long seconds) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); expireat(key, seconds, handler.toHandler()); return handler; }
Set the expiration for a key as a UNIX timestamp
Params:
  • key – Key string
  • seconds – Expiry time as Unix timestamp in seconds
Returns:
/** * Set the expiration for a key as a UNIX timestamp * @param key Key string * @param seconds Expiry time as Unix timestamp in seconds * @return */
public Single<String> rxExpireat(String key, long seconds) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { expireat(key, seconds, fut); })); }
Remove all keys from all databases
Params:
  • handler –
Returns:
/** * Remove all keys from all databases * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction flushall(Handler<AsyncResult<String>> handler) { delegate.flushall(handler); return this; }
Remove all keys from all databases
Returns:
Deprecated:use rxFlushall instead
/** * Remove all keys from all databases * @return * @deprecated use {@link #rxFlushall} instead */
@Deprecated() public Observable<String> flushallObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); flushall(handler.toHandler()); return handler; }
Remove all keys from all databases
Returns:
/** * Remove all keys from all databases * @return */
public Single<String> rxFlushall() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { flushall(fut); })); }
Remove all keys from the current database
Params:
  • handler –
Returns:
/** * Remove all keys from the current database * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction flushdb(Handler<AsyncResult<String>> handler) { delegate.flushdb(handler); return this; }
Remove all keys from the current database
Returns:
Deprecated:use rxFlushdb instead
/** * Remove all keys from the current database * @return * @deprecated use {@link #rxFlushdb} instead */
@Deprecated() public Observable<String> flushdbObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); flushdb(handler.toHandler()); return handler; }
Remove all keys from the current database
Returns:
/** * Remove all keys from the current database * @return */
public Single<String> rxFlushdb() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { flushdb(fut); })); }
Get the value of a key
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get the value of a key * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction get(String key, Handler<AsyncResult<String>> handler) { delegate.get(key, handler); return this; }
Get the value of a key
Params:
  • key – Key string
Returns:
Deprecated:use rxGet instead
/** * Get the value of a key * @param key Key string * @return * @deprecated use {@link #rxGet} instead */
@Deprecated() public Observable<String> getObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); get(key, handler.toHandler()); return handler; }
Get the value of a key
Params:
  • key – Key string
Returns:
/** * Get the value of a key * @param key Key string * @return */
public Single<String> rxGet(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { get(key, fut); })); }
Get the value of a key - without decoding as utf-8
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get the value of a key - without decoding as utf-8 * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction getBinary(String key, Handler<AsyncResult<io.vertx.rxjava.core.buffer.Buffer>> handler) { delegate.getBinary(key, new Handler<AsyncResult<io.vertx.core.buffer.Buffer>>() { public void handle(AsyncResult<io.vertx.core.buffer.Buffer> ar) { if (ar.succeeded()) { handler.handle(io.vertx.core.Future.succeededFuture(io.vertx.rxjava.core.buffer.Buffer.newInstance(ar.result()))); } else { handler.handle(io.vertx.core.Future.failedFuture(ar.cause())); } } }); return this; }
Get the value of a key - without decoding as utf-8
Params:
  • key – Key string
Returns:
Deprecated:use rxGetBinary instead
/** * Get the value of a key - without decoding as utf-8 * @param key Key string * @return * @deprecated use {@link #rxGetBinary} instead */
@Deprecated() public Observable<io.vertx.rxjava.core.buffer.Buffer> getBinaryObservable(String key) { io.vertx.rx.java.ObservableFuture<io.vertx.rxjava.core.buffer.Buffer> handler = io.vertx.rx.java.RxHelper.observableFuture(); getBinary(key, handler.toHandler()); return handler; }
Get the value of a key - without decoding as utf-8
Params:
  • key – Key string
Returns:
/** * Get the value of a key - without decoding as utf-8 * @param key Key string * @return */
public Single<io.vertx.rxjava.core.buffer.Buffer> rxGetBinary(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { getBinary(key, fut); })); }
Returns the bit value at offset in the string value stored at key
Params:
  • key – Key string
  • offset – Offset in bits
  • handler – Handler for the result of this call.
Returns:
/** * Returns the bit value at offset in the string value stored at key * @param key Key string * @param offset Offset in bits * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction getbit(String key, long offset, Handler<AsyncResult<String>> handler) { delegate.getbit(key, offset, handler); return this; }
Returns the bit value at offset in the string value stored at key
Params:
  • key – Key string
  • offset – Offset in bits
Returns:
Deprecated:use rxGetbit instead
/** * Returns the bit value at offset in the string value stored at key * @param key Key string * @param offset Offset in bits * @return * @deprecated use {@link #rxGetbit} instead */
@Deprecated() public Observable<String> getbitObservable(String key, long offset) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); getbit(key, offset, handler.toHandler()); return handler; }
Returns the bit value at offset in the string value stored at key
Params:
  • key – Key string
  • offset – Offset in bits
Returns:
/** * Returns the bit value at offset in the string value stored at key * @param key Key string * @param offset Offset in bits * @return */
public Single<String> rxGetbit(String key, long offset) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { getbit(key, offset, fut); })); }
Get a substring of the string stored at a key
Params:
  • key – Key string
  • start – Start offset
  • end – End offset - inclusive
  • handler – Handler for the result of this call.
Returns:
/** * Get a substring of the string stored at a key * @param key Key string * @param start Start offset * @param end End offset - inclusive * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction getrange(String key, long start, long end, Handler<AsyncResult<String>> handler) { delegate.getrange(key, start, end, handler); return this; }
Get a substring of the string stored at a key
Params:
  • key – Key string
  • start – Start offset
  • end – End offset - inclusive
Returns:
Deprecated:use rxGetrange instead
/** * Get a substring of the string stored at a key * @param key Key string * @param start Start offset * @param end End offset - inclusive * @return * @deprecated use {@link #rxGetrange} instead */
@Deprecated() public Observable<String> getrangeObservable(String key, long start, long end) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); getrange(key, start, end, handler.toHandler()); return handler; }
Get a substring of the string stored at a key
Params:
  • key – Key string
  • start – Start offset
  • end – End offset - inclusive
Returns:
/** * Get a substring of the string stored at a key * @param key Key string * @param start Start offset * @param end End offset - inclusive * @return */
public Single<String> rxGetrange(String key, long start, long end) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { getrange(key, start, end, fut); })); }
Set the string value of a key and return its old value
Params:
  • key – Key of which value to set
  • value – New value for the key
  • handler – Handler for the result of this call.
Returns:
/** * Set the string value of a key and return its old value * @param key Key of which value to set * @param value New value for the key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction getset(String key, String value, Handler<AsyncResult<String>> handler) { delegate.getset(key, value, handler); return this; }
Set the string value of a key and return its old value
Params:
  • key – Key of which value to set
  • value – New value for the key
Returns:
Deprecated:use rxGetset instead
/** * Set the string value of a key and return its old value * @param key Key of which value to set * @param value New value for the key * @return * @deprecated use {@link #rxGetset} instead */
@Deprecated() public Observable<String> getsetObservable(String key, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); getset(key, value, handler.toHandler()); return handler; }
Set the string value of a key and return its old value
Params:
  • key – Key of which value to set
  • value – New value for the key
Returns:
/** * Set the string value of a key and return its old value * @param key Key of which value to set * @param value New value for the key * @return */
public Single<String> rxGetset(String key, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { getset(key, value, fut); })); }
Delete one or more hash fields
Params:
  • key – Key string
  • field – Field name
  • handler – Handler for the result of this call.
Returns:
/** * Delete one or more hash fields * @param key Key string * @param field Field name * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hdel(String key, String field, Handler<AsyncResult<String>> handler) { delegate.hdel(key, field, handler); return this; }
Delete one or more hash fields
Params:
  • key – Key string
  • field – Field name
Returns:
Deprecated:use rxHdel instead
/** * Delete one or more hash fields * @param key Key string * @param field Field name * @return * @deprecated use {@link #rxHdel} instead */
@Deprecated() public Observable<String> hdelObservable(String key, String field) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hdel(key, field, handler.toHandler()); return handler; }
Delete one or more hash fields
Params:
  • key – Key string
  • field – Field name
Returns:
/** * Delete one or more hash fields * @param key Key string * @param field Field name * @return */
public Single<String> rxHdel(String key, String field) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hdel(key, field, fut); })); }
Delete one or more hash fields
Params:
  • key – Key string
  • fields – Field names
  • handler – Handler for the result of this call.
Returns:
/** * Delete one or more hash fields * @param key Key string * @param fields Field names * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hdelMany(String key, List<String> fields, Handler<AsyncResult<String>> handler) { delegate.hdelMany(key, fields, handler); return this; }
Delete one or more hash fields
Params:
  • key – Key string
  • fields – Field names
Returns:
Deprecated:use rxHdelMany instead
/** * Delete one or more hash fields * @param key Key string * @param fields Field names * @return * @deprecated use {@link #rxHdelMany} instead */
@Deprecated() public Observable<String> hdelManyObservable(String key, List<String> fields) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hdelMany(key, fields, handler.toHandler()); return handler; }
Delete one or more hash fields
Params:
  • key – Key string
  • fields – Field names
Returns:
/** * Delete one or more hash fields * @param key Key string * @param fields Field names * @return */
public Single<String> rxHdelMany(String key, List<String> fields) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hdelMany(key, fields, fut); })); }
Determine if a hash field exists
Params:
  • key – Key string
  • field – Field name
  • handler – Handler for the result of this call.
Returns:
/** * Determine if a hash field exists * @param key Key string * @param field Field name * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hexists(String key, String field, Handler<AsyncResult<String>> handler) { delegate.hexists(key, field, handler); return this; }
Determine if a hash field exists
Params:
  • key – Key string
  • field – Field name
Returns:
Deprecated:use rxHexists instead
/** * Determine if a hash field exists * @param key Key string * @param field Field name * @return * @deprecated use {@link #rxHexists} instead */
@Deprecated() public Observable<String> hexistsObservable(String key, String field) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hexists(key, field, handler.toHandler()); return handler; }
Determine if a hash field exists
Params:
  • key – Key string
  • field – Field name
Returns:
/** * Determine if a hash field exists * @param key Key string * @param field Field name * @return */
public Single<String> rxHexists(String key, String field) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hexists(key, field, fut); })); }
Get the value of a hash field
Params:
  • key – Key string
  • field – Field name
  • handler – Handler for the result of this call.
Returns:
/** * Get the value of a hash field * @param key Key string * @param field Field name * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hget(String key, String field, Handler<AsyncResult<String>> handler) { delegate.hget(key, field, handler); return this; }
Get the value of a hash field
Params:
  • key – Key string
  • field – Field name
Returns:
Deprecated:use rxHget instead
/** * Get the value of a hash field * @param key Key string * @param field Field name * @return * @deprecated use {@link #rxHget} instead */
@Deprecated() public Observable<String> hgetObservable(String key, String field) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hget(key, field, handler.toHandler()); return handler; }
Get the value of a hash field
Params:
  • key – Key string
  • field – Field name
Returns:
/** * Get the value of a hash field * @param key Key string * @param field Field name * @return */
public Single<String> rxHget(String key, String field) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hget(key, field, fut); })); }
Get all the fields and values in a hash
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get all the fields and values in a hash * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hgetall(String key, Handler<AsyncResult<String>> handler) { delegate.hgetall(key, handler); return this; }
Get all the fields and values in a hash
Params:
  • key – Key string
Returns:
Deprecated:use rxHgetall instead
/** * Get all the fields and values in a hash * @param key Key string * @return * @deprecated use {@link #rxHgetall} instead */
@Deprecated() public Observable<String> hgetallObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hgetall(key, handler.toHandler()); return handler; }
Get all the fields and values in a hash
Params:
  • key – Key string
Returns:
/** * Get all the fields and values in a hash * @param key Key string * @return */
public Single<String> rxHgetall(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hgetall(key, fut); })); }
Increment the integer value of a hash field by the given number
Params:
  • key – Key string
  • field – Field name
  • increment – Value by which to increment
  • handler – Handler for the result of this call.
Returns:
/** * Increment the integer value of a hash field by the given number * @param key Key string * @param field Field name * @param increment Value by which to increment * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hincrby(String key, String field, long increment, Handler<AsyncResult<String>> handler) { delegate.hincrby(key, field, increment, handler); return this; }
Increment the integer value of a hash field by the given number
Params:
  • key – Key string
  • field – Field name
  • increment – Value by which to increment
Returns:
Deprecated:use rxHincrby instead
/** * Increment the integer value of a hash field by the given number * @param key Key string * @param field Field name * @param increment Value by which to increment * @return * @deprecated use {@link #rxHincrby} instead */
@Deprecated() public Observable<String> hincrbyObservable(String key, String field, long increment) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hincrby(key, field, increment, handler.toHandler()); return handler; }
Increment the integer value of a hash field by the given number
Params:
  • key – Key string
  • field – Field name
  • increment – Value by which to increment
Returns:
/** * Increment the integer value of a hash field by the given number * @param key Key string * @param field Field name * @param increment Value by which to increment * @return */
public Single<String> rxHincrby(String key, String field, long increment) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hincrby(key, field, increment, fut); })); }
Increment the float value of a hash field by the given amount
Params:
  • key – Key string
  • field – Field name
  • increment – Value by which to increment
  • handler – Handler for the result of this call.
Returns:
/** * Increment the float value of a hash field by the given amount * @param key Key string * @param field Field name * @param increment Value by which to increment * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hincrbyfloat(String key, String field, double increment, Handler<AsyncResult<String>> handler) { delegate.hincrbyfloat(key, field, increment, handler); return this; }
Increment the float value of a hash field by the given amount
Params:
  • key – Key string
  • field – Field name
  • increment – Value by which to increment
Returns:
Deprecated:use rxHincrbyfloat instead
/** * Increment the float value of a hash field by the given amount * @param key Key string * @param field Field name * @param increment Value by which to increment * @return * @deprecated use {@link #rxHincrbyfloat} instead */
@Deprecated() public Observable<String> hincrbyfloatObservable(String key, String field, double increment) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hincrbyfloat(key, field, increment, handler.toHandler()); return handler; }
Increment the float value of a hash field by the given amount
Params:
  • key – Key string
  • field – Field name
  • increment – Value by which to increment
Returns:
/** * Increment the float value of a hash field by the given amount * @param key Key string * @param field Field name * @param increment Value by which to increment * @return */
public Single<String> rxHincrbyfloat(String key, String field, double increment) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hincrbyfloat(key, field, increment, fut); })); }
Get all the fields in a hash
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get all the fields in a hash * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hkeys(String key, Handler<AsyncResult<String>> handler) { delegate.hkeys(key, handler); return this; }
Get all the fields in a hash
Params:
  • key – Key string
Returns:
Deprecated:use rxHkeys instead
/** * Get all the fields in a hash * @param key Key string * @return * @deprecated use {@link #rxHkeys} instead */
@Deprecated() public Observable<String> hkeysObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hkeys(key, handler.toHandler()); return handler; }
Get all the fields in a hash
Params:
  • key – Key string
Returns:
/** * Get all the fields in a hash * @param key Key string * @return */
public Single<String> rxHkeys(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hkeys(key, fut); })); }
Get the number of fields in a hash
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get the number of fields in a hash * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hlen(String key, Handler<AsyncResult<String>> handler) { delegate.hlen(key, handler); return this; }
Get the number of fields in a hash
Params:
  • key – Key string
Returns:
Deprecated:use rxHlen instead
/** * Get the number of fields in a hash * @param key Key string * @return * @deprecated use {@link #rxHlen} instead */
@Deprecated() public Observable<String> hlenObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hlen(key, handler.toHandler()); return handler; }
Get the number of fields in a hash
Params:
  • key – Key string
Returns:
/** * Get the number of fields in a hash * @param key Key string * @return */
public Single<String> rxHlen(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hlen(key, fut); })); }
Get the values of all the given hash fields
Params:
  • key – Key string
  • fields – Field names
  • handler – Handler for the result of this call.
Returns:
/** * Get the values of all the given hash fields * @param key Key string * @param fields Field names * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hmget(String key, List<String> fields, Handler<AsyncResult<String>> handler) { delegate.hmget(key, fields, handler); return this; }
Get the values of all the given hash fields
Params:
  • key – Key string
  • fields – Field names
Returns:
Deprecated:use rxHmget instead
/** * Get the values of all the given hash fields * @param key Key string * @param fields Field names * @return * @deprecated use {@link #rxHmget} instead */
@Deprecated() public Observable<String> hmgetObservable(String key, List<String> fields) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hmget(key, fields, handler.toHandler()); return handler; }
Get the values of all the given hash fields
Params:
  • key – Key string
  • fields – Field names
Returns:
/** * Get the values of all the given hash fields * @param key Key string * @param fields Field names * @return */
public Single<String> rxHmget(String key, List<String> fields) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hmget(key, fields, fut); })); }
Set multiple hash fields to multiple values
Params:
  • key – Key string
  • values – Map of field:value pairs
  • handler – Handler for the result of this call.
Returns:
/** * Set multiple hash fields to multiple values * @param key Key string * @param values Map of field:value pairs * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hmset(String key, JsonObject values, Handler<AsyncResult<String>> handler) { delegate.hmset(key, values, handler); return this; }
Set multiple hash fields to multiple values
Params:
  • key – Key string
  • values – Map of field:value pairs
Returns:
Deprecated:use rxHmset instead
/** * Set multiple hash fields to multiple values * @param key Key string * @param values Map of field:value pairs * @return * @deprecated use {@link #rxHmset} instead */
@Deprecated() public Observable<String> hmsetObservable(String key, JsonObject values) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hmset(key, values, handler.toHandler()); return handler; }
Set multiple hash fields to multiple values
Params:
  • key – Key string
  • values – Map of field:value pairs
Returns:
/** * Set multiple hash fields to multiple values * @param key Key string * @param values Map of field:value pairs * @return */
public Single<String> rxHmset(String key, JsonObject values) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hmset(key, values, fut); })); }
Set the string value of a hash field
Params:
  • key – Key string
  • field – Field name
  • value – New value
  • handler – Handler for the result of this call.
Returns:
/** * Set the string value of a hash field * @param key Key string * @param field Field name * @param value New value * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hset(String key, String field, String value, Handler<AsyncResult<String>> handler) { delegate.hset(key, field, value, handler); return this; }
Set the string value of a hash field
Params:
  • key – Key string
  • field – Field name
  • value – New value
Returns:
Deprecated:use rxHset instead
/** * Set the string value of a hash field * @param key Key string * @param field Field name * @param value New value * @return * @deprecated use {@link #rxHset} instead */
@Deprecated() public Observable<String> hsetObservable(String key, String field, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hset(key, field, value, handler.toHandler()); return handler; }
Set the string value of a hash field
Params:
  • key – Key string
  • field – Field name
  • value – New value
Returns:
/** * Set the string value of a hash field * @param key Key string * @param field Field name * @param value New value * @return */
public Single<String> rxHset(String key, String field, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hset(key, field, value, fut); })); }
Set the value of a hash field, only if the field does not exist
Params:
  • key – Key string
  • field – Field name
  • value – New value
  • handler – Handler for the result of this call.
Returns:
/** * Set the value of a hash field, only if the field does not exist * @param key Key string * @param field Field name * @param value New value * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hsetnx(String key, String field, String value, Handler<AsyncResult<String>> handler) { delegate.hsetnx(key, field, value, handler); return this; }
Set the value of a hash field, only if the field does not exist
Params:
  • key – Key string
  • field – Field name
  • value – New value
Returns:
Deprecated:use rxHsetnx instead
/** * Set the value of a hash field, only if the field does not exist * @param key Key string * @param field Field name * @param value New value * @return * @deprecated use {@link #rxHsetnx} instead */
@Deprecated() public Observable<String> hsetnxObservable(String key, String field, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hsetnx(key, field, value, handler.toHandler()); return handler; }
Set the value of a hash field, only if the field does not exist
Params:
  • key – Key string
  • field – Field name
  • value – New value
Returns:
/** * Set the value of a hash field, only if the field does not exist * @param key Key string * @param field Field name * @param value New value * @return */
public Single<String> rxHsetnx(String key, String field, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hsetnx(key, field, value, fut); })); }
Get all the values in a hash
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get all the values in a hash * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hvals(String key, Handler<AsyncResult<String>> handler) { delegate.hvals(key, handler); return this; }
Get all the values in a hash
Params:
  • key – Key string
Returns:
Deprecated:use rxHvals instead
/** * Get all the values in a hash * @param key Key string * @return * @deprecated use {@link #rxHvals} instead */
@Deprecated() public Observable<String> hvalsObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hvals(key, handler.toHandler()); return handler; }
Get all the values in a hash
Params:
  • key – Key string
Returns:
/** * Get all the values in a hash * @param key Key string * @return */
public Single<String> rxHvals(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hvals(key, fut); })); }
Increment the integer value of a key by one
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Increment the integer value of a key by one * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction incr(String key, Handler<AsyncResult<String>> handler) { delegate.incr(key, handler); return this; }
Increment the integer value of a key by one
Params:
  • key – Key string
Returns:
Deprecated:use rxIncr instead
/** * Increment the integer value of a key by one * @param key Key string * @return * @deprecated use {@link #rxIncr} instead */
@Deprecated() public Observable<String> incrObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); incr(key, handler.toHandler()); return handler; }
Increment the integer value of a key by one
Params:
  • key – Key string
Returns:
/** * Increment the integer value of a key by one * @param key Key string * @return */
public Single<String> rxIncr(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { incr(key, fut); })); }
Increment the integer value of a key by the given amount
Params:
  • key – Key string
  • increment – Value by which to increment
  • handler – Handler for the result of this call.
Returns:
/** * Increment the integer value of a key by the given amount * @param key Key string * @param increment Value by which to increment * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction incrby(String key, long increment, Handler<AsyncResult<String>> handler) { delegate.incrby(key, increment, handler); return this; }
Increment the integer value of a key by the given amount
Params:
  • key – Key string
  • increment – Value by which to increment
Returns:
Deprecated:use rxIncrby instead
/** * Increment the integer value of a key by the given amount * @param key Key string * @param increment Value by which to increment * @return * @deprecated use {@link #rxIncrby} instead */
@Deprecated() public Observable<String> incrbyObservable(String key, long increment) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); incrby(key, increment, handler.toHandler()); return handler; }
Increment the integer value of a key by the given amount
Params:
  • key – Key string
  • increment – Value by which to increment
Returns:
/** * Increment the integer value of a key by the given amount * @param key Key string * @param increment Value by which to increment * @return */
public Single<String> rxIncrby(String key, long increment) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { incrby(key, increment, fut); })); }
Increment the float value of a key by the given amount
Params:
  • key – Key string
  • increment – Value by which to increment
  • handler – Handler for the result of this call.
Returns:
/** * Increment the float value of a key by the given amount * @param key Key string * @param increment Value by which to increment * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction incrbyfloat(String key, double increment, Handler<AsyncResult<String>> handler) { delegate.incrbyfloat(key, increment, handler); return this; }
Increment the float value of a key by the given amount
Params:
  • key – Key string
  • increment – Value by which to increment
Returns:
Deprecated:use rxIncrbyfloat instead
/** * Increment the float value of a key by the given amount * @param key Key string * @param increment Value by which to increment * @return * @deprecated use {@link #rxIncrbyfloat} instead */
@Deprecated() public Observable<String> incrbyfloatObservable(String key, double increment) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); incrbyfloat(key, increment, handler.toHandler()); return handler; }
Increment the float value of a key by the given amount
Params:
  • key – Key string
  • increment – Value by which to increment
Returns:
/** * Increment the float value of a key by the given amount * @param key Key string * @param increment Value by which to increment * @return */
public Single<String> rxIncrbyfloat(String key, double increment) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { incrbyfloat(key, increment, fut); })); }
Get information and statistics about the server
Params:
  • handler – Handler for the result of this call.
Returns:
/** * Get information and statistics about the server * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction info(Handler<AsyncResult<String>> handler) { delegate.info(handler); return this; }
Get information and statistics about the server
Returns:
Deprecated:use rxInfo instead
/** * Get information and statistics about the server * @return * @deprecated use {@link #rxInfo} instead */
@Deprecated() public Observable<String> infoObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); info(handler.toHandler()); return handler; }
Get information and statistics about the server
Returns:
/** * Get information and statistics about the server * @return */
public Single<String> rxInfo() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { info(fut); })); }
Get information and statistics about the server
Params:
  • section – Specific section of information to return
  • handler – Handler for the result of this call.
Returns:
/** * Get information and statistics about the server * @param section Specific section of information to return * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction infoSection(String section, Handler<AsyncResult<String>> handler) { delegate.infoSection(section, handler); return this; }
Get information and statistics about the server
Params:
  • section – Specific section of information to return
Returns:
Deprecated:use rxInfoSection instead
/** * Get information and statistics about the server * @param section Specific section of information to return * @return * @deprecated use {@link #rxInfoSection} instead */
@Deprecated() public Observable<String> infoSectionObservable(String section) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); infoSection(section, handler.toHandler()); return handler; }
Get information and statistics about the server
Params:
  • section – Specific section of information to return
Returns:
/** * Get information and statistics about the server * @param section Specific section of information to return * @return */
public Single<String> rxInfoSection(String section) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { infoSection(section, fut); })); }
Find all keys matching the given pattern
Params:
  • pattern – Pattern to limit the keys returned
  • handler – Handler for the result of this call.
Returns:
/** * Find all keys matching the given pattern * @param pattern Pattern to limit the keys returned * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction keys(String pattern, Handler<AsyncResult<String>> handler) { delegate.keys(pattern, handler); return this; }
Find all keys matching the given pattern
Params:
  • pattern – Pattern to limit the keys returned
Returns:
Deprecated:use rxKeys instead
/** * Find all keys matching the given pattern * @param pattern Pattern to limit the keys returned * @return * @deprecated use {@link #rxKeys} instead */
@Deprecated() public Observable<String> keysObservable(String pattern) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); keys(pattern, handler.toHandler()); return handler; }
Find all keys matching the given pattern
Params:
  • pattern – Pattern to limit the keys returned
Returns:
/** * Find all keys matching the given pattern * @param pattern Pattern to limit the keys returned * @return */
public Single<String> rxKeys(String pattern) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { keys(pattern, fut); })); }
Get the UNIX time stamp of the last successful save to disk
Params:
  • handler –
Returns:
/** * Get the UNIX time stamp of the last successful save to disk * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction lastsave(Handler<AsyncResult<String>> handler) { delegate.lastsave(handler); return this; }
Get the UNIX time stamp of the last successful save to disk
Returns:
Deprecated:use rxLastsave instead
/** * Get the UNIX time stamp of the last successful save to disk * @return * @deprecated use {@link #rxLastsave} instead */
@Deprecated() public Observable<String> lastsaveObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); lastsave(handler.toHandler()); return handler; }
Get the UNIX time stamp of the last successful save to disk
Returns:
/** * Get the UNIX time stamp of the last successful save to disk * @return */
public Single<String> rxLastsave() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { lastsave(fut); })); }
Get an element from a list by its index
Params:
  • key – Key string
  • index – Index of list element to get
  • handler – Handler for the result of this call.
Returns:
/** * Get an element from a list by its index * @param key Key string * @param index Index of list element to get * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction lindex(String key, int index, Handler<AsyncResult<String>> handler) { delegate.lindex(key, index, handler); return this; }
Get an element from a list by its index
Params:
  • key – Key string
  • index – Index of list element to get
Returns:
Deprecated:use rxLindex instead
/** * Get an element from a list by its index * @param key Key string * @param index Index of list element to get * @return * @deprecated use {@link #rxLindex} instead */
@Deprecated() public Observable<String> lindexObservable(String key, int index) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); lindex(key, index, handler.toHandler()); return handler; }
Get an element from a list by its index
Params:
  • key – Key string
  • index – Index of list element to get
Returns:
/** * Get an element from a list by its index * @param key Key string * @param index Index of list element to get * @return */
public Single<String> rxLindex(String key, int index) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { lindex(key, index, fut); })); }
Insert an element before or after another element in a list
Params:
  • key – Key string
  • option – BEFORE or AFTER
  • pivot – Key to use as a pivot
  • value – Value to be inserted before or after the pivot
  • handler – Handler for the result of this call.
Returns:
/** * Insert an element before or after another element in a list * @param key Key string * @param option BEFORE or AFTER * @param pivot Key to use as a pivot * @param value Value to be inserted before or after the pivot * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction linsert(String key, InsertOptions option, String pivot, String value, Handler<AsyncResult<String>> handler) { delegate.linsert(key, option, pivot, value, handler); return this; }
Insert an element before or after another element in a list
Params:
  • key – Key string
  • option – BEFORE or AFTER
  • pivot – Key to use as a pivot
  • value – Value to be inserted before or after the pivot
Returns:
Deprecated:use rxLinsert instead
/** * Insert an element before or after another element in a list * @param key Key string * @param option BEFORE or AFTER * @param pivot Key to use as a pivot * @param value Value to be inserted before or after the pivot * @return * @deprecated use {@link #rxLinsert} instead */
@Deprecated() public Observable<String> linsertObservable(String key, InsertOptions option, String pivot, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); linsert(key, option, pivot, value, handler.toHandler()); return handler; }
Insert an element before or after another element in a list
Params:
  • key – Key string
  • option – BEFORE or AFTER
  • pivot – Key to use as a pivot
  • value – Value to be inserted before or after the pivot
Returns:
/** * Insert an element before or after another element in a list * @param key Key string * @param option BEFORE or AFTER * @param pivot Key to use as a pivot * @param value Value to be inserted before or after the pivot * @return */
public Single<String> rxLinsert(String key, InsertOptions option, String pivot, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { linsert(key, option, pivot, value, fut); })); }
Get the length of a list
Params:
  • key – String key
  • handler – Handler for the result of this call.
Returns:
/** * Get the length of a list * @param key String key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction llen(String key, Handler<AsyncResult<String>> handler) { delegate.llen(key, handler); return this; }
Get the length of a list
Params:
  • key – String key
Returns:
Deprecated:use rxLlen instead
/** * Get the length of a list * @param key String key * @return * @deprecated use {@link #rxLlen} instead */
@Deprecated() public Observable<String> llenObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); llen(key, handler.toHandler()); return handler; }
Get the length of a list
Params:
  • key – String key
Returns:
/** * Get the length of a list * @param key String key * @return */
public Single<String> rxLlen(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { llen(key, fut); })); }
Remove and get the first element in a list
Params:
  • key – String key
  • handler – Handler for the result of this call.
Returns:
/** * Remove and get the first element in a list * @param key String key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction lpop(String key, Handler<AsyncResult<String>> handler) { delegate.lpop(key, handler); return this; }
Remove and get the first element in a list
Params:
  • key – String key
Returns:
Deprecated:use rxLpop instead
/** * Remove and get the first element in a list * @param key String key * @return * @deprecated use {@link #rxLpop} instead */
@Deprecated() public Observable<String> lpopObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); lpop(key, handler.toHandler()); return handler; }
Remove and get the first element in a list
Params:
  • key – String key
Returns:
/** * Remove and get the first element in a list * @param key String key * @return */
public Single<String> rxLpop(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { lpop(key, fut); })); }
Prepend one or multiple values to a list
Params:
  • key – Key string
  • values – Values to be added at the beginning of the list, one by one
  • handler – Handler for the result of this call.
Returns:
/** * Prepend one or multiple values to a list * @param key Key string * @param values Values to be added at the beginning of the list, one by one * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction lpushMany(String key, List<String> values, Handler<AsyncResult<String>> handler) { delegate.lpushMany(key, values, handler); return this; }
Prepend one or multiple values to a list
Params:
  • key – Key string
  • values – Values to be added at the beginning of the list, one by one
Returns:
Deprecated:use rxLpushMany instead
/** * Prepend one or multiple values to a list * @param key Key string * @param values Values to be added at the beginning of the list, one by one * @return * @deprecated use {@link #rxLpushMany} instead */
@Deprecated() public Observable<String> lpushManyObservable(String key, List<String> values) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); lpushMany(key, values, handler.toHandler()); return handler; }
Prepend one or multiple values to a list
Params:
  • key – Key string
  • values – Values to be added at the beginning of the list, one by one
Returns:
/** * Prepend one or multiple values to a list * @param key Key string * @param values Values to be added at the beginning of the list, one by one * @return */
public Single<String> rxLpushMany(String key, List<String> values) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { lpushMany(key, values, fut); })); }
Prepend one value to a list
Params:
  • key – Key string
  • value – Value to be added at the beginning of the list
  • handler – Handler for the result of this call.
Returns:
/** * Prepend one value to a list * @param key Key string * @param value Value to be added at the beginning of the list * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction lpush(String key, String value, Handler<AsyncResult<String>> handler) { delegate.lpush(key, value, handler); return this; }
Prepend one value to a list
Params:
  • key – Key string
  • value – Value to be added at the beginning of the list
Returns:
Deprecated:use rxLpush instead
/** * Prepend one value to a list * @param key Key string * @param value Value to be added at the beginning of the list * @return * @deprecated use {@link #rxLpush} instead */
@Deprecated() public Observable<String> lpushObservable(String key, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); lpush(key, value, handler.toHandler()); return handler; }
Prepend one value to a list
Params:
  • key – Key string
  • value – Value to be added at the beginning of the list
Returns:
/** * Prepend one value to a list * @param key Key string * @param value Value to be added at the beginning of the list * @return */
public Single<String> rxLpush(String key, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { lpush(key, value, fut); })); }
Prepend a value to a list, only if the list exists
Params:
  • key – Key string
  • value – Value to add at the beginning of the list
  • handler – Handler for the result of this call.
Returns:
/** * Prepend a value to a list, only if the list exists * @param key Key string * @param value Value to add at the beginning of the list * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction lpushx(String key, String value, Handler<AsyncResult<String>> handler) { delegate.lpushx(key, value, handler); return this; }
Prepend a value to a list, only if the list exists
Params:
  • key – Key string
  • value – Value to add at the beginning of the list
Returns:
Deprecated:use rxLpushx instead
/** * Prepend a value to a list, only if the list exists * @param key Key string * @param value Value to add at the beginning of the list * @return * @deprecated use {@link #rxLpushx} instead */
@Deprecated() public Observable<String> lpushxObservable(String key, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); lpushx(key, value, handler.toHandler()); return handler; }
Prepend a value to a list, only if the list exists
Params:
  • key – Key string
  • value – Value to add at the beginning of the list
Returns:
/** * Prepend a value to a list, only if the list exists * @param key Key string * @param value Value to add at the beginning of the list * @return */
public Single<String> rxLpushx(String key, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { lpushx(key, value, fut); })); }
Get a range of elements from a list
Params:
  • key – Key string
  • from – Start index
  • to – Stop index
  • handler – Handler for the result of this call.
Returns:
/** * Get a range of elements from a list * @param key Key string * @param from Start index * @param to Stop index * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction lrange(String key, long from, long to, Handler<AsyncResult<String>> handler) { delegate.lrange(key, from, to, handler); return this; }
Get a range of elements from a list
Params:
  • key – Key string
  • from – Start index
  • to – Stop index
Returns:
Deprecated:use rxLrange instead
/** * Get a range of elements from a list * @param key Key string * @param from Start index * @param to Stop index * @return * @deprecated use {@link #rxLrange} instead */
@Deprecated() public Observable<String> lrangeObservable(String key, long from, long to) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); lrange(key, from, to, handler.toHandler()); return handler; }
Get a range of elements from a list
Params:
  • key – Key string
  • from – Start index
  • to – Stop index
Returns:
/** * Get a range of elements from a list * @param key Key string * @param from Start index * @param to Stop index * @return */
public Single<String> rxLrange(String key, long from, long to) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { lrange(key, from, to, fut); })); }
Remove elements from a list
Params:
  • key – Key string
  • count – Number of first found occurrences equal to $value to remove from the list
  • value – Value to be removed
  • handler – Handler for the result of this call.
Returns:
/** * Remove elements from a list * @param key Key string * @param count Number of first found occurrences equal to $value to remove from the list * @param value Value to be removed * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction lrem(String key, long count, String value, Handler<AsyncResult<String>> handler) { delegate.lrem(key, count, value, handler); return this; }
Remove elements from a list
Params:
  • key – Key string
  • count – Number of first found occurrences equal to $value to remove from the list
  • value – Value to be removed
Returns:
Deprecated:use rxLrem instead
/** * Remove elements from a list * @param key Key string * @param count Number of first found occurrences equal to $value to remove from the list * @param value Value to be removed * @return * @deprecated use {@link #rxLrem} instead */
@Deprecated() public Observable<String> lremObservable(String key, long count, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); lrem(key, count, value, handler.toHandler()); return handler; }
Remove elements from a list
Params:
  • key – Key string
  • count – Number of first found occurrences equal to $value to remove from the list
  • value – Value to be removed
Returns:
/** * Remove elements from a list * @param key Key string * @param count Number of first found occurrences equal to $value to remove from the list * @param value Value to be removed * @return */
public Single<String> rxLrem(String key, long count, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { lrem(key, count, value, fut); })); }
Set the value of an element in a list by its index
Params:
  • key – Key string
  • index – Position within list
  • value – New value
  • handler – Handler for the result of this call.
Returns:
/** * Set the value of an element in a list by its index * @param key Key string * @param index Position within list * @param value New value * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction lset(String key, long index, String value, Handler<AsyncResult<String>> handler) { delegate.lset(key, index, value, handler); return this; }
Set the value of an element in a list by its index
Params:
  • key – Key string
  • index – Position within list
  • value – New value
Returns:
Deprecated:use rxLset instead
/** * Set the value of an element in a list by its index * @param key Key string * @param index Position within list * @param value New value * @return * @deprecated use {@link #rxLset} instead */
@Deprecated() public Observable<String> lsetObservable(String key, long index, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); lset(key, index, value, handler.toHandler()); return handler; }
Set the value of an element in a list by its index
Params:
  • key – Key string
  • index – Position within list
  • value – New value
Returns:
/** * Set the value of an element in a list by its index * @param key Key string * @param index Position within list * @param value New value * @return */
public Single<String> rxLset(String key, long index, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { lset(key, index, value, fut); })); }
Trim a list to the specified range
Params:
  • key – Key string
  • from – Start index
  • to – Stop index
  • handler – Handler for the result of this call.
Returns:
/** * Trim a list to the specified range * @param key Key string * @param from Start index * @param to Stop index * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction ltrim(String key, long from, long to, Handler<AsyncResult<String>> handler) { delegate.ltrim(key, from, to, handler); return this; }
Trim a list to the specified range
Params:
  • key – Key string
  • from – Start index
  • to – Stop index
Returns:
Deprecated:use rxLtrim instead
/** * Trim a list to the specified range * @param key Key string * @param from Start index * @param to Stop index * @return * @deprecated use {@link #rxLtrim} instead */
@Deprecated() public Observable<String> ltrimObservable(String key, long from, long to) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); ltrim(key, from, to, handler.toHandler()); return handler; }
Trim a list to the specified range
Params:
  • key – Key string
  • from – Start index
  • to – Stop index
Returns:
/** * Trim a list to the specified range * @param key Key string * @param from Start index * @param to Stop index * @return */
public Single<String> rxLtrim(String key, long from, long to) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { ltrim(key, from, to, fut); })); }
Get the value of the given key
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get the value of the given key * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction mget(String key, Handler<AsyncResult<String>> handler) { delegate.mget(key, handler); return this; }
Get the value of the given key
Params:
  • key – Key string
Returns:
Deprecated:use rxMget instead
/** * Get the value of the given key * @param key Key string * @return * @deprecated use {@link #rxMget} instead */
@Deprecated() public Observable<String> mgetObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); mget(key, handler.toHandler()); return handler; }
Get the value of the given key
Params:
  • key – Key string
Returns:
/** * Get the value of the given key * @param key Key string * @return */
public Single<String> rxMget(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { mget(key, fut); })); }
Get the values of all the given keys
Params:
  • keys – List of keys to get
  • handler – Handler for the result of this call.
Returns:
/** * Get the values of all the given keys * @param keys List of keys to get * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction mgetMany(List<String> keys, Handler<AsyncResult<String>> handler) { delegate.mgetMany(keys, handler); return this; }
Get the values of all the given keys
Params:
  • keys – List of keys to get
Returns:
Deprecated:use rxMgetMany instead
/** * Get the values of all the given keys * @param keys List of keys to get * @return * @deprecated use {@link #rxMgetMany} instead */
@Deprecated() public Observable<String> mgetManyObservable(List<String> keys) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); mgetMany(keys, handler.toHandler()); return handler; }
Get the values of all the given keys
Params:
  • keys – List of keys to get
Returns:
/** * Get the values of all the given keys * @param keys List of keys to get * @return */
public Single<String> rxMgetMany(List<String> keys) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { mgetMany(keys, fut); })); }
Atomically transfer a key from a Redis instance to another one.
Params:
  • host – Destination host
  • port – Destination port
  • key – Key to migrate
  • destdb – Destination database index
  • timeout –
  • options – Migrate options
  • handler – Handler for the result of this call.
Returns:
/** * Atomically transfer a key from a Redis instance to another one. * @param host Destination host * @param port Destination port * @param key Key to migrate * @param destdb Destination database index * @param timeout * @param options Migrate options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction migrate(String host, int port, String key, int destdb, long timeout, MigrateOptions options, Handler<AsyncResult<String>> handler) { delegate.migrate(host, port, key, destdb, timeout, options, handler); return this; }
Atomically transfer a key from a Redis instance to another one.
Params:
  • host – Destination host
  • port – Destination port
  • key – Key to migrate
  • destdb – Destination database index
  • timeout –
  • options – Migrate options
Returns:
Deprecated:use rxMigrate instead
/** * Atomically transfer a key from a Redis instance to another one. * @param host Destination host * @param port Destination port * @param key Key to migrate * @param destdb Destination database index * @param timeout * @param options Migrate options * @return * @deprecated use {@link #rxMigrate} instead */
@Deprecated() public Observable<String> migrateObservable(String host, int port, String key, int destdb, long timeout, MigrateOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); migrate(host, port, key, destdb, timeout, options, handler.toHandler()); return handler; }
Atomically transfer a key from a Redis instance to another one.
Params:
  • host – Destination host
  • port – Destination port
  • key – Key to migrate
  • destdb – Destination database index
  • timeout –
  • options – Migrate options
Returns:
/** * Atomically transfer a key from a Redis instance to another one. * @param host Destination host * @param port Destination port * @param key Key to migrate * @param destdb Destination database index * @param timeout * @param options Migrate options * @return */
public Single<String> rxMigrate(String host, int port, String key, int destdb, long timeout, MigrateOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { migrate(host, port, key, destdb, timeout, options, fut); })); }
Listen for all requests received by the server in real time
Params:
  • handler –
Returns:
/** * Listen for all requests received by the server in real time * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction monitor(Handler<AsyncResult<String>> handler) { delegate.monitor(handler); return this; }
Listen for all requests received by the server in real time
Returns:
Deprecated:use rxMonitor instead
/** * Listen for all requests received by the server in real time * @return * @deprecated use {@link #rxMonitor} instead */
@Deprecated() public Observable<String> monitorObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); monitor(handler.toHandler()); return handler; }
Listen for all requests received by the server in real time
Returns:
/** * Listen for all requests received by the server in real time * @return */
public Single<String> rxMonitor() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { monitor(fut); })); }
Move a key to another database
Params:
  • key – Key to migrate
  • destdb – Destination database index
  • handler – Handler for the result of this call.
Returns:
/** * Move a key to another database * @param key Key to migrate * @param destdb Destination database index * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction move(String key, int destdb, Handler<AsyncResult<String>> handler) { delegate.move(key, destdb, handler); return this; }
Move a key to another database
Params:
  • key – Key to migrate
  • destdb – Destination database index
Returns:
Deprecated:use rxMove instead
/** * Move a key to another database * @param key Key to migrate * @param destdb Destination database index * @return * @deprecated use {@link #rxMove} instead */
@Deprecated() public Observable<String> moveObservable(String key, int destdb) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); move(key, destdb, handler.toHandler()); return handler; }
Move a key to another database
Params:
  • key – Key to migrate
  • destdb – Destination database index
Returns:
/** * Move a key to another database * @param key Key to migrate * @param destdb Destination database index * @return */
public Single<String> rxMove(String key, int destdb) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { move(key, destdb, fut); })); }
Set multiple keys to multiple values
Params:
  • keyvals – Key value pairs to set
  • handler – Handler for the result of this call.
Returns:
/** * Set multiple keys to multiple values * @param keyvals Key value pairs to set * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction mset(JsonObject keyvals, Handler<AsyncResult<String>> handler) { delegate.mset(keyvals, handler); return this; }
Set multiple keys to multiple values
Params:
  • keyvals – Key value pairs to set
Returns:
Deprecated:use rxMset instead
/** * Set multiple keys to multiple values * @param keyvals Key value pairs to set * @return * @deprecated use {@link #rxMset} instead */
@Deprecated() public Observable<String> msetObservable(JsonObject keyvals) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); mset(keyvals, handler.toHandler()); return handler; }
Set multiple keys to multiple values
Params:
  • keyvals – Key value pairs to set
Returns:
/** * Set multiple keys to multiple values * @param keyvals Key value pairs to set * @return */
public Single<String> rxMset(JsonObject keyvals) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { mset(keyvals, fut); })); }
Set multiple keys to multiple values, only if none of the keys exist
Params:
  • keyvals – Key value pairs to set
  • handler – Handler for the result of this call.
Returns:
/** * Set multiple keys to multiple values, only if none of the keys exist * @param keyvals Key value pairs to set * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction msetnx(JsonObject keyvals, Handler<AsyncResult<String>> handler) { delegate.msetnx(keyvals, handler); return this; }
Set multiple keys to multiple values, only if none of the keys exist
Params:
  • keyvals – Key value pairs to set
Returns:
Deprecated:use rxMsetnx instead
/** * Set multiple keys to multiple values, only if none of the keys exist * @param keyvals Key value pairs to set * @return * @deprecated use {@link #rxMsetnx} instead */
@Deprecated() public Observable<String> msetnxObservable(JsonObject keyvals) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); msetnx(keyvals, handler.toHandler()); return handler; }
Set multiple keys to multiple values, only if none of the keys exist
Params:
  • keyvals – Key value pairs to set
Returns:
/** * Set multiple keys to multiple values, only if none of the keys exist * @param keyvals Key value pairs to set * @return */
public Single<String> rxMsetnx(JsonObject keyvals) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { msetnx(keyvals, fut); })); }
Mark the start of a RedisTransaction block
Params:
  • handler –
Returns:
/** * Mark the start of a RedisTransaction block * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction multi(Handler<AsyncResult<String>> handler) { delegate.multi(handler); return this; }
Mark the start of a RedisTransaction block
Returns:
Deprecated:use rxMulti instead
/** * Mark the start of a RedisTransaction block * @return * @deprecated use {@link #rxMulti} instead */
@Deprecated() public Observable<String> multiObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); multi(handler.toHandler()); return handler; }
Mark the start of a RedisTransaction block
Returns:
/** * Mark the start of a RedisTransaction block * @return */
public Single<String> rxMulti() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { multi(fut); })); }
Inspect the internals of Redis objects
Params:
  • key – Key string
  • cmd – Object sub command
  • handler – Handler for the result of this call.
Returns:
/** * Inspect the internals of Redis objects * @param key Key string * @param cmd Object sub command * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction object(String key, ObjectCmd cmd, Handler<AsyncResult<String>> handler) { delegate.object(key, cmd, handler); return this; }
Inspect the internals of Redis objects
Params:
  • key – Key string
  • cmd – Object sub command
Returns:
Deprecated:use rxObject instead
/** * Inspect the internals of Redis objects * @param key Key string * @param cmd Object sub command * @return * @deprecated use {@link #rxObject} instead */
@Deprecated() public Observable<String> objectObservable(String key, ObjectCmd cmd) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); object(key, cmd, handler.toHandler()); return handler; }
Inspect the internals of Redis objects
Params:
  • key – Key string
  • cmd – Object sub command
Returns:
/** * Inspect the internals of Redis objects * @param key Key string * @param cmd Object sub command * @return */
public Single<String> rxObject(String key, ObjectCmd cmd) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { object(key, cmd, fut); })); }
Remove the expiration from a key
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Remove the expiration from a key * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction persist(String key, Handler<AsyncResult<String>> handler) { delegate.persist(key, handler); return this; }
Remove the expiration from a key
Params:
  • key – Key string
Returns:
Deprecated:use rxPersist instead
/** * Remove the expiration from a key * @param key Key string * @return * @deprecated use {@link #rxPersist} instead */
@Deprecated() public Observable<String> persistObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); persist(key, handler.toHandler()); return handler; }
Remove the expiration from a key
Params:
  • key – Key string
Returns:
/** * Remove the expiration from a key * @param key Key string * @return */
public Single<String> rxPersist(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { persist(key, fut); })); }
Set a key's time to live in milliseconds
Params:
  • key – String key
  • millis – Time to live in milliseconds
  • handler – Handler for the result of this call.
Returns:
/** * Set a key's time to live in milliseconds * @param key String key * @param millis Time to live in milliseconds * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction pexpire(String key, long millis, Handler<AsyncResult<String>> handler) { delegate.pexpire(key, millis, handler); return this; }
Set a key's time to live in milliseconds
Params:
  • key – String key
  • millis – Time to live in milliseconds
Returns:
Deprecated:use rxPexpire instead
/** * Set a key's time to live in milliseconds * @param key String key * @param millis Time to live in milliseconds * @return * @deprecated use {@link #rxPexpire} instead */
@Deprecated() public Observable<String> pexpireObservable(String key, long millis) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); pexpire(key, millis, handler.toHandler()); return handler; }
Set a key's time to live in milliseconds
Params:
  • key – String key
  • millis – Time to live in milliseconds
Returns:
/** * Set a key's time to live in milliseconds * @param key String key * @param millis Time to live in milliseconds * @return */
public Single<String> rxPexpire(String key, long millis) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { pexpire(key, millis, fut); })); }
Set the expiration for a key as a UNIX timestamp specified in milliseconds
Params:
  • key – Key string
  • millis – Expiry time as Unix timestamp in milliseconds
  • handler – Handler for the result of this call.
Returns:
/** * Set the expiration for a key as a UNIX timestamp specified in milliseconds * @param key Key string * @param millis Expiry time as Unix timestamp in milliseconds * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction pexpireat(String key, long millis, Handler<AsyncResult<String>> handler) { delegate.pexpireat(key, millis, handler); return this; }
Set the expiration for a key as a UNIX timestamp specified in milliseconds
Params:
  • key – Key string
  • millis – Expiry time as Unix timestamp in milliseconds
Returns:
Deprecated:use rxPexpireat instead
/** * Set the expiration for a key as a UNIX timestamp specified in milliseconds * @param key Key string * @param millis Expiry time as Unix timestamp in milliseconds * @return * @deprecated use {@link #rxPexpireat} instead */
@Deprecated() public Observable<String> pexpireatObservable(String key, long millis) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); pexpireat(key, millis, handler.toHandler()); return handler; }
Set the expiration for a key as a UNIX timestamp specified in milliseconds
Params:
  • key – Key string
  • millis – Expiry time as Unix timestamp in milliseconds
Returns:
/** * Set the expiration for a key as a UNIX timestamp specified in milliseconds * @param key Key string * @param millis Expiry time as Unix timestamp in milliseconds * @return */
public Single<String> rxPexpireat(String key, long millis) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { pexpireat(key, millis, fut); })); }
Adds the specified element to the specified HyperLogLog.
Params:
  • key – Key string
  • element – Element to add
  • handler – Handler for the result of this call.
Returns:
/** * Adds the specified element to the specified HyperLogLog. * @param key Key string * @param element Element to add * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction pfadd(String key, String element, Handler<AsyncResult<String>> handler) { delegate.pfadd(key, element, handler); return this; }
Adds the specified element to the specified HyperLogLog.
Params:
  • key – Key string
  • element – Element to add
Returns:
Deprecated:use rxPfadd instead
/** * Adds the specified element to the specified HyperLogLog. * @param key Key string * @param element Element to add * @return * @deprecated use {@link #rxPfadd} instead */
@Deprecated() public Observable<String> pfaddObservable(String key, String element) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); pfadd(key, element, handler.toHandler()); return handler; }
Adds the specified element to the specified HyperLogLog.
Params:
  • key – Key string
  • element – Element to add
Returns:
/** * Adds the specified element to the specified HyperLogLog. * @param key Key string * @param element Element to add * @return */
public Single<String> rxPfadd(String key, String element) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { pfadd(key, element, fut); })); }
Adds the specified elements to the specified HyperLogLog.
Params:
  • key – Key string
  • elements – Elementa to add
  • handler – Handler for the result of this call.
Returns:
/** * Adds the specified elements to the specified HyperLogLog. * @param key Key string * @param elements Elementa to add * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction pfaddMany(String key, List<String> elements, Handler<AsyncResult<String>> handler) { delegate.pfaddMany(key, elements, handler); return this; }
Adds the specified elements to the specified HyperLogLog.
Params:
  • key – Key string
  • elements – Elementa to add
Returns:
Deprecated:use rxPfaddMany instead
/** * Adds the specified elements to the specified HyperLogLog. * @param key Key string * @param elements Elementa to add * @return * @deprecated use {@link #rxPfaddMany} instead */
@Deprecated() public Observable<String> pfaddManyObservable(String key, List<String> elements) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); pfaddMany(key, elements, handler.toHandler()); return handler; }
Adds the specified elements to the specified HyperLogLog.
Params:
  • key – Key string
  • elements – Elementa to add
Returns:
/** * Adds the specified elements to the specified HyperLogLog. * @param key Key string * @param elements Elementa to add * @return */
public Single<String> rxPfaddMany(String key, List<String> elements) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { pfaddMany(key, elements, fut); })); }
Return the approximated cardinality of the set observed by the HyperLogLog at key.
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Return the approximated cardinality of the set observed by the HyperLogLog at key. * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction pfcount(String key, Handler<AsyncResult<String>> handler) { delegate.pfcount(key, handler); return this; }
Return the approximated cardinality of the set observed by the HyperLogLog at key.
Params:
  • key – Key string
Returns:
Deprecated:use rxPfcount instead
/** * Return the approximated cardinality of the set observed by the HyperLogLog at key. * @param key Key string * @return * @deprecated use {@link #rxPfcount} instead */
@Deprecated() public Observable<String> pfcountObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); pfcount(key, handler.toHandler()); return handler; }
Return the approximated cardinality of the set observed by the HyperLogLog at key.
Params:
  • key – Key string
Returns:
/** * Return the approximated cardinality of the set observed by the HyperLogLog at key. * @param key Key string * @return */
public Single<String> rxPfcount(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { pfcount(key, fut); })); }
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
Params:
  • keys – List of keys
  • handler – Handler for the result of this call.
Returns:
/** * Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s). * @param keys List of keys * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction pfcountMany(List<String> keys, Handler<AsyncResult<String>> handler) { delegate.pfcountMany(keys, handler); return this; }
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
Params:
  • keys – List of keys
Returns:
Deprecated:use rxPfcountMany instead
/** * Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s). * @param keys List of keys * @return * @deprecated use {@link #rxPfcountMany} instead */
@Deprecated() public Observable<String> pfcountManyObservable(List<String> keys) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); pfcountMany(keys, handler.toHandler()); return handler; }
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
Params:
  • keys – List of keys
Returns:
/** * Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s). * @param keys List of keys * @return */
public Single<String> rxPfcountMany(List<String> keys) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { pfcountMany(keys, fut); })); }
Merge N different HyperLogLogs into a single one.
Params:
  • destkey – Destination key
  • keys – List of source keys
  • handler – Handler for the result of this call.
Returns:
/** * Merge N different HyperLogLogs into a single one. * @param destkey Destination key * @param keys List of source keys * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction pfmerge(String destkey, List<String> keys, Handler<AsyncResult<String>> handler) { delegate.pfmerge(destkey, keys, handler); return this; }
Merge N different HyperLogLogs into a single one.
Params:
  • destkey – Destination key
  • keys – List of source keys
Returns:
Deprecated:use rxPfmerge instead
/** * Merge N different HyperLogLogs into a single one. * @param destkey Destination key * @param keys List of source keys * @return * @deprecated use {@link #rxPfmerge} instead */
@Deprecated() public Observable<String> pfmergeObservable(String destkey, List<String> keys) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); pfmerge(destkey, keys, handler.toHandler()); return handler; }
Merge N different HyperLogLogs into a single one.
Params:
  • destkey – Destination key
  • keys – List of source keys
Returns:
/** * Merge N different HyperLogLogs into a single one. * @param destkey Destination key * @param keys List of source keys * @return */
public Single<String> rxPfmerge(String destkey, List<String> keys) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { pfmerge(destkey, keys, fut); })); }
Ping the server
Params:
  • handler –
Returns:
/** * Ping the server * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction ping(Handler<AsyncResult<String>> handler) { delegate.ping(handler); return this; }
Ping the server
Returns:
Deprecated:use rxPing instead
/** * Ping the server * @return * @deprecated use {@link #rxPing} instead */
@Deprecated() public Observable<String> pingObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); ping(handler.toHandler()); return handler; }
Ping the server
Returns:
/** * Ping the server * @return */
public Single<String> rxPing() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { ping(fut); })); }
Set the value and expiration in milliseconds of a key
Params:
  • key – Key string
  • millis – Number of milliseconds until the key expires
  • value – New value for key
  • handler – Handler for the result of this call.
Returns:
/** * Set the value and expiration in milliseconds of a key * @param key Key string * @param millis Number of milliseconds until the key expires * @param value New value for key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction psetex(String key, long millis, String value, Handler<AsyncResult<String>> handler) { delegate.psetex(key, millis, value, handler); return this; }
Set the value and expiration in milliseconds of a key
Params:
  • key – Key string
  • millis – Number of milliseconds until the key expires
  • value – New value for key
Returns:
Deprecated:use rxPsetex instead
/** * Set the value and expiration in milliseconds of a key * @param key Key string * @param millis Number of milliseconds until the key expires * @param value New value for key * @return * @deprecated use {@link #rxPsetex} instead */
@Deprecated() public Observable<String> psetexObservable(String key, long millis, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); psetex(key, millis, value, handler.toHandler()); return handler; }
Set the value and expiration in milliseconds of a key
Params:
  • key – Key string
  • millis – Number of milliseconds until the key expires
  • value – New value for key
Returns:
/** * Set the value and expiration in milliseconds of a key * @param key Key string * @param millis Number of milliseconds until the key expires * @param value New value for key * @return */
public Single<String> rxPsetex(String key, long millis, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { psetex(key, millis, value, fut); })); }
Listen for messages published to channels matching the given pattern
Params:
  • pattern – Pattern string
  • handler – Handler for the result of this call.
Returns:
/** * Listen for messages published to channels matching the given pattern * @param pattern Pattern string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction psubscribe(String pattern, Handler<AsyncResult<String>> handler) { delegate.psubscribe(pattern, handler); return this; }
Listen for messages published to channels matching the given pattern
Params:
  • pattern – Pattern string
Returns:
Deprecated:use rxPsubscribe instead
/** * Listen for messages published to channels matching the given pattern * @param pattern Pattern string * @return * @deprecated use {@link #rxPsubscribe} instead */
@Deprecated() public Observable<String> psubscribeObservable(String pattern) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); psubscribe(pattern, handler.toHandler()); return handler; }
Listen for messages published to channels matching the given pattern
Params:
  • pattern – Pattern string
Returns:
/** * Listen for messages published to channels matching the given pattern * @param pattern Pattern string * @return */
public Single<String> rxPsubscribe(String pattern) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { psubscribe(pattern, fut); })); }
Listen for messages published to channels matching the given patterns
Params:
  • patterns – List of patterns
  • handler – Handler for the result of this call.
Returns:
/** * Listen for messages published to channels matching the given patterns * @param patterns List of patterns * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction psubscribeMany(List<String> patterns, Handler<AsyncResult<String>> handler) { delegate.psubscribeMany(patterns, handler); return this; }
Listen for messages published to channels matching the given patterns
Params:
  • patterns – List of patterns
Returns:
Deprecated:use rxPsubscribeMany instead
/** * Listen for messages published to channels matching the given patterns * @param patterns List of patterns * @return * @deprecated use {@link #rxPsubscribeMany} instead */
@Deprecated() public Observable<String> psubscribeManyObservable(List<String> patterns) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); psubscribeMany(patterns, handler.toHandler()); return handler; }
Listen for messages published to channels matching the given patterns
Params:
  • patterns – List of patterns
Returns:
/** * Listen for messages published to channels matching the given patterns * @param patterns List of patterns * @return */
public Single<String> rxPsubscribeMany(List<String> patterns) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { psubscribeMany(patterns, fut); })); }
Lists the currently active channels - only those matching the pattern
Params:
  • pattern – A glob-style pattern - an empty string means no pattern
  • handler – Handler for the result of this call.
Returns:
/** * Lists the currently active channels - only those matching the pattern * @param pattern A glob-style pattern - an empty string means no pattern * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction pubsubChannels(String pattern, Handler<AsyncResult<String>> handler) { delegate.pubsubChannels(pattern, handler); return this; }
Lists the currently active channels - only those matching the pattern
Params:
  • pattern – A glob-style pattern - an empty string means no pattern
Returns:
Deprecated:use rxPubsubChannels instead
/** * Lists the currently active channels - only those matching the pattern * @param pattern A glob-style pattern - an empty string means no pattern * @return * @deprecated use {@link #rxPubsubChannels} instead */
@Deprecated() public Observable<String> pubsubChannelsObservable(String pattern) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); pubsubChannels(pattern, handler.toHandler()); return handler; }
Lists the currently active channels - only those matching the pattern
Params:
  • pattern – A glob-style pattern - an empty string means no pattern
Returns:
/** * Lists the currently active channels - only those matching the pattern * @param pattern A glob-style pattern - an empty string means no pattern * @return */
public Single<String> rxPubsubChannels(String pattern) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { pubsubChannels(pattern, fut); })); }
Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels
Params:
  • channels – List of channels
  • handler – Handler for the result of this call.
Returns:
/** * Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels * @param channels List of channels * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction pubsubNumsub(List<String> channels, Handler<AsyncResult<String>> handler) { delegate.pubsubNumsub(channels, handler); return this; }
Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels
Params:
  • channels – List of channels
Returns:
Deprecated:use rxPubsubNumsub instead
/** * Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels * @param channels List of channels * @return * @deprecated use {@link #rxPubsubNumsub} instead */
@Deprecated() public Observable<String> pubsubNumsubObservable(List<String> channels) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); pubsubNumsub(channels, handler.toHandler()); return handler; }
Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels
Params:
  • channels – List of channels
Returns:
/** * Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels * @param channels List of channels * @return */
public Single<String> rxPubsubNumsub(List<String> channels) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { pubsubNumsub(channels, fut); })); }
Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command)
Params:
  • handler – Handler for the result of this call.
Returns:
/** * Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command) * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction pubsubNumpat(Handler<AsyncResult<String>> handler) { delegate.pubsubNumpat(handler); return this; }
Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command)
Returns:
Deprecated:use rxPubsubNumpat instead
/** * Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command) * @return * @deprecated use {@link #rxPubsubNumpat} instead */
@Deprecated() public Observable<String> pubsubNumpatObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); pubsubNumpat(handler.toHandler()); return handler; }
Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command)
Returns:
/** * Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command) * @return */
public Single<String> rxPubsubNumpat() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { pubsubNumpat(fut); })); }
Get the time to live for a key in milliseconds
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get the time to live for a key in milliseconds * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction pttl(String key, Handler<AsyncResult<String>> handler) { delegate.pttl(key, handler); return this; }
Get the time to live for a key in milliseconds
Params:
  • key – Key string
Returns:
Deprecated:use rxPttl instead
/** * Get the time to live for a key in milliseconds * @param key Key string * @return * @deprecated use {@link #rxPttl} instead */
@Deprecated() public Observable<String> pttlObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); pttl(key, handler.toHandler()); return handler; }
Get the time to live for a key in milliseconds
Params:
  • key – Key string
Returns:
/** * Get the time to live for a key in milliseconds * @param key Key string * @return */
public Single<String> rxPttl(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { pttl(key, fut); })); }
Post a message to a channel
Params:
  • channel – Channel key
  • message – Message to send to channel
  • handler – Handler for the result of this call.
Returns:
/** * Post a message to a channel * @param channel Channel key * @param message Message to send to channel * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction publish(String channel, String message, Handler<AsyncResult<String>> handler) { delegate.publish(channel, message, handler); return this; }
Post a message to a channel
Params:
  • channel – Channel key
  • message – Message to send to channel
Returns:
Deprecated:use rxPublish instead
/** * Post a message to a channel * @param channel Channel key * @param message Message to send to channel * @return * @deprecated use {@link #rxPublish} instead */
@Deprecated() public Observable<String> publishObservable(String channel, String message) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); publish(channel, message, handler.toHandler()); return handler; }
Post a message to a channel
Params:
  • channel – Channel key
  • message – Message to send to channel
Returns:
/** * Post a message to a channel * @param channel Channel key * @param message Message to send to channel * @return */
public Single<String> rxPublish(String channel, String message) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { publish(channel, message, fut); })); }
Stop listening for messages posted to channels matching the given patterns
Params:
  • patterns – List of patterns to match against
  • handler – Handler for the result of this call.
Returns:
/** * Stop listening for messages posted to channels matching the given patterns * @param patterns List of patterns to match against * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction punsubscribe(List<String> patterns, Handler<AsyncResult<String>> handler) { delegate.punsubscribe(patterns, handler); return this; }
Stop listening for messages posted to channels matching the given patterns
Params:
  • patterns – List of patterns to match against
Returns:
Deprecated:use rxPunsubscribe instead
/** * Stop listening for messages posted to channels matching the given patterns * @param patterns List of patterns to match against * @return * @deprecated use {@link #rxPunsubscribe} instead */
@Deprecated() public Observable<String> punsubscribeObservable(List<String> patterns) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); punsubscribe(patterns, handler.toHandler()); return handler; }
Stop listening for messages posted to channels matching the given patterns
Params:
  • patterns – List of patterns to match against
Returns:
/** * Stop listening for messages posted to channels matching the given patterns * @param patterns List of patterns to match against * @return */
public Single<String> rxPunsubscribe(List<String> patterns) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { punsubscribe(patterns, fut); })); }
Return a random key from the keyspace
Params:
  • handler –
Returns:
/** * Return a random key from the keyspace * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction randomkey(Handler<AsyncResult<String>> handler) { delegate.randomkey(handler); return this; }
Return a random key from the keyspace
Returns:
Deprecated:use rxRandomkey instead
/** * Return a random key from the keyspace * @return * @deprecated use {@link #rxRandomkey} instead */
@Deprecated() public Observable<String> randomkeyObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); randomkey(handler.toHandler()); return handler; }
Return a random key from the keyspace
Returns:
/** * Return a random key from the keyspace * @return */
public Single<String> rxRandomkey() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { randomkey(fut); })); }
Rename a key
Params:
  • key – Key string to be renamed
  • newkey – New key string
  • handler – Handler for the result of this call.
Returns:
/** * Rename a key * @param key Key string to be renamed * @param newkey New key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction rename(String key, String newkey, Handler<AsyncResult<String>> handler) { delegate.rename(key, newkey, handler); return this; }
Rename a key
Params:
  • key – Key string to be renamed
  • newkey – New key string
Returns:
Deprecated:use rxRename instead
/** * Rename a key * @param key Key string to be renamed * @param newkey New key string * @return * @deprecated use {@link #rxRename} instead */
@Deprecated() public Observable<String> renameObservable(String key, String newkey) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); rename(key, newkey, handler.toHandler()); return handler; }
Rename a key
Params:
  • key – Key string to be renamed
  • newkey – New key string
Returns:
/** * Rename a key * @param key Key string to be renamed * @param newkey New key string * @return */
public Single<String> rxRename(String key, String newkey) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { rename(key, newkey, fut); })); }
Rename a key, only if the new key does not exist
Params:
  • key – Key string to be renamed
  • newkey – New key string
  • handler – Handler for the result of this call.
Returns:
/** * Rename a key, only if the new key does not exist * @param key Key string to be renamed * @param newkey New key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction renamenx(String key, String newkey, Handler<AsyncResult<String>> handler) { delegate.renamenx(key, newkey, handler); return this; }
Rename a key, only if the new key does not exist
Params:
  • key – Key string to be renamed
  • newkey – New key string
Returns:
Deprecated:use rxRenamenx instead
/** * Rename a key, only if the new key does not exist * @param key Key string to be renamed * @param newkey New key string * @return * @deprecated use {@link #rxRenamenx} instead */
@Deprecated() public Observable<String> renamenxObservable(String key, String newkey) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); renamenx(key, newkey, handler.toHandler()); return handler; }
Rename a key, only if the new key does not exist
Params:
  • key – Key string to be renamed
  • newkey – New key string
Returns:
/** * Rename a key, only if the new key does not exist * @param key Key string to be renamed * @param newkey New key string * @return */
public Single<String> rxRenamenx(String key, String newkey) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { renamenx(key, newkey, fut); })); }
Create a key using the provided serialized value, previously obtained using DUMP.
Params:
  • key – Key string
  • millis – Expiry time in milliseconds to set on the key
  • serialized – Serialized form of the key value as obtained using DUMP
  • handler – Handler for the result of this call.
Returns:
/** * Create a key using the provided serialized value, previously obtained using DUMP. * @param key Key string * @param millis Expiry time in milliseconds to set on the key * @param serialized Serialized form of the key value as obtained using DUMP * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction restore(String key, long millis, String serialized, Handler<AsyncResult<String>> handler) { delegate.restore(key, millis, serialized, handler); return this; }
Create a key using the provided serialized value, previously obtained using DUMP.
Params:
  • key – Key string
  • millis – Expiry time in milliseconds to set on the key
  • serialized – Serialized form of the key value as obtained using DUMP
Returns:
Deprecated:use rxRestore instead
/** * Create a key using the provided serialized value, previously obtained using DUMP. * @param key Key string * @param millis Expiry time in milliseconds to set on the key * @param serialized Serialized form of the key value as obtained using DUMP * @return * @deprecated use {@link #rxRestore} instead */
@Deprecated() public Observable<String> restoreObservable(String key, long millis, String serialized) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); restore(key, millis, serialized, handler.toHandler()); return handler; }
Create a key using the provided serialized value, previously obtained using DUMP.
Params:
  • key – Key string
  • millis – Expiry time in milliseconds to set on the key
  • serialized – Serialized form of the key value as obtained using DUMP
Returns:
/** * Create a key using the provided serialized value, previously obtained using DUMP. * @param key Key string * @param millis Expiry time in milliseconds to set on the key * @param serialized Serialized form of the key value as obtained using DUMP * @return */
public Single<String> rxRestore(String key, long millis, String serialized) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { restore(key, millis, serialized, fut); })); }
Return the role of the instance in the context of replication
Params:
  • handler –
Returns:
/** * Return the role of the instance in the context of replication * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction role(Handler<AsyncResult<String>> handler) { delegate.role(handler); return this; }
Return the role of the instance in the context of replication
Returns:
Deprecated:use rxRole instead
/** * Return the role of the instance in the context of replication * @return * @deprecated use {@link #rxRole} instead */
@Deprecated() public Observable<String> roleObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); role(handler.toHandler()); return handler; }
Return the role of the instance in the context of replication
Returns:
/** * Return the role of the instance in the context of replication * @return */
public Single<String> rxRole() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { role(fut); })); }
Remove and get the last element in a list
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Remove and get the last element in a list * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction rpop(String key, Handler<AsyncResult<String>> handler) { delegate.rpop(key, handler); return this; }
Remove and get the last element in a list
Params:
  • key – Key string
Returns:
Deprecated:use rxRpop instead
/** * Remove and get the last element in a list * @param key Key string * @return * @deprecated use {@link #rxRpop} instead */
@Deprecated() public Observable<String> rpopObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); rpop(key, handler.toHandler()); return handler; }
Remove and get the last element in a list
Params:
  • key – Key string
Returns:
/** * Remove and get the last element in a list * @param key Key string * @return */
public Single<String> rxRpop(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { rpop(key, fut); })); }
Remove the last element in a list, append it to another list and return it
Params:
  • key – Key string identifying source list
  • destkey – Key string identifying destination list
  • handler – Handler for the result of this call.
Returns:
/** * Remove the last element in a list, append it to another list and return it * @param key Key string identifying source list * @param destkey Key string identifying destination list * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction rpoplpush(String key, String destkey, Handler<AsyncResult<String>> handler) { delegate.rpoplpush(key, destkey, handler); return this; }
Remove the last element in a list, append it to another list and return it
Params:
  • key – Key string identifying source list
  • destkey – Key string identifying destination list
Returns:
Deprecated:use rxRpoplpush instead
/** * Remove the last element in a list, append it to another list and return it * @param key Key string identifying source list * @param destkey Key string identifying destination list * @return * @deprecated use {@link #rxRpoplpush} instead */
@Deprecated() public Observable<String> rpoplpushObservable(String key, String destkey) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); rpoplpush(key, destkey, handler.toHandler()); return handler; }
Remove the last element in a list, append it to another list and return it
Params:
  • key – Key string identifying source list
  • destkey – Key string identifying destination list
Returns:
/** * Remove the last element in a list, append it to another list and return it * @param key Key string identifying source list * @param destkey Key string identifying destination list * @return */
public Single<String> rxRpoplpush(String key, String destkey) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { rpoplpush(key, destkey, fut); })); }
Append one or multiple values to a list
Params:
  • key – Key string
  • values – List of values to add to the end of the list
  • handler – Handler for the result of this call.
Returns:
/** * Append one or multiple values to a list * @param key Key string * @param values List of values to add to the end of the list * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction rpushMany(String key, List<String> values, Handler<AsyncResult<String>> handler) { delegate.rpushMany(key, values, handler); return this; }
Append one or multiple values to a list
Params:
  • key – Key string
  • values – List of values to add to the end of the list
Returns:
Deprecated:use rxRpushMany instead
/** * Append one or multiple values to a list * @param key Key string * @param values List of values to add to the end of the list * @return * @deprecated use {@link #rxRpushMany} instead */
@Deprecated() public Observable<String> rpushManyObservable(String key, List<String> values) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); rpushMany(key, values, handler.toHandler()); return handler; }
Append one or multiple values to a list
Params:
  • key – Key string
  • values – List of values to add to the end of the list
Returns:
/** * Append one or multiple values to a list * @param key Key string * @param values List of values to add to the end of the list * @return */
public Single<String> rxRpushMany(String key, List<String> values) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { rpushMany(key, values, fut); })); }
Append one or multiple values to a list
Params:
  • key – Key string
  • value – Value to be added to the end of the list
  • handler – Handler for the result of this call.
Returns:
/** * Append one or multiple values to a list * @param key Key string * @param value Value to be added to the end of the list * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction rpush(String key, String value, Handler<AsyncResult<String>> handler) { delegate.rpush(key, value, handler); return this; }
Append one or multiple values to a list
Params:
  • key – Key string
  • value – Value to be added to the end of the list
Returns:
Deprecated:use rxRpush instead
/** * Append one or multiple values to a list * @param key Key string * @param value Value to be added to the end of the list * @return * @deprecated use {@link #rxRpush} instead */
@Deprecated() public Observable<String> rpushObservable(String key, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); rpush(key, value, handler.toHandler()); return handler; }
Append one or multiple values to a list
Params:
  • key – Key string
  • value – Value to be added to the end of the list
Returns:
/** * Append one or multiple values to a list * @param key Key string * @param value Value to be added to the end of the list * @return */
public Single<String> rxRpush(String key, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { rpush(key, value, fut); })); }
Append a value to a list, only if the list exists
Params:
  • key – Key string
  • value – Value to be added to the end of the list
  • handler – Handler for the result of this call.
Returns:
/** * Append a value to a list, only if the list exists * @param key Key string * @param value Value to be added to the end of the list * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction rpushx(String key, String value, Handler<AsyncResult<String>> handler) { delegate.rpushx(key, value, handler); return this; }
Append a value to a list, only if the list exists
Params:
  • key – Key string
  • value – Value to be added to the end of the list
Returns:
Deprecated:use rxRpushx instead
/** * Append a value to a list, only if the list exists * @param key Key string * @param value Value to be added to the end of the list * @return * @deprecated use {@link #rxRpushx} instead */
@Deprecated() public Observable<String> rpushxObservable(String key, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); rpushx(key, value, handler.toHandler()); return handler; }
Append a value to a list, only if the list exists
Params:
  • key – Key string
  • value – Value to be added to the end of the list
Returns:
/** * Append a value to a list, only if the list exists * @param key Key string * @param value Value to be added to the end of the list * @return */
public Single<String> rxRpushx(String key, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { rpushx(key, value, fut); })); }
Add a member to a set
Params:
  • key – Key string
  • member – Value to be added to the set
  • handler – Handler for the result of this call.
Returns:
/** * Add a member to a set * @param key Key string * @param member Value to be added to the set * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction sadd(String key, String member, Handler<AsyncResult<String>> handler) { delegate.sadd(key, member, handler); return this; }
Add a member to a set
Params:
  • key – Key string
  • member – Value to be added to the set
Returns:
Deprecated:use rxSadd instead
/** * Add a member to a set * @param key Key string * @param member Value to be added to the set * @return * @deprecated use {@link #rxSadd} instead */
@Deprecated() public Observable<String> saddObservable(String key, String member) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); sadd(key, member, handler.toHandler()); return handler; }
Add a member to a set
Params:
  • key – Key string
  • member – Value to be added to the set
Returns:
/** * Add a member to a set * @param key Key string * @param member Value to be added to the set * @return */
public Single<String> rxSadd(String key, String member) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { sadd(key, member, fut); })); }
Add one or more members to a set
Params:
  • key – Key string
  • members – Values to be added to the set
  • handler – Handler for the result of this call.
Returns:
/** * Add one or more members to a set * @param key Key string * @param members Values to be added to the set * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction saddMany(String key, List<String> members, Handler<AsyncResult<String>> handler) { delegate.saddMany(key, members, handler); return this; }
Add one or more members to a set
Params:
  • key – Key string
  • members – Values to be added to the set
Returns:
Deprecated:use rxSaddMany instead
/** * Add one or more members to a set * @param key Key string * @param members Values to be added to the set * @return * @deprecated use {@link #rxSaddMany} instead */
@Deprecated() public Observable<String> saddManyObservable(String key, List<String> members) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); saddMany(key, members, handler.toHandler()); return handler; }
Add one or more members to a set
Params:
  • key – Key string
  • members – Values to be added to the set
Returns:
/** * Add one or more members to a set * @param key Key string * @param members Values to be added to the set * @return */
public Single<String> rxSaddMany(String key, List<String> members) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { saddMany(key, members, fut); })); }
Synchronously save the dataset to disk
Params:
  • handler –
Returns:
/** * Synchronously save the dataset to disk * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction save(Handler<AsyncResult<String>> handler) { delegate.save(handler); return this; }
Synchronously save the dataset to disk
Returns:
Deprecated:use rxSave instead
/** * Synchronously save the dataset to disk * @return * @deprecated use {@link #rxSave} instead */
@Deprecated() public Observable<String> saveObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); save(handler.toHandler()); return handler; }
Synchronously save the dataset to disk
Returns:
/** * Synchronously save the dataset to disk * @return */
public Single<String> rxSave() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { save(fut); })); }
Get the number of members in a set
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get the number of members in a set * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction scard(String key, Handler<AsyncResult<String>> handler) { delegate.scard(key, handler); return this; }
Get the number of members in a set
Params:
  • key – Key string
Returns:
Deprecated:use rxScard instead
/** * Get the number of members in a set * @param key Key string * @return * @deprecated use {@link #rxScard} instead */
@Deprecated() public Observable<String> scardObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); scard(key, handler.toHandler()); return handler; }
Get the number of members in a set
Params:
  • key – Key string
Returns:
/** * Get the number of members in a set * @param key Key string * @return */
public Single<String> rxScard(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { scard(key, fut); })); }
Check existence of script in the script cache.
Params:
  • script – SHA1 digest identifying a script in the script cache
  • handler – Handler for the result of this call.
Returns:
/** * Check existence of script in the script cache. * @param script SHA1 digest identifying a script in the script cache * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction scriptExists(String script, Handler<AsyncResult<String>> handler) { delegate.scriptExists(script, handler); return this; }
Check existence of script in the script cache.
Params:
  • script – SHA1 digest identifying a script in the script cache
Returns:
Deprecated:use rxScriptExists instead
/** * Check existence of script in the script cache. * @param script SHA1 digest identifying a script in the script cache * @return * @deprecated use {@link #rxScriptExists} instead */
@Deprecated() public Observable<String> scriptExistsObservable(String script) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); scriptExists(script, handler.toHandler()); return handler; }
Check existence of script in the script cache.
Params:
  • script – SHA1 digest identifying a script in the script cache
Returns:
/** * Check existence of script in the script cache. * @param script SHA1 digest identifying a script in the script cache * @return */
public Single<String> rxScriptExists(String script) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { scriptExists(script, fut); })); }
Check existence of scripts in the script cache.
Params:
  • scripts – List of SHA1 digests identifying scripts in the script cache
  • handler – Handler for the result of this call.
Returns:
/** * Check existence of scripts in the script cache. * @param scripts List of SHA1 digests identifying scripts in the script cache * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction scriptExistsMany(List<String> scripts, Handler<AsyncResult<String>> handler) { delegate.scriptExistsMany(scripts, handler); return this; }
Check existence of scripts in the script cache.
Params:
  • scripts – List of SHA1 digests identifying scripts in the script cache
Returns:
Deprecated:use rxScriptExistsMany instead
/** * Check existence of scripts in the script cache. * @param scripts List of SHA1 digests identifying scripts in the script cache * @return * @deprecated use {@link #rxScriptExistsMany} instead */
@Deprecated() public Observable<String> scriptExistsManyObservable(List<String> scripts) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); scriptExistsMany(scripts, handler.toHandler()); return handler; }
Check existence of scripts in the script cache.
Params:
  • scripts – List of SHA1 digests identifying scripts in the script cache
Returns:
/** * Check existence of scripts in the script cache. * @param scripts List of SHA1 digests identifying scripts in the script cache * @return */
public Single<String> rxScriptExistsMany(List<String> scripts) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { scriptExistsMany(scripts, fut); })); }
Remove all the scripts from the script cache.
Params:
  • handler –
Returns:
/** * Remove all the scripts from the script cache. * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction scriptFlush(Handler<AsyncResult<String>> handler) { delegate.scriptFlush(handler); return this; }
Remove all the scripts from the script cache.
Returns:
Deprecated:use rxScriptFlush instead
/** * Remove all the scripts from the script cache. * @return * @deprecated use {@link #rxScriptFlush} instead */
@Deprecated() public Observable<String> scriptFlushObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); scriptFlush(handler.toHandler()); return handler; }
Remove all the scripts from the script cache.
Returns:
/** * Remove all the scripts from the script cache. * @return */
public Single<String> rxScriptFlush() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { scriptFlush(fut); })); }
Kill the script currently in execution.
Params:
  • handler –
Returns:
/** * Kill the script currently in execution. * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction scriptKill(Handler<AsyncResult<String>> handler) { delegate.scriptKill(handler); return this; }
Kill the script currently in execution.
Returns:
Deprecated:use rxScriptKill instead
/** * Kill the script currently in execution. * @return * @deprecated use {@link #rxScriptKill} instead */
@Deprecated() public Observable<String> scriptKillObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); scriptKill(handler.toHandler()); return handler; }
Kill the script currently in execution.
Returns:
/** * Kill the script currently in execution. * @return */
public Single<String> rxScriptKill() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { scriptKill(fut); })); }
Load the specified Lua script into the script cache.
Params:
  • script – Lua script
  • handler – Handler for the result of this call.
Returns:
/** * Load the specified Lua script into the script cache. * @param script Lua script * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction scriptLoad(String script, Handler<AsyncResult<String>> handler) { delegate.scriptLoad(script, handler); return this; }
Load the specified Lua script into the script cache.
Params:
  • script – Lua script
Returns:
Deprecated:use rxScriptLoad instead
/** * Load the specified Lua script into the script cache. * @param script Lua script * @return * @deprecated use {@link #rxScriptLoad} instead */
@Deprecated() public Observable<String> scriptLoadObservable(String script) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); scriptLoad(script, handler.toHandler()); return handler; }
Load the specified Lua script into the script cache.
Params:
  • script – Lua script
Returns:
/** * Load the specified Lua script into the script cache. * @param script Lua script * @return */
public Single<String> rxScriptLoad(String script) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { scriptLoad(script, fut); })); }
Subtract multiple sets
Params:
  • key – Key identifying the set to compare with all other sets combined
  • cmpkeys – List of keys identifying sets to subtract from the key set
  • handler – Handler for the result of this call.
Returns:
/** * Subtract multiple sets * @param key Key identifying the set to compare with all other sets combined * @param cmpkeys List of keys identifying sets to subtract from the key set * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction sdiff(String key, List<String> cmpkeys, Handler<AsyncResult<String>> handler) { delegate.sdiff(key, cmpkeys, handler); return this; }
Subtract multiple sets
Params:
  • key – Key identifying the set to compare with all other sets combined
  • cmpkeys – List of keys identifying sets to subtract from the key set
Returns:
Deprecated:use rxSdiff instead
/** * Subtract multiple sets * @param key Key identifying the set to compare with all other sets combined * @param cmpkeys List of keys identifying sets to subtract from the key set * @return * @deprecated use {@link #rxSdiff} instead */
@Deprecated() public Observable<String> sdiffObservable(String key, List<String> cmpkeys) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); sdiff(key, cmpkeys, handler.toHandler()); return handler; }
Subtract multiple sets
Params:
  • key – Key identifying the set to compare with all other sets combined
  • cmpkeys – List of keys identifying sets to subtract from the key set
Returns:
/** * Subtract multiple sets * @param key Key identifying the set to compare with all other sets combined * @param cmpkeys List of keys identifying sets to subtract from the key set * @return */
public Single<String> rxSdiff(String key, List<String> cmpkeys) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { sdiff(key, cmpkeys, fut); })); }
Subtract multiple sets and store the resulting set in a key
Params:
  • destkey – Destination key where the result should be stored
  • key – Key identifying the set to compare with all other sets combined
  • cmpkeys – List of keys identifying sets to subtract from the key set
  • handler – Handler for the result of this call.
Returns:
/** * Subtract multiple sets and store the resulting set in a key * @param destkey Destination key where the result should be stored * @param key Key identifying the set to compare with all other sets combined * @param cmpkeys List of keys identifying sets to subtract from the key set * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction sdiffstore(String destkey, String key, List<String> cmpkeys, Handler<AsyncResult<String>> handler) { delegate.sdiffstore(destkey, key, cmpkeys, handler); return this; }
Subtract multiple sets and store the resulting set in a key
Params:
  • destkey – Destination key where the result should be stored
  • key – Key identifying the set to compare with all other sets combined
  • cmpkeys – List of keys identifying sets to subtract from the key set
Returns:
Deprecated:use rxSdiffstore instead
/** * Subtract multiple sets and store the resulting set in a key * @param destkey Destination key where the result should be stored * @param key Key identifying the set to compare with all other sets combined * @param cmpkeys List of keys identifying sets to subtract from the key set * @return * @deprecated use {@link #rxSdiffstore} instead */
@Deprecated() public Observable<String> sdiffstoreObservable(String destkey, String key, List<String> cmpkeys) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); sdiffstore(destkey, key, cmpkeys, handler.toHandler()); return handler; }
Subtract multiple sets and store the resulting set in a key
Params:
  • destkey – Destination key where the result should be stored
  • key – Key identifying the set to compare with all other sets combined
  • cmpkeys – List of keys identifying sets to subtract from the key set
Returns:
/** * Subtract multiple sets and store the resulting set in a key * @param destkey Destination key where the result should be stored * @param key Key identifying the set to compare with all other sets combined * @param cmpkeys List of keys identifying sets to subtract from the key set * @return */
public Single<String> rxSdiffstore(String destkey, String key, List<String> cmpkeys) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { sdiffstore(destkey, key, cmpkeys, fut); })); }
Change the selected database for the current connection
Params:
  • dbindex – Index identifying the new active database
  • handler – Handler for the result of this call.
Returns:
/** * Change the selected database for the current connection * @param dbindex Index identifying the new active database * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction select(int dbindex, Handler<AsyncResult<String>> handler) { delegate.select(dbindex, handler); return this; }
Change the selected database for the current connection
Params:
  • dbindex – Index identifying the new active database
Returns:
Deprecated:use rxSelect instead
/** * Change the selected database for the current connection * @param dbindex Index identifying the new active database * @return * @deprecated use {@link #rxSelect} instead */
@Deprecated() public Observable<String> selectObservable(int dbindex) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); select(dbindex, handler.toHandler()); return handler; }
Change the selected database for the current connection
Params:
  • dbindex – Index identifying the new active database
Returns:
/** * Change the selected database for the current connection * @param dbindex Index identifying the new active database * @return */
public Single<String> rxSelect(int dbindex) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { select(dbindex, fut); })); }
Set the string value of a key
Params:
  • key – Key of which value to set
  • value – New value for the key
  • handler – Handler for the result of this call.
Returns:
/** * Set the string value of a key * @param key Key of which value to set * @param value New value for the key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction set(String key, String value, Handler<AsyncResult<String>> handler) { delegate.set(key, value, handler); return this; }
Set the string value of a key
Params:
  • key – Key of which value to set
  • value – New value for the key
Returns:
Deprecated:use rxSet instead
/** * Set the string value of a key * @param key Key of which value to set * @param value New value for the key * @return * @deprecated use {@link #rxSet} instead */
@Deprecated() public Observable<String> setObservable(String key, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); set(key, value, handler.toHandler()); return handler; }
Set the string value of a key
Params:
  • key – Key of which value to set
  • value – New value for the key
Returns:
/** * Set the string value of a key * @param key Key of which value to set * @param value New value for the key * @return */
public Single<String> rxSet(String key, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { set(key, value, fut); })); }
Set the string value of a key
Params:
  • key – Key of which value to set
  • value – New value for the key
  • options – Set options
  • handler – Handler for the result of this call.
Returns:
/** * Set the string value of a key * @param key Key of which value to set * @param value New value for the key * @param options Set options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction setWithOptions(String key, String value, SetOptions options, Handler<AsyncResult<String>> handler) { delegate.setWithOptions(key, value, options, handler); return this; }
Set the string value of a key
Params:
  • key – Key of which value to set
  • value – New value for the key
  • options – Set options
Returns:
Deprecated:use rxSetWithOptions instead
/** * Set the string value of a key * @param key Key of which value to set * @param value New value for the key * @param options Set options * @return * @deprecated use {@link #rxSetWithOptions} instead */
@Deprecated() public Observable<String> setWithOptionsObservable(String key, String value, SetOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); setWithOptions(key, value, options, handler.toHandler()); return handler; }
Set the string value of a key
Params:
  • key – Key of which value to set
  • value – New value for the key
  • options – Set options
Returns:
/** * Set the string value of a key * @param key Key of which value to set * @param value New value for the key * @param options Set options * @return */
public Single<String> rxSetWithOptions(String key, String value, SetOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { setWithOptions(key, value, options, fut); })); }
Set the binary string value of a key - without encoding as utf-8
Params:
  • key – Key of which value to set
  • value – New value for the key
  • handler – Handler for the result of this call.
Returns:
/** * Set the binary string value of a key - without encoding as utf-8 * @param key Key of which value to set * @param value New value for the key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction setBinary(String key, io.vertx.rxjava.core.buffer.Buffer value, Handler<AsyncResult<String>> handler) { delegate.setBinary(key, value.getDelegate(), handler); return this; }
Set the binary string value of a key - without encoding as utf-8
Params:
  • key – Key of which value to set
  • value – New value for the key
Returns:
Deprecated:use rxSetBinary instead
/** * Set the binary string value of a key - without encoding as utf-8 * @param key Key of which value to set * @param value New value for the key * @return * @deprecated use {@link #rxSetBinary} instead */
@Deprecated() public Observable<String> setBinaryObservable(String key, io.vertx.rxjava.core.buffer.Buffer value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); setBinary(key, value, handler.toHandler()); return handler; }
Set the binary string value of a key - without encoding as utf-8
Params:
  • key – Key of which value to set
  • value – New value for the key
Returns:
/** * Set the binary string value of a key - without encoding as utf-8 * @param key Key of which value to set * @param value New value for the key * @return */
public Single<String> rxSetBinary(String key, io.vertx.rxjava.core.buffer.Buffer value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { setBinary(key, value, fut); })); }
Set the string value of a key
Params:
  • key – Key of which value to set
  • value – New value for the key
  • options – Set options
  • handler – Handler for the result of this call.
Returns:
/** * Set the string value of a key * @param key Key of which value to set * @param value New value for the key * @param options Set options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction setBinaryWithOptions(String key, io.vertx.rxjava.core.buffer.Buffer value, SetOptions options, Handler<AsyncResult<String>> handler) { delegate.setBinaryWithOptions(key, value.getDelegate(), options, handler); return this; }
Set the string value of a key
Params:
  • key – Key of which value to set
  • value – New value for the key
  • options – Set options
Returns:
Deprecated:use rxSetBinaryWithOptions instead
/** * Set the string value of a key * @param key Key of which value to set * @param value New value for the key * @param options Set options * @return * @deprecated use {@link #rxSetBinaryWithOptions} instead */
@Deprecated() public Observable<String> setBinaryWithOptionsObservable(String key, io.vertx.rxjava.core.buffer.Buffer value, SetOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); setBinaryWithOptions(key, value, options, handler.toHandler()); return handler; }
Set the string value of a key
Params:
  • key – Key of which value to set
  • value – New value for the key
  • options – Set options
Returns:
/** * Set the string value of a key * @param key Key of which value to set * @param value New value for the key * @param options Set options * @return */
public Single<String> rxSetBinaryWithOptions(String key, io.vertx.rxjava.core.buffer.Buffer value, SetOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { setBinaryWithOptions(key, value, options, fut); })); }
Sets or clears the bit at offset in the string value stored at key
Params:
  • key – Key string
  • offset – Bit offset
  • bit – New value - must be 1 or 0
  • handler – Handler for the result of this call.
Returns:
/** * Sets or clears the bit at offset in the string value stored at key * @param key Key string * @param offset Bit offset * @param bit New value - must be 1 or 0 * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction setbit(String key, long offset, int bit, Handler<AsyncResult<String>> handler) { delegate.setbit(key, offset, bit, handler); return this; }
Sets or clears the bit at offset in the string value stored at key
Params:
  • key – Key string
  • offset – Bit offset
  • bit – New value - must be 1 or 0
Returns:
Deprecated:use rxSetbit instead
/** * Sets or clears the bit at offset in the string value stored at key * @param key Key string * @param offset Bit offset * @param bit New value - must be 1 or 0 * @return * @deprecated use {@link #rxSetbit} instead */
@Deprecated() public Observable<String> setbitObservable(String key, long offset, int bit) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); setbit(key, offset, bit, handler.toHandler()); return handler; }
Sets or clears the bit at offset in the string value stored at key
Params:
  • key – Key string
  • offset – Bit offset
  • bit – New value - must be 1 or 0
Returns:
/** * Sets or clears the bit at offset in the string value stored at key * @param key Key string * @param offset Bit offset * @param bit New value - must be 1 or 0 * @return */
public Single<String> rxSetbit(String key, long offset, int bit) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { setbit(key, offset, bit, fut); })); }
Set the value and expiration of a key
Params:
  • key – Key string
  • seconds – Number of seconds until the key expires
  • value – New value for key
  • handler – Handler for the result of this call.
Returns:
/** * Set the value and expiration of a key * @param key Key string * @param seconds Number of seconds until the key expires * @param value New value for key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction setex(String key, long seconds, String value, Handler<AsyncResult<String>> handler) { delegate.setex(key, seconds, value, handler); return this; }
Set the value and expiration of a key
Params:
  • key – Key string
  • seconds – Number of seconds until the key expires
  • value – New value for key
Returns:
Deprecated:use rxSetex instead
/** * Set the value and expiration of a key * @param key Key string * @param seconds Number of seconds until the key expires * @param value New value for key * @return * @deprecated use {@link #rxSetex} instead */
@Deprecated() public Observable<String> setexObservable(String key, long seconds, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); setex(key, seconds, value, handler.toHandler()); return handler; }
Set the value and expiration of a key
Params:
  • key – Key string
  • seconds – Number of seconds until the key expires
  • value – New value for key
Returns:
/** * Set the value and expiration of a key * @param key Key string * @param seconds Number of seconds until the key expires * @param value New value for key * @return */
public Single<String> rxSetex(String key, long seconds, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { setex(key, seconds, value, fut); })); }
Set the value of a key, only if the key does not exist
Params:
  • key – Key of which value to set
  • value – New value for the key
  • handler – Handler for the result of this call.
Returns:
/** * Set the value of a key, only if the key does not exist * @param key Key of which value to set * @param value New value for the key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction setnx(String key, String value, Handler<AsyncResult<String>> handler) { delegate.setnx(key, value, handler); return this; }
Set the value of a key, only if the key does not exist
Params:
  • key – Key of which value to set
  • value – New value for the key
Returns:
Deprecated:use rxSetnx instead
/** * Set the value of a key, only if the key does not exist * @param key Key of which value to set * @param value New value for the key * @return * @deprecated use {@link #rxSetnx} instead */
@Deprecated() public Observable<String> setnxObservable(String key, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); setnx(key, value, handler.toHandler()); return handler; }
Set the value of a key, only if the key does not exist
Params:
  • key – Key of which value to set
  • value – New value for the key
Returns:
/** * Set the value of a key, only if the key does not exist * @param key Key of which value to set * @param value New value for the key * @return */
public Single<String> rxSetnx(String key, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { setnx(key, value, fut); })); }
Overwrite part of a string at key starting at the specified offset
Params:
  • key – Key string
  • offset – Offset - the maximum offset that you can set is 2^29 -1 (536870911), as Redis Strings are limited to 512 megabytes
  • value – Value to overwrite with
  • handler – Handler for the result of this call.
Returns:
/** * Overwrite part of a string at key starting at the specified offset * @param key Key string * @param offset Offset - the maximum offset that you can set is 2^29 -1 (536870911), as Redis Strings are limited to 512 megabytes * @param value Value to overwrite with * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction setrange(String key, int offset, String value, Handler<AsyncResult<String>> handler) { delegate.setrange(key, offset, value, handler); return this; }
Overwrite part of a string at key starting at the specified offset
Params:
  • key – Key string
  • offset – Offset - the maximum offset that you can set is 2^29 -1 (536870911), as Redis Strings are limited to 512 megabytes
  • value – Value to overwrite with
Returns:
Deprecated:use rxSetrange instead
/** * Overwrite part of a string at key starting at the specified offset * @param key Key string * @param offset Offset - the maximum offset that you can set is 2^29 -1 (536870911), as Redis Strings are limited to 512 megabytes * @param value Value to overwrite with * @return * @deprecated use {@link #rxSetrange} instead */
@Deprecated() public Observable<String> setrangeObservable(String key, int offset, String value) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); setrange(key, offset, value, handler.toHandler()); return handler; }
Overwrite part of a string at key starting at the specified offset
Params:
  • key – Key string
  • offset – Offset - the maximum offset that you can set is 2^29 -1 (536870911), as Redis Strings are limited to 512 megabytes
  • value – Value to overwrite with
Returns:
/** * Overwrite part of a string at key starting at the specified offset * @param key Key string * @param offset Offset - the maximum offset that you can set is 2^29 -1 (536870911), as Redis Strings are limited to 512 megabytes * @param value Value to overwrite with * @return */
public Single<String> rxSetrange(String key, int offset, String value) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { setrange(key, offset, value, fut); })); }
Intersect multiple sets
Params:
  • keys – List of keys to perform intersection on
  • handler – Handler for the result of this call.
Returns:
/** * Intersect multiple sets * @param keys List of keys to perform intersection on * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction sinter(List<String> keys, Handler<AsyncResult<String>> handler) { delegate.sinter(keys, handler); return this; }
Intersect multiple sets
Params:
  • keys – List of keys to perform intersection on
Returns:
Deprecated:use rxSinter instead
/** * Intersect multiple sets * @param keys List of keys to perform intersection on * @return * @deprecated use {@link #rxSinter} instead */
@Deprecated() public Observable<String> sinterObservable(List<String> keys) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); sinter(keys, handler.toHandler()); return handler; }
Intersect multiple sets
Params:
  • keys – List of keys to perform intersection on
Returns:
/** * Intersect multiple sets * @param keys List of keys to perform intersection on * @return */
public Single<String> rxSinter(List<String> keys) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { sinter(keys, fut); })); }
Intersect multiple sets and store the resulting set in a key
Params:
  • destkey – Key where to store the results
  • keys – List of keys to perform intersection on
  • handler – Handler for the result of this call.
Returns:
/** * Intersect multiple sets and store the resulting set in a key * @param destkey Key where to store the results * @param keys List of keys to perform intersection on * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction sinterstore(String destkey, List<String> keys, Handler<AsyncResult<String>> handler) { delegate.sinterstore(destkey, keys, handler); return this; }
Intersect multiple sets and store the resulting set in a key
Params:
  • destkey – Key where to store the results
  • keys – List of keys to perform intersection on
Returns:
Deprecated:use rxSinterstore instead
/** * Intersect multiple sets and store the resulting set in a key * @param destkey Key where to store the results * @param keys List of keys to perform intersection on * @return * @deprecated use {@link #rxSinterstore} instead */
@Deprecated() public Observable<String> sinterstoreObservable(String destkey, List<String> keys) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); sinterstore(destkey, keys, handler.toHandler()); return handler; }
Intersect multiple sets and store the resulting set in a key
Params:
  • destkey – Key where to store the results
  • keys – List of keys to perform intersection on
Returns:
/** * Intersect multiple sets and store the resulting set in a key * @param destkey Key where to store the results * @param keys List of keys to perform intersection on * @return */
public Single<String> rxSinterstore(String destkey, List<String> keys) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { sinterstore(destkey, keys, fut); })); }
Determine if a given value is a member of a set
Params:
  • key – Key string
  • member – Member to look for
  • handler – Handler for the result of this call.
Returns:
/** * Determine if a given value is a member of a set * @param key Key string * @param member Member to look for * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction sismember(String key, String member, Handler<AsyncResult<String>> handler) { delegate.sismember(key, member, handler); return this; }
Determine if a given value is a member of a set
Params:
  • key – Key string
  • member – Member to look for
Returns:
Deprecated:use rxSismember instead
/** * Determine if a given value is a member of a set * @param key Key string * @param member Member to look for * @return * @deprecated use {@link #rxSismember} instead */
@Deprecated() public Observable<String> sismemberObservable(String key, String member) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); sismember(key, member, handler.toHandler()); return handler; }
Determine if a given value is a member of a set
Params:
  • key – Key string
  • member – Member to look for
Returns:
/** * Determine if a given value is a member of a set * @param key Key string * @param member Member to look for * @return */
public Single<String> rxSismember(String key, String member) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { sismember(key, member, fut); })); }
Make the server a slave of another instance
Params:
  • host – Host to become this server's master
  • port – Port of our new master
  • handler – Handler for the result of this call.
Returns:
/** * Make the server a slave of another instance * @param host Host to become this server's master * @param port Port of our new master * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction slaveof(String host, int port, Handler<AsyncResult<String>> handler) { delegate.slaveof(host, port, handler); return this; }
Make the server a slave of another instance
Params:
  • host – Host to become this server's master
  • port – Port of our new master
Returns:
Deprecated:use rxSlaveof instead
/** * Make the server a slave of another instance * @param host Host to become this server's master * @param port Port of our new master * @return * @deprecated use {@link #rxSlaveof} instead */
@Deprecated() public Observable<String> slaveofObservable(String host, int port) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); slaveof(host, port, handler.toHandler()); return handler; }
Make the server a slave of another instance
Params:
  • host – Host to become this server's master
  • port – Port of our new master
Returns:
/** * Make the server a slave of another instance * @param host Host to become this server's master * @param port Port of our new master * @return */
public Single<String> rxSlaveof(String host, int port) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { slaveof(host, port, fut); })); }
Make this server a master
Params:
  • handler – Handler for the result of this call.
Returns:
/** * Make this server a master * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction slaveofNoone(Handler<AsyncResult<String>> handler) { delegate.slaveofNoone(handler); return this; }
Make this server a master
Returns:
Deprecated:use rxSlaveofNoone instead
/** * Make this server a master * @return * @deprecated use {@link #rxSlaveofNoone} instead */
@Deprecated() public Observable<String> slaveofNooneObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); slaveofNoone(handler.toHandler()); return handler; }
Make this server a master
Returns:
/** * Make this server a master * @return */
public Single<String> rxSlaveofNoone() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { slaveofNoone(fut); })); }
Read the Redis slow queries log
Params:
  • limit – Number of log entries to return. If value is less than zero all entries are returned
  • handler – Handler for the result of this call.
Returns:
/** * Read the Redis slow queries log * @param limit Number of log entries to return. If value is less than zero all entries are returned * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction slowlogGet(int limit, Handler<AsyncResult<String>> handler) { delegate.slowlogGet(limit, handler); return this; }
Read the Redis slow queries log
Params:
  • limit – Number of log entries to return. If value is less than zero all entries are returned
Returns:
Deprecated:use rxSlowlogGet instead
/** * Read the Redis slow queries log * @param limit Number of log entries to return. If value is less than zero all entries are returned * @return * @deprecated use {@link #rxSlowlogGet} instead */
@Deprecated() public Observable<String> slowlogGetObservable(int limit) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); slowlogGet(limit, handler.toHandler()); return handler; }
Read the Redis slow queries log
Params:
  • limit – Number of log entries to return. If value is less than zero all entries are returned
Returns:
/** * Read the Redis slow queries log * @param limit Number of log entries to return. If value is less than zero all entries are returned * @return */
public Single<String> rxSlowlogGet(int limit) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { slowlogGet(limit, fut); })); }
Get the length of the Redis slow queries log
Params:
  • handler – Handler for the result of this call.
Returns:
/** * Get the length of the Redis slow queries log * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction slowlogLen(Handler<AsyncResult<String>> handler) { delegate.slowlogLen(handler); return this; }
Get the length of the Redis slow queries log
Returns:
Deprecated:use rxSlowlogLen instead
/** * Get the length of the Redis slow queries log * @return * @deprecated use {@link #rxSlowlogLen} instead */
@Deprecated() public Observable<String> slowlogLenObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); slowlogLen(handler.toHandler()); return handler; }
Get the length of the Redis slow queries log
Returns:
/** * Get the length of the Redis slow queries log * @return */
public Single<String> rxSlowlogLen() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { slowlogLen(fut); })); }
Reset the Redis slow queries log
Params:
  • handler – Handler for the result of this call.
Returns:
/** * Reset the Redis slow queries log * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction slowlogReset(Handler<AsyncResult<String>> handler) { delegate.slowlogReset(handler); return this; }
Reset the Redis slow queries log
Returns:
Deprecated:use rxSlowlogReset instead
/** * Reset the Redis slow queries log * @return * @deprecated use {@link #rxSlowlogReset} instead */
@Deprecated() public Observable<String> slowlogResetObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); slowlogReset(handler.toHandler()); return handler; }
Reset the Redis slow queries log
Returns:
/** * Reset the Redis slow queries log * @return */
public Single<String> rxSlowlogReset() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { slowlogReset(fut); })); }
Get all the members in a set
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get all the members in a set * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction smembers(String key, Handler<AsyncResult<JsonArray>> handler) { delegate.smembers(key, handler); return this; }
Get all the members in a set
Params:
  • key – Key string
Returns:
Deprecated:use rxSmembers instead
/** * Get all the members in a set * @param key Key string * @return * @deprecated use {@link #rxSmembers} instead */
@Deprecated() public Observable<JsonArray> smembersObservable(String key) { io.vertx.rx.java.ObservableFuture<JsonArray> handler = io.vertx.rx.java.RxHelper.observableFuture(); smembers(key, handler.toHandler()); return handler; }
Get all the members in a set
Params:
  • key – Key string
Returns:
/** * Get all the members in a set * @param key Key string * @return */
public Single<JsonArray> rxSmembers(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { smembers(key, fut); })); }
Move a member from one set to another
Params:
  • key – Key of source set currently containing the member
  • destkey – Key identifying the destination set
  • member – Member to move
  • handler – Handler for the result of this call.
Returns:
/** * Move a member from one set to another * @param key Key of source set currently containing the member * @param destkey Key identifying the destination set * @param member Member to move * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction smove(String key, String destkey, String member, Handler<AsyncResult<String>> handler) { delegate.smove(key, destkey, member, handler); return this; }
Move a member from one set to another
Params:
  • key – Key of source set currently containing the member
  • destkey – Key identifying the destination set
  • member – Member to move
Returns:
Deprecated:use rxSmove instead
/** * Move a member from one set to another * @param key Key of source set currently containing the member * @param destkey Key identifying the destination set * @param member Member to move * @return * @deprecated use {@link #rxSmove} instead */
@Deprecated() public Observable<String> smoveObservable(String key, String destkey, String member) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); smove(key, destkey, member, handler.toHandler()); return handler; }
Move a member from one set to another
Params:
  • key – Key of source set currently containing the member
  • destkey – Key identifying the destination set
  • member – Member to move
Returns:
/** * Move a member from one set to another * @param key Key of source set currently containing the member * @param destkey Key identifying the destination set * @param member Member to move * @return */
public Single<String> rxSmove(String key, String destkey, String member) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { smove(key, destkey, member, fut); })); }
Sort the elements in a list, set or sorted set
Params:
  • key – Key string
  • options – Sort options
  • handler – Handler for the result of this call.
Returns:
/** * Sort the elements in a list, set or sorted set * @param key Key string * @param options Sort options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction sort(String key, SortOptions options, Handler<AsyncResult<String>> handler) { delegate.sort(key, options, handler); return this; }
Sort the elements in a list, set or sorted set
Params:
  • key – Key string
  • options – Sort options
Returns:
Deprecated:use rxSort instead
/** * Sort the elements in a list, set or sorted set * @param key Key string * @param options Sort options * @return * @deprecated use {@link #rxSort} instead */
@Deprecated() public Observable<String> sortObservable(String key, SortOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); sort(key, options, handler.toHandler()); return handler; }
Sort the elements in a list, set or sorted set
Params:
  • key – Key string
  • options – Sort options
Returns:
/** * Sort the elements in a list, set or sorted set * @param key Key string * @param options Sort options * @return */
public Single<String> rxSort(String key, SortOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { sort(key, options, fut); })); }
Remove and return a random member from a set
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Remove and return a random member from a set * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction spop(String key, Handler<AsyncResult<String>> handler) { delegate.spop(key, handler); return this; }
Remove and return a random member from a set
Params:
  • key – Key string
Returns:
Deprecated:use rxSpop instead
/** * Remove and return a random member from a set * @param key Key string * @return * @deprecated use {@link #rxSpop} instead */
@Deprecated() public Observable<String> spopObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); spop(key, handler.toHandler()); return handler; }
Remove and return a random member from a set
Params:
  • key – Key string
Returns:
/** * Remove and return a random member from a set * @param key Key string * @return */
public Single<String> rxSpop(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { spop(key, fut); })); }
Remove and return random members from a set
Params:
  • key – Key string
  • count – Number of members to remove
  • handler – Handler for the result of this call.
Returns:
/** * Remove and return random members from a set * @param key Key string * @param count Number of members to remove * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction spopMany(String key, int count, Handler<AsyncResult<String>> handler) { delegate.spopMany(key, count, handler); return this; }
Remove and return random members from a set
Params:
  • key – Key string
  • count – Number of members to remove
Returns:
Deprecated:use rxSpopMany instead
/** * Remove and return random members from a set * @param key Key string * @param count Number of members to remove * @return * @deprecated use {@link #rxSpopMany} instead */
@Deprecated() public Observable<String> spopManyObservable(String key, int count) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); spopMany(key, count, handler.toHandler()); return handler; }
Remove and return random members from a set
Params:
  • key – Key string
  • count – Number of members to remove
Returns:
/** * Remove and return random members from a set * @param key Key string * @param count Number of members to remove * @return */
public Single<String> rxSpopMany(String key, int count) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { spopMany(key, count, fut); })); }
Get one or multiple random members from a set
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get one or multiple random members from a set * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction srandmember(String key, Handler<AsyncResult<String>> handler) { delegate.srandmember(key, handler); return this; }
Get one or multiple random members from a set
Params:
  • key – Key string
Returns:
Deprecated:use rxSrandmember instead
/** * Get one or multiple random members from a set * @param key Key string * @return * @deprecated use {@link #rxSrandmember} instead */
@Deprecated() public Observable<String> srandmemberObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); srandmember(key, handler.toHandler()); return handler; }
Get one or multiple random members from a set
Params:
  • key – Key string
Returns:
/** * Get one or multiple random members from a set * @param key Key string * @return */
public Single<String> rxSrandmember(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { srandmember(key, fut); })); }
Get one or multiple random members from a set
Params:
  • key – Key string
  • count – Number of members to get
  • handler – Handler for the result of this call.
Returns:
/** * Get one or multiple random members from a set * @param key Key string * @param count Number of members to get * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction srandmemberCount(String key, int count, Handler<AsyncResult<String>> handler) { delegate.srandmemberCount(key, count, handler); return this; }
Get one or multiple random members from a set
Params:
  • key – Key string
  • count – Number of members to get
Returns:
Deprecated:use rxSrandmemberCount instead
/** * Get one or multiple random members from a set * @param key Key string * @param count Number of members to get * @return * @deprecated use {@link #rxSrandmemberCount} instead */
@Deprecated() public Observable<String> srandmemberCountObservable(String key, int count) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); srandmemberCount(key, count, handler.toHandler()); return handler; }
Get one or multiple random members from a set
Params:
  • key – Key string
  • count – Number of members to get
Returns:
/** * Get one or multiple random members from a set * @param key Key string * @param count Number of members to get * @return */
public Single<String> rxSrandmemberCount(String key, int count) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { srandmemberCount(key, count, fut); })); }
Remove one member from a set
Params:
  • key – Key string
  • member – Member to remove
  • handler – Handler for the result of this call.
Returns:
/** * Remove one member from a set * @param key Key string * @param member Member to remove * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction srem(String key, String member, Handler<AsyncResult<String>> handler) { delegate.srem(key, member, handler); return this; }
Remove one member from a set
Params:
  • key – Key string
  • member – Member to remove
Returns:
Deprecated:use rxSrem instead
/** * Remove one member from a set * @param key Key string * @param member Member to remove * @return * @deprecated use {@link #rxSrem} instead */
@Deprecated() public Observable<String> sremObservable(String key, String member) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); srem(key, member, handler.toHandler()); return handler; }
Remove one member from a set
Params:
  • key – Key string
  • member – Member to remove
Returns:
/** * Remove one member from a set * @param key Key string * @param member Member to remove * @return */
public Single<String> rxSrem(String key, String member) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { srem(key, member, fut); })); }
Remove one or more members from a set
Params:
  • key – Key string
  • members – Members to remove
  • handler – Handler for the result of this call.
Returns:
/** * Remove one or more members from a set * @param key Key string * @param members Members to remove * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction sremMany(String key, List<String> members, Handler<AsyncResult<String>> handler) { delegate.sremMany(key, members, handler); return this; }
Remove one or more members from a set
Params:
  • key – Key string
  • members – Members to remove
Returns:
Deprecated:use rxSremMany instead
/** * Remove one or more members from a set * @param key Key string * @param members Members to remove * @return * @deprecated use {@link #rxSremMany} instead */
@Deprecated() public Observable<String> sremManyObservable(String key, List<String> members) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); sremMany(key, members, handler.toHandler()); return handler; }
Remove one or more members from a set
Params:
  • key – Key string
  • members – Members to remove
Returns:
/** * Remove one or more members from a set * @param key Key string * @param members Members to remove * @return */
public Single<String> rxSremMany(String key, List<String> members) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { sremMany(key, members, fut); })); }
Get the length of the value stored in a key
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get the length of the value stored in a key * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction strlen(String key, Handler<AsyncResult<String>> handler) { delegate.strlen(key, handler); return this; }
Get the length of the value stored in a key
Params:
  • key – Key string
Returns:
Deprecated:use rxStrlen instead
/** * Get the length of the value stored in a key * @param key Key string * @return * @deprecated use {@link #rxStrlen} instead */
@Deprecated() public Observable<String> strlenObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); strlen(key, handler.toHandler()); return handler; }
Get the length of the value stored in a key
Params:
  • key – Key string
Returns:
/** * Get the length of the value stored in a key * @param key Key string * @return */
public Single<String> rxStrlen(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { strlen(key, fut); })); }
Listen for messages published to the given channels
Params:
  • channel – Channel to subscribe to
  • handler – Handler for the result of this call.
Returns:
/** * Listen for messages published to the given channels * @param channel Channel to subscribe to * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction subscribe(String channel, Handler<AsyncResult<String>> handler) { delegate.subscribe(channel, handler); return this; }
Listen for messages published to the given channels
Params:
  • channel – Channel to subscribe to
Returns:
Deprecated:use rxSubscribe instead
/** * Listen for messages published to the given channels * @param channel Channel to subscribe to * @return * @deprecated use {@link #rxSubscribe} instead */
@Deprecated() public Observable<String> subscribeObservable(String channel) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); subscribe(channel, handler.toHandler()); return handler; }
Listen for messages published to the given channels
Params:
  • channel – Channel to subscribe to
Returns:
/** * Listen for messages published to the given channels * @param channel Channel to subscribe to * @return */
public Single<String> rxSubscribe(String channel) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { subscribe(channel, fut); })); }
Listen for messages published to the given channels
Params:
  • channels – List of channels to subscribe to
  • handler – Handler for the result of this call.
Returns:
/** * Listen for messages published to the given channels * @param channels List of channels to subscribe to * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction subscribeMany(List<String> channels, Handler<AsyncResult<String>> handler) { delegate.subscribeMany(channels, handler); return this; }
Listen for messages published to the given channels
Params:
  • channels – List of channels to subscribe to
Returns:
Deprecated:use rxSubscribeMany instead
/** * Listen for messages published to the given channels * @param channels List of channels to subscribe to * @return * @deprecated use {@link #rxSubscribeMany} instead */
@Deprecated() public Observable<String> subscribeManyObservable(List<String> channels) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); subscribeMany(channels, handler.toHandler()); return handler; }
Listen for messages published to the given channels
Params:
  • channels – List of channels to subscribe to
Returns:
/** * Listen for messages published to the given channels * @param channels List of channels to subscribe to * @return */
public Single<String> rxSubscribeMany(List<String> channels) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { subscribeMany(channels, fut); })); }
Add multiple sets
Params:
  • keys – List of keys identifying sets to add up
  • handler – Handler for the result of this call.
Returns:
/** * Add multiple sets * @param keys List of keys identifying sets to add up * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction sunion(List<String> keys, Handler<AsyncResult<String>> handler) { delegate.sunion(keys, handler); return this; }
Add multiple sets
Params:
  • keys – List of keys identifying sets to add up
Returns:
Deprecated:use rxSunion instead
/** * Add multiple sets * @param keys List of keys identifying sets to add up * @return * @deprecated use {@link #rxSunion} instead */
@Deprecated() public Observable<String> sunionObservable(List<String> keys) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); sunion(keys, handler.toHandler()); return handler; }
Add multiple sets
Params:
  • keys – List of keys identifying sets to add up
Returns:
/** * Add multiple sets * @param keys List of keys identifying sets to add up * @return */
public Single<String> rxSunion(List<String> keys) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { sunion(keys, fut); })); }
Add multiple sets and store the resulting set in a key
Params:
  • destkey – Destination key
  • keys – List of keys identifying sets to add up
  • handler – Handler for the result of this call.
Returns:
/** * Add multiple sets and store the resulting set in a key * @param destkey Destination key * @param keys List of keys identifying sets to add up * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction sunionstore(String destkey, List<String> keys, Handler<AsyncResult<String>> handler) { delegate.sunionstore(destkey, keys, handler); return this; }
Add multiple sets and store the resulting set in a key
Params:
  • destkey – Destination key
  • keys – List of keys identifying sets to add up
Returns:
Deprecated:use rxSunionstore instead
/** * Add multiple sets and store the resulting set in a key * @param destkey Destination key * @param keys List of keys identifying sets to add up * @return * @deprecated use {@link #rxSunionstore} instead */
@Deprecated() public Observable<String> sunionstoreObservable(String destkey, List<String> keys) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); sunionstore(destkey, keys, handler.toHandler()); return handler; }
Add multiple sets and store the resulting set in a key
Params:
  • destkey – Destination key
  • keys – List of keys identifying sets to add up
Returns:
/** * Add multiple sets and store the resulting set in a key * @param destkey Destination key * @param keys List of keys identifying sets to add up * @return */
public Single<String> rxSunionstore(String destkey, List<String> keys) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { sunionstore(destkey, keys, fut); })); }
Internal command used for replication
Params:
  • handler –
Returns:
/** * Internal command used for replication * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction sync(Handler<AsyncResult<String>> handler) { delegate.sync(handler); return this; }
Internal command used for replication
Returns:
Deprecated:use rxSync instead
/** * Internal command used for replication * @return * @deprecated use {@link #rxSync} instead */
@Deprecated() public Observable<String> syncObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); sync(handler.toHandler()); return handler; }
Internal command used for replication
Returns:
/** * Internal command used for replication * @return */
public Single<String> rxSync() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { sync(fut); })); }
Return the current server time
Params:
  • handler –
Returns:
/** * Return the current server time * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction time(Handler<AsyncResult<String>> handler) { delegate.time(handler); return this; }
Return the current server time
Returns:
Deprecated:use rxTime instead
/** * Return the current server time * @return * @deprecated use {@link #rxTime} instead */
@Deprecated() public Observable<String> timeObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); time(handler.toHandler()); return handler; }
Return the current server time
Returns:
/** * Return the current server time * @return */
public Single<String> rxTime() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { time(fut); })); }
Get the time to live for a key
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get the time to live for a key * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction ttl(String key, Handler<AsyncResult<String>> handler) { delegate.ttl(key, handler); return this; }
Get the time to live for a key
Params:
  • key – Key string
Returns:
Deprecated:use rxTtl instead
/** * Get the time to live for a key * @param key Key string * @return * @deprecated use {@link #rxTtl} instead */
@Deprecated() public Observable<String> ttlObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); ttl(key, handler.toHandler()); return handler; }
Get the time to live for a key
Params:
  • key – Key string
Returns:
/** * Get the time to live for a key * @param key Key string * @return */
public Single<String> rxTtl(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { ttl(key, fut); })); }
Determine the type stored at key
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Determine the type stored at key * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction type(String key, Handler<AsyncResult<String>> handler) { delegate.type(key, handler); return this; }
Determine the type stored at key
Params:
  • key – Key string
Returns:
Deprecated:use rxType instead
/** * Determine the type stored at key * @param key Key string * @return * @deprecated use {@link #rxType} instead */
@Deprecated() public Observable<String> typeObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); type(key, handler.toHandler()); return handler; }
Determine the type stored at key
Params:
  • key – Key string
Returns:
/** * Determine the type stored at key * @param key Key string * @return */
public Single<String> rxType(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { type(key, fut); })); }
Stop listening for messages posted to the given channels
Params:
  • channels – List of channels to subscribe to
  • handler – Handler for the result of this call.
Returns:
/** * Stop listening for messages posted to the given channels * @param channels List of channels to subscribe to * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction unsubscribe(List<String> channels, Handler<AsyncResult<String>> handler) { delegate.unsubscribe(channels, handler); return this; }
Stop listening for messages posted to the given channels
Params:
  • channels – List of channels to subscribe to
Returns:
Deprecated:use rxUnsubscribe instead
/** * Stop listening for messages posted to the given channels * @param channels List of channels to subscribe to * @return * @deprecated use {@link #rxUnsubscribe} instead */
@Deprecated() public Observable<String> unsubscribeObservable(List<String> channels) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); unsubscribe(channels, handler.toHandler()); return handler; }
Stop listening for messages posted to the given channels
Params:
  • channels – List of channels to subscribe to
Returns:
/** * Stop listening for messages posted to the given channels * @param channels List of channels to subscribe to * @return */
public Single<String> rxUnsubscribe(List<String> channels) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { unsubscribe(channels, fut); })); }
Forget about all watched keys
Params:
  • handler –
Returns:
/** * Forget about all watched keys * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction unwatch(Handler<AsyncResult<String>> handler) { delegate.unwatch(handler); return this; }
Forget about all watched keys
Returns:
Deprecated:use rxUnwatch instead
/** * Forget about all watched keys * @return * @deprecated use {@link #rxUnwatch} instead */
@Deprecated() public Observable<String> unwatchObservable() { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); unwatch(handler.toHandler()); return handler; }
Forget about all watched keys
Returns:
/** * Forget about all watched keys * @return */
public Single<String> rxUnwatch() { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { unwatch(fut); })); }
Wait for the synchronous replication of all the write commands sent in the context of the current connection.
Params:
  • numSlaves –
  • timeout –
  • handler – Handler for the result of this call.
Returns:
/** * Wait for the synchronous replication of all the write commands sent in the context of the current connection. * @param numSlaves * @param timeout * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction wait(long numSlaves, long timeout, Handler<AsyncResult<String>> handler) { delegate.wait(numSlaves, timeout, handler); return this; }
Wait for the synchronous replication of all the write commands sent in the context of the current connection.
Params:
  • numSlaves –
  • timeout –
Returns:
Deprecated:use rxWait instead
/** * Wait for the synchronous replication of all the write commands sent in the context of the current connection. * @param numSlaves * @param timeout * @return * @deprecated use {@link #rxWait} instead */
@Deprecated() public Observable<String> waitObservable(long numSlaves, long timeout) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); wait(numSlaves, timeout, handler.toHandler()); return handler; }
Wait for the synchronous replication of all the write commands sent in the context of the current connection.
Params:
  • numSlaves –
  • timeout –
Returns:
/** * Wait for the synchronous replication of all the write commands sent in the context of the current connection. * @param numSlaves * @param timeout * @return */
public Single<String> rxWait(long numSlaves, long timeout) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { wait(numSlaves, timeout, fut); })); }
Watch the given keys to determine execution of the MULTI/EXEC block
Params:
  • key – Key to watch
  • handler – Handler for the result of this call.
Returns:
/** * Watch the given keys to determine execution of the MULTI/EXEC block * @param key Key to watch * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction watch(String key, Handler<AsyncResult<String>> handler) { delegate.watch(key, handler); return this; }
Watch the given keys to determine execution of the MULTI/EXEC block
Params:
  • key – Key to watch
Returns:
Deprecated:use rxWatch instead
/** * Watch the given keys to determine execution of the MULTI/EXEC block * @param key Key to watch * @return * @deprecated use {@link #rxWatch} instead */
@Deprecated() public Observable<String> watchObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); watch(key, handler.toHandler()); return handler; }
Watch the given keys to determine execution of the MULTI/EXEC block
Params:
  • key – Key to watch
Returns:
/** * Watch the given keys to determine execution of the MULTI/EXEC block * @param key Key to watch * @return */
public Single<String> rxWatch(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { watch(key, fut); })); }
Watch the given keys to determine execution of the MULTI/EXEC block
Params:
  • keys – List of keys to watch
  • handler – Handler for the result of this call.
Returns:
/** * Watch the given keys to determine execution of the MULTI/EXEC block * @param keys List of keys to watch * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction watchMany(List<String> keys, Handler<AsyncResult<String>> handler) { delegate.watchMany(keys, handler); return this; }
Watch the given keys to determine execution of the MULTI/EXEC block
Params:
  • keys – List of keys to watch
Returns:
Deprecated:use rxWatchMany instead
/** * Watch the given keys to determine execution of the MULTI/EXEC block * @param keys List of keys to watch * @return * @deprecated use {@link #rxWatchMany} instead */
@Deprecated() public Observable<String> watchManyObservable(List<String> keys) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); watchMany(keys, handler.toHandler()); return handler; }
Watch the given keys to determine execution of the MULTI/EXEC block
Params:
  • keys – List of keys to watch
Returns:
/** * Watch the given keys to determine execution of the MULTI/EXEC block * @param keys List of keys to watch * @return */
public Single<String> rxWatchMany(List<String> keys) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { watchMany(keys, fut); })); }
Add one or more members to a sorted set, or update its score if it already exists
Params:
  • key – Key string
  • score – Score used for sorting
  • member – New member key
  • handler – Handler for the result of this call.
Returns:
/** * Add one or more members to a sorted set, or update its score if it already exists * @param key Key string * @param score Score used for sorting * @param member New member key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zadd(String key, double score, String member, Handler<AsyncResult<String>> handler) { delegate.zadd(key, score, member, handler); return this; }
Add one or more members to a sorted set, or update its score if it already exists
Params:
  • key – Key string
  • score – Score used for sorting
  • member – New member key
Returns:
Deprecated:use rxZadd instead
/** * Add one or more members to a sorted set, or update its score if it already exists * @param key Key string * @param score Score used for sorting * @param member New member key * @return * @deprecated use {@link #rxZadd} instead */
@Deprecated() public Observable<String> zaddObservable(String key, double score, String member) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zadd(key, score, member, handler.toHandler()); return handler; }
Add one or more members to a sorted set, or update its score if it already exists
Params:
  • key – Key string
  • score – Score used for sorting
  • member – New member key
Returns:
/** * Add one or more members to a sorted set, or update its score if it already exists * @param key Key string * @param score Score used for sorting * @param member New member key * @return */
public Single<String> rxZadd(String key, double score, String member) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zadd(key, score, member, fut); })); }
Add one or more members to a sorted set, or update its score if it already exists
Params:
  • key – Key string
  • members – New member keys and their scores
  • handler – Handler for the result of this call.
Returns:
/** * Add one or more members to a sorted set, or update its score if it already exists * @param key Key string * @param members New member keys and their scores * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zaddMany(String key, Map<String, Double> members, Handler<AsyncResult<String>> handler) { delegate.zaddMany(key, members, handler); return this; }
Add one or more members to a sorted set, or update its score if it already exists
Params:
  • key – Key string
  • members – New member keys and their scores
Returns:
Deprecated:use rxZaddMany instead
/** * Add one or more members to a sorted set, or update its score if it already exists * @param key Key string * @param members New member keys and their scores * @return * @deprecated use {@link #rxZaddMany} instead */
@Deprecated() public Observable<String> zaddManyObservable(String key, Map<String, Double> members) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zaddMany(key, members, handler.toHandler()); return handler; }
Add one or more members to a sorted set, or update its score if it already exists
Params:
  • key – Key string
  • members – New member keys and their scores
Returns:
/** * Add one or more members to a sorted set, or update its score if it already exists * @param key Key string * @param members New member keys and their scores * @return */
public Single<String> rxZaddMany(String key, Map<String, Double> members) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zaddMany(key, members, fut); })); }
Get the number of members in a sorted set
Params:
  • key – Key string
  • handler – Handler for the result of this call.
Returns:
/** * Get the number of members in a sorted set * @param key Key string * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zcard(String key, Handler<AsyncResult<String>> handler) { delegate.zcard(key, handler); return this; }
Get the number of members in a sorted set
Params:
  • key – Key string
Returns:
Deprecated:use rxZcard instead
/** * Get the number of members in a sorted set * @param key Key string * @return * @deprecated use {@link #rxZcard} instead */
@Deprecated() public Observable<String> zcardObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zcard(key, handler.toHandler()); return handler; }
Get the number of members in a sorted set
Params:
  • key – Key string
Returns:
/** * Get the number of members in a sorted set * @param key Key string * @return */
public Single<String> rxZcard(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zcard(key, fut); })); }
Count the members in a sorted set with scores within the given values
Params:
  • key – Key string
  • min – Minimum score
  • max – Maximum score
  • handler – Handler for the result of this call.
Returns:
/** * Count the members in a sorted set with scores within the given values * @param key Key string * @param min Minimum score * @param max Maximum score * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zcount(String key, double min, double max, Handler<AsyncResult<String>> handler) { delegate.zcount(key, min, max, handler); return this; }
Count the members in a sorted set with scores within the given values
Params:
  • key – Key string
  • min – Minimum score
  • max – Maximum score
Returns:
Deprecated:use rxZcount instead
/** * Count the members in a sorted set with scores within the given values * @param key Key string * @param min Minimum score * @param max Maximum score * @return * @deprecated use {@link #rxZcount} instead */
@Deprecated() public Observable<String> zcountObservable(String key, double min, double max) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zcount(key, min, max, handler.toHandler()); return handler; }
Count the members in a sorted set with scores within the given values
Params:
  • key – Key string
  • min – Minimum score
  • max – Maximum score
Returns:
/** * Count the members in a sorted set with scores within the given values * @param key Key string * @param min Minimum score * @param max Maximum score * @return */
public Single<String> rxZcount(String key, double min, double max) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zcount(key, min, max, fut); })); }
Increment the score of a member in a sorted set
Params:
  • key – Key string
  • increment – Increment amount
  • member – Member key
  • handler – Handler for the result of this call.
Returns:
/** * Increment the score of a member in a sorted set * @param key Key string * @param increment Increment amount * @param member Member key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zincrby(String key, double increment, String member, Handler<AsyncResult<String>> handler) { delegate.zincrby(key, increment, member, handler); return this; }
Increment the score of a member in a sorted set
Params:
  • key – Key string
  • increment – Increment amount
  • member – Member key
Returns:
Deprecated:use rxZincrby instead
/** * Increment the score of a member in a sorted set * @param key Key string * @param increment Increment amount * @param member Member key * @return * @deprecated use {@link #rxZincrby} instead */
@Deprecated() public Observable<String> zincrbyObservable(String key, double increment, String member) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zincrby(key, increment, member, handler.toHandler()); return handler; }
Increment the score of a member in a sorted set
Params:
  • key – Key string
  • increment – Increment amount
  • member – Member key
Returns:
/** * Increment the score of a member in a sorted set * @param key Key string * @param increment Increment amount * @param member Member key * @return */
public Single<String> rxZincrby(String key, double increment, String member) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zincrby(key, increment, member, fut); })); }
Intersect multiple sorted sets and store the resulting sorted set in a new key
Params:
  • destkey – Destination key
  • sets – List of keys identifying sorted sets to intersect
  • options – Aggregation options
  • handler – Handler for the result of this call.
Returns:
/** * Intersect multiple sorted sets and store the resulting sorted set in a new key * @param destkey Destination key * @param sets List of keys identifying sorted sets to intersect * @param options Aggregation options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zinterstore(String destkey, List<String> sets, AggregateOptions options, Handler<AsyncResult<String>> handler) { delegate.zinterstore(destkey, sets, options, handler); return this; }
Intersect multiple sorted sets and store the resulting sorted set in a new key
Params:
  • destkey – Destination key
  • sets – List of keys identifying sorted sets to intersect
  • options – Aggregation options
Returns:
Deprecated:use rxZinterstore instead
/** * Intersect multiple sorted sets and store the resulting sorted set in a new key * @param destkey Destination key * @param sets List of keys identifying sorted sets to intersect * @param options Aggregation options * @return * @deprecated use {@link #rxZinterstore} instead */
@Deprecated() public Observable<String> zinterstoreObservable(String destkey, List<String> sets, AggregateOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zinterstore(destkey, sets, options, handler.toHandler()); return handler; }
Intersect multiple sorted sets and store the resulting sorted set in a new key
Params:
  • destkey – Destination key
  • sets – List of keys identifying sorted sets to intersect
  • options – Aggregation options
Returns:
/** * Intersect multiple sorted sets and store the resulting sorted set in a new key * @param destkey Destination key * @param sets List of keys identifying sorted sets to intersect * @param options Aggregation options * @return */
public Single<String> rxZinterstore(String destkey, List<String> sets, AggregateOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zinterstore(destkey, sets, options, fut); })); }
Intersect multiple sorted sets and store the resulting sorted set in a new key using weights for scoring
Params:
  • destkey – Destination key
  • sets – List of keys identifying sorted sets to intersect
  • options – Aggregation options
  • handler – Handler for the result of this call.
Returns:
/** * Intersect multiple sorted sets and store the resulting sorted set in a new key using weights for scoring * @param destkey Destination key * @param sets List of keys identifying sorted sets to intersect * @param options Aggregation options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zinterstoreWeighed(String destkey, Map<String, Double> sets, AggregateOptions options, Handler<AsyncResult<String>> handler) { delegate.zinterstoreWeighed(destkey, sets, options, handler); return this; }
Intersect multiple sorted sets and store the resulting sorted set in a new key using weights for scoring
Params:
  • destkey – Destination key
  • sets – List of keys identifying sorted sets to intersect
  • options – Aggregation options
Returns:
Deprecated:use rxZinterstoreWeighed instead
/** * Intersect multiple sorted sets and store the resulting sorted set in a new key using weights for scoring * @param destkey Destination key * @param sets List of keys identifying sorted sets to intersect * @param options Aggregation options * @return * @deprecated use {@link #rxZinterstoreWeighed} instead */
@Deprecated() public Observable<String> zinterstoreWeighedObservable(String destkey, Map<String, Double> sets, AggregateOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zinterstoreWeighed(destkey, sets, options, handler.toHandler()); return handler; }
Intersect multiple sorted sets and store the resulting sorted set in a new key using weights for scoring
Params:
  • destkey – Destination key
  • sets – List of keys identifying sorted sets to intersect
  • options – Aggregation options
Returns:
/** * Intersect multiple sorted sets and store the resulting sorted set in a new key using weights for scoring * @param destkey Destination key * @param sets List of keys identifying sorted sets to intersect * @param options Aggregation options * @return */
public Single<String> rxZinterstoreWeighed(String destkey, Map<String, Double> sets, AggregateOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zinterstoreWeighed(destkey, sets, options, fut); })); }
Count the number of members in a sorted set between a given lexicographical range
Params:
  • key – Key string
  • min – Pattern to compare against for minimum value
  • max – Pattern to compare against for maximum value
  • handler – Handler for the result of this call.
Returns:
/** * Count the number of members in a sorted set between a given lexicographical range * @param key Key string * @param min Pattern to compare against for minimum value * @param max Pattern to compare against for maximum value * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zlexcount(String key, String min, String max, Handler<AsyncResult<String>> handler) { delegate.zlexcount(key, min, max, handler); return this; }
Count the number of members in a sorted set between a given lexicographical range
Params:
  • key – Key string
  • min – Pattern to compare against for minimum value
  • max – Pattern to compare against for maximum value
Returns:
Deprecated:use rxZlexcount instead
/** * Count the number of members in a sorted set between a given lexicographical range * @param key Key string * @param min Pattern to compare against for minimum value * @param max Pattern to compare against for maximum value * @return * @deprecated use {@link #rxZlexcount} instead */
@Deprecated() public Observable<String> zlexcountObservable(String key, String min, String max) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zlexcount(key, min, max, handler.toHandler()); return handler; }
Count the number of members in a sorted set between a given lexicographical range
Params:
  • key – Key string
  • min – Pattern to compare against for minimum value
  • max – Pattern to compare against for maximum value
Returns:
/** * Count the number of members in a sorted set between a given lexicographical range * @param key Key string * @param min Pattern to compare against for minimum value * @param max Pattern to compare against for maximum value * @return */
public Single<String> rxZlexcount(String key, String min, String max) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zlexcount(key, min, max, fut); })); }
Return a range of members in a sorted set, by index
Params:
  • key – Key string
  • start – Start index for the range
  • stop – Stop index for the range - inclusive
  • handler – Handler for the result of this call.
Returns:
/** * Return a range of members in a sorted set, by index * @param key Key string * @param start Start index for the range * @param stop Stop index for the range - inclusive * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zrange(String key, long start, long stop, Handler<AsyncResult<String>> handler) { delegate.zrange(key, start, stop, handler); return this; }
Return a range of members in a sorted set, by index
Params:
  • key – Key string
  • start – Start index for the range
  • stop – Stop index for the range - inclusive
Returns:
Deprecated:use rxZrange instead
/** * Return a range of members in a sorted set, by index * @param key Key string * @param start Start index for the range * @param stop Stop index for the range - inclusive * @return * @deprecated use {@link #rxZrange} instead */
@Deprecated() public Observable<String> zrangeObservable(String key, long start, long stop) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zrange(key, start, stop, handler.toHandler()); return handler; }
Return a range of members in a sorted set, by index
Params:
  • key – Key string
  • start – Start index for the range
  • stop – Stop index for the range - inclusive
Returns:
/** * Return a range of members in a sorted set, by index * @param key Key string * @param start Start index for the range * @param stop Stop index for the range - inclusive * @return */
public Single<String> rxZrange(String key, long start, long stop) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zrange(key, start, stop, fut); })); }
Return a range of members in a sorted set, by index
Params:
  • key – Key string
  • start – Start index for the range
  • stop – Stop index for the range - inclusive
  • options – Range options
  • handler – Handler for the result of this call.
Returns:
/** * Return a range of members in a sorted set, by index * @param key Key string * @param start Start index for the range * @param stop Stop index for the range - inclusive * @param options Range options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zrangeWithOptions(String key, long start, long stop, RangeOptions options, Handler<AsyncResult<String>> handler) { delegate.zrangeWithOptions(key, start, stop, options, handler); return this; }
Return a range of members in a sorted set, by index
Params:
  • key – Key string
  • start – Start index for the range
  • stop – Stop index for the range - inclusive
  • options – Range options
Returns:
Deprecated:use rxZrangeWithOptions instead
/** * Return a range of members in a sorted set, by index * @param key Key string * @param start Start index for the range * @param stop Stop index for the range - inclusive * @param options Range options * @return * @deprecated use {@link #rxZrangeWithOptions} instead */
@Deprecated() public Observable<String> zrangeWithOptionsObservable(String key, long start, long stop, RangeOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zrangeWithOptions(key, start, stop, options, handler.toHandler()); return handler; }
Return a range of members in a sorted set, by index
Params:
  • key – Key string
  • start – Start index for the range
  • stop – Stop index for the range - inclusive
  • options – Range options
Returns:
/** * Return a range of members in a sorted set, by index * @param key Key string * @param start Start index for the range * @param stop Stop index for the range - inclusive * @param options Range options * @return */
public Single<String> rxZrangeWithOptions(String key, long start, long stop, RangeOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zrangeWithOptions(key, start, stop, options, fut); })); }
Return a range of members in a sorted set, by lexicographical range
Params:
  • key – Key string
  • min – Pattern representing a minimum allowed value
  • max – Pattern representing a maximum allowed value
  • options – Limit options where limit can be specified
  • handler – Handler for the result of this call.
Returns:
/** * Return a range of members in a sorted set, by lexicographical range * @param key Key string * @param min Pattern representing a minimum allowed value * @param max Pattern representing a maximum allowed value * @param options Limit options where limit can be specified * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zrangebylex(String key, String min, String max, LimitOptions options, Handler<AsyncResult<String>> handler) { delegate.zrangebylex(key, min, max, options, handler); return this; }
Return a range of members in a sorted set, by lexicographical range
Params:
  • key – Key string
  • min – Pattern representing a minimum allowed value
  • max – Pattern representing a maximum allowed value
  • options – Limit options where limit can be specified
Returns:
Deprecated:use rxZrangebylex instead
/** * Return a range of members in a sorted set, by lexicographical range * @param key Key string * @param min Pattern representing a minimum allowed value * @param max Pattern representing a maximum allowed value * @param options Limit options where limit can be specified * @return * @deprecated use {@link #rxZrangebylex} instead */
@Deprecated() public Observable<String> zrangebylexObservable(String key, String min, String max, LimitOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zrangebylex(key, min, max, options, handler.toHandler()); return handler; }
Return a range of members in a sorted set, by lexicographical range
Params:
  • key – Key string
  • min – Pattern representing a minimum allowed value
  • max – Pattern representing a maximum allowed value
  • options – Limit options where limit can be specified
Returns:
/** * Return a range of members in a sorted set, by lexicographical range * @param key Key string * @param min Pattern representing a minimum allowed value * @param max Pattern representing a maximum allowed value * @param options Limit options where limit can be specified * @return */
public Single<String> rxZrangebylex(String key, String min, String max, LimitOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zrangebylex(key, min, max, options, fut); })); }
Return a range of members in a sorted set, by score
Params:
  • key – Key string
  • min – Pattern defining a minimum value
  • max – Pattern defining a maximum value
  • options – Range and limit options
  • handler – Handler for the result of this call.
Returns:
/** * Return a range of members in a sorted set, by score * @param key Key string * @param min Pattern defining a minimum value * @param max Pattern defining a maximum value * @param options Range and limit options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zrangebyscore(String key, String min, String max, RangeLimitOptions options, Handler<AsyncResult<String>> handler) { delegate.zrangebyscore(key, min, max, options, handler); return this; }
Return a range of members in a sorted set, by score
Params:
  • key – Key string
  • min – Pattern defining a minimum value
  • max – Pattern defining a maximum value
  • options – Range and limit options
Returns:
Deprecated:use rxZrangebyscore instead
/** * Return a range of members in a sorted set, by score * @param key Key string * @param min Pattern defining a minimum value * @param max Pattern defining a maximum value * @param options Range and limit options * @return * @deprecated use {@link #rxZrangebyscore} instead */
@Deprecated() public Observable<String> zrangebyscoreObservable(String key, String min, String max, RangeLimitOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zrangebyscore(key, min, max, options, handler.toHandler()); return handler; }
Return a range of members in a sorted set, by score
Params:
  • key – Key string
  • min – Pattern defining a minimum value
  • max – Pattern defining a maximum value
  • options – Range and limit options
Returns:
/** * Return a range of members in a sorted set, by score * @param key Key string * @param min Pattern defining a minimum value * @param max Pattern defining a maximum value * @param options Range and limit options * @return */
public Single<String> rxZrangebyscore(String key, String min, String max, RangeLimitOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zrangebyscore(key, min, max, options, fut); })); }
Determine the index of a member in a sorted set
Params:
  • key – Key string
  • member – Member in the sorted set identified by key
  • handler – Handler for the result of this call.
Returns:
/** * Determine the index of a member in a sorted set * @param key Key string * @param member Member in the sorted set identified by key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zrank(String key, String member, Handler<AsyncResult<String>> handler) { delegate.zrank(key, member, handler); return this; }
Determine the index of a member in a sorted set
Params:
  • key – Key string
  • member – Member in the sorted set identified by key
Returns:
Deprecated:use rxZrank instead
/** * Determine the index of a member in a sorted set * @param key Key string * @param member Member in the sorted set identified by key * @return * @deprecated use {@link #rxZrank} instead */
@Deprecated() public Observable<String> zrankObservable(String key, String member) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zrank(key, member, handler.toHandler()); return handler; }
Determine the index of a member in a sorted set
Params:
  • key – Key string
  • member – Member in the sorted set identified by key
Returns:
/** * Determine the index of a member in a sorted set * @param key Key string * @param member Member in the sorted set identified by key * @return */
public Single<String> rxZrank(String key, String member) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zrank(key, member, fut); })); }
Remove one member from a sorted set
Params:
  • key – Key string
  • member – Member in the sorted set identified by key
  • handler – Handler for the result of this call.
Returns:
/** * Remove one member from a sorted set * @param key Key string * @param member Member in the sorted set identified by key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zrem(String key, String member, Handler<AsyncResult<String>> handler) { delegate.zrem(key, member, handler); return this; }
Remove one member from a sorted set
Params:
  • key – Key string
  • member – Member in the sorted set identified by key
Returns:
Deprecated:use rxZrem instead
/** * Remove one member from a sorted set * @param key Key string * @param member Member in the sorted set identified by key * @return * @deprecated use {@link #rxZrem} instead */
@Deprecated() public Observable<String> zremObservable(String key, String member) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zrem(key, member, handler.toHandler()); return handler; }
Remove one member from a sorted set
Params:
  • key – Key string
  • member – Member in the sorted set identified by key
Returns:
/** * Remove one member from a sorted set * @param key Key string * @param member Member in the sorted set identified by key * @return */
public Single<String> rxZrem(String key, String member) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zrem(key, member, fut); })); }
Remove one or more members from a sorted set
Params:
  • key – Key string
  • members – Members in the sorted set identified by key
  • handler – Handler for the result of this call.
Returns:
/** * Remove one or more members from a sorted set * @param key Key string * @param members Members in the sorted set identified by key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zremMany(String key, List<String> members, Handler<AsyncResult<String>> handler) { delegate.zremMany(key, members, handler); return this; }
Remove one or more members from a sorted set
Params:
  • key – Key string
  • members – Members in the sorted set identified by key
Returns:
Deprecated:use rxZremMany instead
/** * Remove one or more members from a sorted set * @param key Key string * @param members Members in the sorted set identified by key * @return * @deprecated use {@link #rxZremMany} instead */
@Deprecated() public Observable<String> zremManyObservable(String key, List<String> members) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zremMany(key, members, handler.toHandler()); return handler; }
Remove one or more members from a sorted set
Params:
  • key – Key string
  • members – Members in the sorted set identified by key
Returns:
/** * Remove one or more members from a sorted set * @param key Key string * @param members Members in the sorted set identified by key * @return */
public Single<String> rxZremMany(String key, List<String> members) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zremMany(key, members, fut); })); }
Remove all members in a sorted set between the given lexicographical range
Params:
  • key – Key string
  • min – Pattern defining a minimum value
  • max – Pattern defining a maximum value
  • handler – Handler for the result of this call.
Returns:
/** * Remove all members in a sorted set between the given lexicographical range * @param key Key string * @param min Pattern defining a minimum value * @param max Pattern defining a maximum value * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zremrangebylex(String key, String min, String max, Handler<AsyncResult<String>> handler) { delegate.zremrangebylex(key, min, max, handler); return this; }
Remove all members in a sorted set between the given lexicographical range
Params:
  • key – Key string
  • min – Pattern defining a minimum value
  • max – Pattern defining a maximum value
Returns:
Deprecated:use rxZremrangebylex instead
/** * Remove all members in a sorted set between the given lexicographical range * @param key Key string * @param min Pattern defining a minimum value * @param max Pattern defining a maximum value * @return * @deprecated use {@link #rxZremrangebylex} instead */
@Deprecated() public Observable<String> zremrangebylexObservable(String key, String min, String max) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zremrangebylex(key, min, max, handler.toHandler()); return handler; }
Remove all members in a sorted set between the given lexicographical range
Params:
  • key – Key string
  • min – Pattern defining a minimum value
  • max – Pattern defining a maximum value
Returns:
/** * Remove all members in a sorted set between the given lexicographical range * @param key Key string * @param min Pattern defining a minimum value * @param max Pattern defining a maximum value * @return */
public Single<String> rxZremrangebylex(String key, String min, String max) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zremrangebylex(key, min, max, fut); })); }
Remove all members in a sorted set within the given indexes
Params:
  • key – Key string
  • start – Start index
  • stop – Stop index
  • handler – Handler for the result of this call.
Returns:
/** * Remove all members in a sorted set within the given indexes * @param key Key string * @param start Start index * @param stop Stop index * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zremrangebyrank(String key, long start, long stop, Handler<AsyncResult<String>> handler) { delegate.zremrangebyrank(key, start, stop, handler); return this; }
Remove all members in a sorted set within the given indexes
Params:
  • key – Key string
  • start – Start index
  • stop – Stop index
Returns:
Deprecated:use rxZremrangebyrank instead
/** * Remove all members in a sorted set within the given indexes * @param key Key string * @param start Start index * @param stop Stop index * @return * @deprecated use {@link #rxZremrangebyrank} instead */
@Deprecated() public Observable<String> zremrangebyrankObservable(String key, long start, long stop) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zremrangebyrank(key, start, stop, handler.toHandler()); return handler; }
Remove all members in a sorted set within the given indexes
Params:
  • key – Key string
  • start – Start index
  • stop – Stop index
Returns:
/** * Remove all members in a sorted set within the given indexes * @param key Key string * @param start Start index * @param stop Stop index * @return */
public Single<String> rxZremrangebyrank(String key, long start, long stop) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zremrangebyrank(key, start, stop, fut); })); }
Remove all members in a sorted set within the given scores
Params:
  • key – Key string
  • min – Pattern defining a minimum value
  • max – Pattern defining a maximum value
  • handler –
Returns:
/** * Remove all members in a sorted set within the given scores * @param key Key string * @param min Pattern defining a minimum value * @param max Pattern defining a maximum value * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction zremrangebyscore(String key, String min, String max, Handler<AsyncResult<String>> handler) { delegate.zremrangebyscore(key, min, max, handler); return this; }
Remove all members in a sorted set within the given scores
Params:
  • key – Key string
  • min – Pattern defining a minimum value
  • max – Pattern defining a maximum value
Returns:
Deprecated:use rxZremrangebyscore instead
/** * Remove all members in a sorted set within the given scores * @param key Key string * @param min Pattern defining a minimum value * @param max Pattern defining a maximum value * @return * @deprecated use {@link #rxZremrangebyscore} instead */
@Deprecated() public Observable<String> zremrangebyscoreObservable(String key, String min, String max) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zremrangebyscore(key, min, max, handler.toHandler()); return handler; }
Remove all members in a sorted set within the given scores
Params:
  • key – Key string
  • min – Pattern defining a minimum value
  • max – Pattern defining a maximum value
Returns:
/** * Remove all members in a sorted set within the given scores * @param key Key string * @param min Pattern defining a minimum value * @param max Pattern defining a maximum value * @return */
public Single<String> rxZremrangebyscore(String key, String min, String max) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zremrangebyscore(key, min, max, fut); })); }
Return a range of members in a sorted set, by index, with scores ordered from high to low
Params:
  • key – Key string
  • start – Start index for the range
  • stop – Stop index for the range - inclusive
  • options – Range options
  • handler – Handler for the result of this call.
Returns:
/** * Return a range of members in a sorted set, by index, with scores ordered from high to low * @param key Key string * @param start Start index for the range * @param stop Stop index for the range - inclusive * @param options Range options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zrevrange(String key, long start, long stop, RangeOptions options, Handler<AsyncResult<String>> handler) { delegate.zrevrange(key, start, stop, options, handler); return this; }
Return a range of members in a sorted set, by index, with scores ordered from high to low
Params:
  • key – Key string
  • start – Start index for the range
  • stop – Stop index for the range - inclusive
  • options – Range options
Returns:
Deprecated:use rxZrevrange instead
/** * Return a range of members in a sorted set, by index, with scores ordered from high to low * @param key Key string * @param start Start index for the range * @param stop Stop index for the range - inclusive * @param options Range options * @return * @deprecated use {@link #rxZrevrange} instead */
@Deprecated() public Observable<String> zrevrangeObservable(String key, long start, long stop, RangeOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zrevrange(key, start, stop, options, handler.toHandler()); return handler; }
Return a range of members in a sorted set, by index, with scores ordered from high to low
Params:
  • key – Key string
  • start – Start index for the range
  • stop – Stop index for the range - inclusive
  • options – Range options
Returns:
/** * Return a range of members in a sorted set, by index, with scores ordered from high to low * @param key Key string * @param start Start index for the range * @param stop Stop index for the range - inclusive * @param options Range options * @return */
public Single<String> rxZrevrange(String key, long start, long stop, RangeOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zrevrange(key, start, stop, options, fut); })); }
Return a range of members in a sorted set, by score, between the given lexicographical range with scores ordered from high to low
Params:
  • key – Key string
  • max – Pattern defining a maximum value
  • min – Pattern defining a minimum value
  • options – Limit options
  • handler – Handler for the result of this call.
Returns:
/** * Return a range of members in a sorted set, by score, between the given lexicographical range with scores ordered from high to low * @param key Key string * @param max Pattern defining a maximum value * @param min Pattern defining a minimum value * @param options Limit options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zrevrangebylex(String key, String max, String min, LimitOptions options, Handler<AsyncResult<String>> handler) { delegate.zrevrangebylex(key, max, min, options, handler); return this; }
Return a range of members in a sorted set, by score, between the given lexicographical range with scores ordered from high to low
Params:
  • key – Key string
  • max – Pattern defining a maximum value
  • min – Pattern defining a minimum value
  • options – Limit options
Returns:
Deprecated:use rxZrevrangebylex instead
/** * Return a range of members in a sorted set, by score, between the given lexicographical range with scores ordered from high to low * @param key Key string * @param max Pattern defining a maximum value * @param min Pattern defining a minimum value * @param options Limit options * @return * @deprecated use {@link #rxZrevrangebylex} instead */
@Deprecated() public Observable<String> zrevrangebylexObservable(String key, String max, String min, LimitOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zrevrangebylex(key, max, min, options, handler.toHandler()); return handler; }
Return a range of members in a sorted set, by score, between the given lexicographical range with scores ordered from high to low
Params:
  • key – Key string
  • max – Pattern defining a maximum value
  • min – Pattern defining a minimum value
  • options – Limit options
Returns:
/** * Return a range of members in a sorted set, by score, between the given lexicographical range with scores ordered from high to low * @param key Key string * @param max Pattern defining a maximum value * @param min Pattern defining a minimum value * @param options Limit options * @return */
public Single<String> rxZrevrangebylex(String key, String max, String min, LimitOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zrevrangebylex(key, max, min, options, fut); })); }
Return a range of members in a sorted set, by score, with scores ordered from high to low
Params:
  • key – Key string
  • max – Pattern defining a maximum value
  • min – Pattern defining a minimum value
  • options – Range and limit options
  • handler – Handler for the result of this call.
Returns:
/** * Return a range of members in a sorted set, by score, with scores ordered from high to low * @param key Key string * @param max Pattern defining a maximum value * @param min Pattern defining a minimum value * @param options Range and limit options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zrevrangebyscore(String key, String max, String min, RangeLimitOptions options, Handler<AsyncResult<String>> handler) { delegate.zrevrangebyscore(key, max, min, options, handler); return this; }
Return a range of members in a sorted set, by score, with scores ordered from high to low
Params:
  • key – Key string
  • max – Pattern defining a maximum value
  • min – Pattern defining a minimum value
  • options – Range and limit options
Returns:
Deprecated:use rxZrevrangebyscore instead
/** * Return a range of members in a sorted set, by score, with scores ordered from high to low * @param key Key string * @param max Pattern defining a maximum value * @param min Pattern defining a minimum value * @param options Range and limit options * @return * @deprecated use {@link #rxZrevrangebyscore} instead */
@Deprecated() public Observable<String> zrevrangebyscoreObservable(String key, String max, String min, RangeLimitOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zrevrangebyscore(key, max, min, options, handler.toHandler()); return handler; }
Return a range of members in a sorted set, by score, with scores ordered from high to low
Params:
  • key – Key string
  • max – Pattern defining a maximum value
  • min – Pattern defining a minimum value
  • options – Range and limit options
Returns:
/** * Return a range of members in a sorted set, by score, with scores ordered from high to low * @param key Key string * @param max Pattern defining a maximum value * @param min Pattern defining a minimum value * @param options Range and limit options * @return */
public Single<String> rxZrevrangebyscore(String key, String max, String min, RangeLimitOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zrevrangebyscore(key, max, min, options, fut); })); }
Determine the index of a member in a sorted set, with scores ordered from high to low
Params:
  • key – Key string
  • member – Member in the sorted set identified by key
  • handler – Handler for the result of this call.
Returns:
/** * Determine the index of a member in a sorted set, with scores ordered from high to low * @param key Key string * @param member Member in the sorted set identified by key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zrevrank(String key, String member, Handler<AsyncResult<String>> handler) { delegate.zrevrank(key, member, handler); return this; }
Determine the index of a member in a sorted set, with scores ordered from high to low
Params:
  • key – Key string
  • member – Member in the sorted set identified by key
Returns:
Deprecated:use rxZrevrank instead
/** * Determine the index of a member in a sorted set, with scores ordered from high to low * @param key Key string * @param member Member in the sorted set identified by key * @return * @deprecated use {@link #rxZrevrank} instead */
@Deprecated() public Observable<String> zrevrankObservable(String key, String member) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zrevrank(key, member, handler.toHandler()); return handler; }
Determine the index of a member in a sorted set, with scores ordered from high to low
Params:
  • key – Key string
  • member – Member in the sorted set identified by key
Returns:
/** * Determine the index of a member in a sorted set, with scores ordered from high to low * @param key Key string * @param member Member in the sorted set identified by key * @return */
public Single<String> rxZrevrank(String key, String member) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zrevrank(key, member, fut); })); }
Get the score associated with the given member in a sorted set
Params:
  • key – Key string
  • member – Member in the sorted set identified by key
  • handler – Handler for the result of this call.
Returns:
/** * Get the score associated with the given member in a sorted set * @param key Key string * @param member Member in the sorted set identified by key * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zscore(String key, String member, Handler<AsyncResult<String>> handler) { delegate.zscore(key, member, handler); return this; }
Get the score associated with the given member in a sorted set
Params:
  • key – Key string
  • member – Member in the sorted set identified by key
Returns:
Deprecated:use rxZscore instead
/** * Get the score associated with the given member in a sorted set * @param key Key string * @param member Member in the sorted set identified by key * @return * @deprecated use {@link #rxZscore} instead */
@Deprecated() public Observable<String> zscoreObservable(String key, String member) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zscore(key, member, handler.toHandler()); return handler; }
Get the score associated with the given member in a sorted set
Params:
  • key – Key string
  • member – Member in the sorted set identified by key
Returns:
/** * Get the score associated with the given member in a sorted set * @param key Key string * @param member Member in the sorted set identified by key * @return */
public Single<String> rxZscore(String key, String member) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zscore(key, member, fut); })); }
Add multiple sorted sets and store the resulting sorted set in a new key
Params:
  • destkey – Destination key
  • sets – List of keys identifying sorted sets
  • options – Aggregation options
  • handler – Handler for the result of this call.
Returns:
/** * Add multiple sorted sets and store the resulting sorted set in a new key * @param destkey Destination key * @param sets List of keys identifying sorted sets * @param options Aggregation options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zunionstore(String destkey, List<String> sets, AggregateOptions options, Handler<AsyncResult<String>> handler) { delegate.zunionstore(destkey, sets, options, handler); return this; }
Add multiple sorted sets and store the resulting sorted set in a new key
Params:
  • destkey – Destination key
  • sets – List of keys identifying sorted sets
  • options – Aggregation options
Returns:
Deprecated:use rxZunionstore instead
/** * Add multiple sorted sets and store the resulting sorted set in a new key * @param destkey Destination key * @param sets List of keys identifying sorted sets * @param options Aggregation options * @return * @deprecated use {@link #rxZunionstore} instead */
@Deprecated() public Observable<String> zunionstoreObservable(String destkey, List<String> sets, AggregateOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zunionstore(destkey, sets, options, handler.toHandler()); return handler; }
Add multiple sorted sets and store the resulting sorted set in a new key
Params:
  • destkey – Destination key
  • sets – List of keys identifying sorted sets
  • options – Aggregation options
Returns:
/** * Add multiple sorted sets and store the resulting sorted set in a new key * @param destkey Destination key * @param sets List of keys identifying sorted sets * @param options Aggregation options * @return */
public Single<String> rxZunionstore(String destkey, List<String> sets, AggregateOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zunionstore(destkey, sets, options, fut); })); }
Add multiple sorted sets using weights, and store the resulting sorted set in a new key
Params:
  • key – Destination key
  • sets – Map containing set-key:weight pairs
  • options – Aggregation options
  • handler – Handler for the result of this call.
Returns:
/** * Add multiple sorted sets using weights, and store the resulting sorted set in a new key * @param key Destination key * @param sets Map containing set-key:weight pairs * @param options Aggregation options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zunionstoreWeighed(String key, Map<String, Double> sets, AggregateOptions options, Handler<AsyncResult<String>> handler) { delegate.zunionstoreWeighed(key, sets, options, handler); return this; }
Add multiple sorted sets using weights, and store the resulting sorted set in a new key
Params:
  • key – Destination key
  • sets – Map containing set-key:weight pairs
  • options – Aggregation options
Returns:
Deprecated:use rxZunionstoreWeighed instead
/** * Add multiple sorted sets using weights, and store the resulting sorted set in a new key * @param key Destination key * @param sets Map containing set-key:weight pairs * @param options Aggregation options * @return * @deprecated use {@link #rxZunionstoreWeighed} instead */
@Deprecated() public Observable<String> zunionstoreWeighedObservable(String key, Map<String, Double> sets, AggregateOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zunionstoreWeighed(key, sets, options, handler.toHandler()); return handler; }
Add multiple sorted sets using weights, and store the resulting sorted set in a new key
Params:
  • key – Destination key
  • sets – Map containing set-key:weight pairs
  • options – Aggregation options
Returns:
/** * Add multiple sorted sets using weights, and store the resulting sorted set in a new key * @param key Destination key * @param sets Map containing set-key:weight pairs * @param options Aggregation options * @return */
public Single<String> rxZunionstoreWeighed(String key, Map<String, Double> sets, AggregateOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zunionstoreWeighed(key, sets, options, fut); })); }
Incrementally iterate the keys space
Params:
  • cursor – Cursor id
  • options – Scan options
  • handler – Handler for the result of this call.
Returns:
/** * Incrementally iterate the keys space * @param cursor Cursor id * @param options Scan options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction scan(String cursor, ScanOptions options, Handler<AsyncResult<String>> handler) { delegate.scan(cursor, options, handler); return this; }
Incrementally iterate the keys space
Params:
  • cursor – Cursor id
  • options – Scan options
Returns:
Deprecated:use rxScan instead
/** * Incrementally iterate the keys space * @param cursor Cursor id * @param options Scan options * @return * @deprecated use {@link #rxScan} instead */
@Deprecated() public Observable<String> scanObservable(String cursor, ScanOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); scan(cursor, options, handler.toHandler()); return handler; }
Incrementally iterate the keys space
Params:
  • cursor – Cursor id
  • options – Scan options
Returns:
/** * Incrementally iterate the keys space * @param cursor Cursor id * @param options Scan options * @return */
public Single<String> rxScan(String cursor, ScanOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { scan(cursor, options, fut); })); }
Incrementally iterate Set elements
Params:
  • key – Key string
  • cursor – Cursor id
  • options – Scan options
  • handler – Handler for the result of this call.
Returns:
/** * Incrementally iterate Set elements * @param key Key string * @param cursor Cursor id * @param options Scan options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction sscan(String key, String cursor, ScanOptions options, Handler<AsyncResult<String>> handler) { delegate.sscan(key, cursor, options, handler); return this; }
Incrementally iterate Set elements
Params:
  • key – Key string
  • cursor – Cursor id
  • options – Scan options
Returns:
Deprecated:use rxSscan instead
/** * Incrementally iterate Set elements * @param key Key string * @param cursor Cursor id * @param options Scan options * @return * @deprecated use {@link #rxSscan} instead */
@Deprecated() public Observable<String> sscanObservable(String key, String cursor, ScanOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); sscan(key, cursor, options, handler.toHandler()); return handler; }
Incrementally iterate Set elements
Params:
  • key – Key string
  • cursor – Cursor id
  • options – Scan options
Returns:
/** * Incrementally iterate Set elements * @param key Key string * @param cursor Cursor id * @param options Scan options * @return */
public Single<String> rxSscan(String key, String cursor, ScanOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { sscan(key, cursor, options, fut); })); }
Incrementally iterate hash fields and associated values
Params:
  • key – Key string
  • cursor – Cursor id
  • options – Scan options
  • handler – Handler for the result of this call.
Returns:
/** * Incrementally iterate hash fields and associated values * @param key Key string * @param cursor Cursor id * @param options Scan options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction hscan(String key, String cursor, ScanOptions options, Handler<AsyncResult<String>> handler) { delegate.hscan(key, cursor, options, handler); return this; }
Incrementally iterate hash fields and associated values
Params:
  • key – Key string
  • cursor – Cursor id
  • options – Scan options
Returns:
Deprecated:use rxHscan instead
/** * Incrementally iterate hash fields and associated values * @param key Key string * @param cursor Cursor id * @param options Scan options * @return * @deprecated use {@link #rxHscan} instead */
@Deprecated() public Observable<String> hscanObservable(String key, String cursor, ScanOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); hscan(key, cursor, options, handler.toHandler()); return handler; }
Incrementally iterate hash fields and associated values
Params:
  • key – Key string
  • cursor – Cursor id
  • options – Scan options
Returns:
/** * Incrementally iterate hash fields and associated values * @param key Key string * @param cursor Cursor id * @param options Scan options * @return */
public Single<String> rxHscan(String key, String cursor, ScanOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { hscan(key, cursor, options, fut); })); }
Incrementally iterate sorted sets elements and associated scores
Params:
  • key – Key string
  • cursor – Cursor id
  • options – Scan options
  • handler – Handler for the result of this call.
Returns:
/** * Incrementally iterate sorted sets elements and associated scores * @param key Key string * @param cursor Cursor id * @param options Scan options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction zscan(String key, String cursor, ScanOptions options, Handler<AsyncResult<String>> handler) { delegate.zscan(key, cursor, options, handler); return this; }
Incrementally iterate sorted sets elements and associated scores
Params:
  • key – Key string
  • cursor – Cursor id
  • options – Scan options
Returns:
Deprecated:use rxZscan instead
/** * Incrementally iterate sorted sets elements and associated scores * @param key Key string * @param cursor Cursor id * @param options Scan options * @return * @deprecated use {@link #rxZscan} instead */
@Deprecated() public Observable<String> zscanObservable(String key, String cursor, ScanOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); zscan(key, cursor, options, handler.toHandler()); return handler; }
Incrementally iterate sorted sets elements and associated scores
Params:
  • key – Key string
  • cursor – Cursor id
  • options – Scan options
Returns:
/** * Incrementally iterate sorted sets elements and associated scores * @param key Key string * @param cursor Cursor id * @param options Scan options * @return */
public Single<String> rxZscan(String key, String cursor, ScanOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { zscan(key, cursor, options, fut); })); }
Add one or more geospatial items in the geospatial index represented using a sorted set.
Params:
  • key – Key string
  • longitude – longitude
  • latitude – latitude
  • member – member
  • handler – Handler for the result of this call.
Returns:
/** * Add one or more geospatial items in the geospatial index represented using a sorted set. * @param key Key string * @param longitude longitude * @param latitude latitude * @param member member * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction geoadd(String key, double longitude, double latitude, String member, Handler<AsyncResult<String>> handler) { delegate.geoadd(key, longitude, latitude, member, handler); return this; }
Add one or more geospatial items in the geospatial index represented using a sorted set.
Params:
  • key – Key string
  • longitude – longitude
  • latitude – latitude
  • member – member
Returns:
Deprecated:use rxGeoadd instead
/** * Add one or more geospatial items in the geospatial index represented using a sorted set. * @param key Key string * @param longitude longitude * @param latitude latitude * @param member member * @return * @deprecated use {@link #rxGeoadd} instead */
@Deprecated() public Observable<String> geoaddObservable(String key, double longitude, double latitude, String member) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); geoadd(key, longitude, latitude, member, handler.toHandler()); return handler; }
Add one or more geospatial items in the geospatial index represented using a sorted set.
Params:
  • key – Key string
  • longitude – longitude
  • latitude – latitude
  • member – member
Returns:
/** * Add one or more geospatial items in the geospatial index represented using a sorted set. * @param key Key string * @param longitude longitude * @param latitude latitude * @param member member * @return */
public Single<String> rxGeoadd(String key, double longitude, double latitude, String member) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { geoadd(key, longitude, latitude, member, fut); })); }
Add one or more geospatial items in the geospatial index represented using a sorted set.
Params:
  • key – Key string
  • members – list of <lon, lat, member>
  • handler – Handler for the result of this call.
Returns:
/** * Add one or more geospatial items in the geospatial index represented using a sorted set. * @param key Key string * @param members list of &lt;lon, lat, member&gt; * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction geoaddMany(String key, List<GeoMember> members, Handler<AsyncResult<String>> handler) { delegate.geoaddMany(key, members, handler); return this; }
Add one or more geospatial items in the geospatial index represented using a sorted set.
Params:
  • key – Key string
  • members – list of <lon, lat, member>
Returns:
Deprecated:use rxGeoaddMany instead
/** * Add one or more geospatial items in the geospatial index represented using a sorted set. * @param key Key string * @param members list of &lt;lon, lat, member&gt; * @return * @deprecated use {@link #rxGeoaddMany} instead */
@Deprecated() public Observable<String> geoaddManyObservable(String key, List<GeoMember> members) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); geoaddMany(key, members, handler.toHandler()); return handler; }
Add one or more geospatial items in the geospatial index represented using a sorted set.
Params:
  • key – Key string
  • members – list of <lon, lat, member>
Returns:
/** * Add one or more geospatial items in the geospatial index represented using a sorted set. * @param key Key string * @param members list of &lt;lon, lat, member&gt; * @return */
public Single<String> rxGeoaddMany(String key, List<GeoMember> members) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { geoaddMany(key, members, fut); })); }
Return valid Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index (where elements were added using GEOADD).
Params:
  • key – Key string
  • member – member
  • handler – Handler for the result of this call.
Returns:
/** * Return valid Geohash strings representing the position of one or more elements in a sorted set value representing * a geospatial index (where elements were added using GEOADD). * @param key Key string * @param member member * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction geohash(String key, String member, Handler<AsyncResult<String>> handler) { delegate.geohash(key, member, handler); return this; }
Return valid Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index (where elements were added using GEOADD).
Params:
  • key – Key string
  • member – member
Returns:
Deprecated:use rxGeohash instead
/** * Return valid Geohash strings representing the position of one or more elements in a sorted set value representing * a geospatial index (where elements were added using GEOADD). * @param key Key string * @param member member * @return * @deprecated use {@link #rxGeohash} instead */
@Deprecated() public Observable<String> geohashObservable(String key, String member) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); geohash(key, member, handler.toHandler()); return handler; }
Return valid Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index (where elements were added using GEOADD).
Params:
  • key – Key string
  • member – member
Returns:
/** * Return valid Geohash strings representing the position of one or more elements in a sorted set value representing * a geospatial index (where elements were added using GEOADD). * @param key Key string * @param member member * @return */
public Single<String> rxGeohash(String key, String member) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { geohash(key, member, fut); })); }
Return valid Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index (where elements were added using GEOADD).
Params:
  • key – Key string
  • members – list of members
  • handler – Handler for the result of this call.
Returns:
/** * Return valid Geohash strings representing the position of one or more elements in a sorted set value representing * a geospatial index (where elements were added using GEOADD). * @param key Key string * @param members list of members * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction geohashMany(String key, List<String> members, Handler<AsyncResult<String>> handler) { delegate.geohashMany(key, members, handler); return this; }
Return valid Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index (where elements were added using GEOADD).
Params:
  • key – Key string
  • members – list of members
Returns:
Deprecated:use rxGeohashMany instead
/** * Return valid Geohash strings representing the position of one or more elements in a sorted set value representing * a geospatial index (where elements were added using GEOADD). * @param key Key string * @param members list of members * @return * @deprecated use {@link #rxGeohashMany} instead */
@Deprecated() public Observable<String> geohashManyObservable(String key, List<String> members) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); geohashMany(key, members, handler.toHandler()); return handler; }
Return valid Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index (where elements were added using GEOADD).
Params:
  • key – Key string
  • members – list of members
Returns:
/** * Return valid Geohash strings representing the position of one or more elements in a sorted set value representing * a geospatial index (where elements were added using GEOADD). * @param key Key string * @param members list of members * @return */
public Single<String> rxGeohashMany(String key, List<String> members) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { geohashMany(key, members, fut); })); }
Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the sorted set at key.
Params:
  • key – Key string
  • member – member
  • handler – Handler for the result of this call.
Returns:
/** * Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the * sorted set at key. * @param key Key string * @param member member * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction geopos(String key, String member, Handler<AsyncResult<String>> handler) { delegate.geopos(key, member, handler); return this; }
Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the sorted set at key.
Params:
  • key – Key string
  • member – member
Returns:
Deprecated:use rxGeopos instead
/** * Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the * sorted set at key. * @param key Key string * @param member member * @return * @deprecated use {@link #rxGeopos} instead */
@Deprecated() public Observable<String> geoposObservable(String key, String member) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); geopos(key, member, handler.toHandler()); return handler; }
Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the sorted set at key.
Params:
  • key – Key string
  • member – member
Returns:
/** * Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the * sorted set at key. * @param key Key string * @param member member * @return */
public Single<String> rxGeopos(String key, String member) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { geopos(key, member, fut); })); }
Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the sorted set at key.
Params:
  • key – Key string
  • members – list of members
  • handler – Handler for the result of this call.
Returns:
/** * Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the * sorted set at key. * @param key Key string * @param members list of members * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction geoposMany(String key, List<String> members, Handler<AsyncResult<String>> handler) { delegate.geoposMany(key, members, handler); return this; }
Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the sorted set at key.
Params:
  • key – Key string
  • members – list of members
Returns:
Deprecated:use rxGeoposMany instead
/** * Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the * sorted set at key. * @param key Key string * @param members list of members * @return * @deprecated use {@link #rxGeoposMany} instead */
@Deprecated() public Observable<String> geoposManyObservable(String key, List<String> members) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); geoposMany(key, members, handler.toHandler()); return handler; }
Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the sorted set at key.
Params:
  • key – Key string
  • members – list of members
Returns:
/** * Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the * sorted set at key. * @param key Key string * @param members list of members * @return */
public Single<String> rxGeoposMany(String key, List<String> members) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { geoposMany(key, members, fut); })); }
Return the distance between two members in the geospatial index represented by the sorted set.
Params:
  • key – Key string
  • member1 – member 1
  • member2 – member 2
  • handler – Handler for the result of this call.
Returns:
/** * Return the distance between two members in the geospatial index represented by the sorted set. * @param key Key string * @param member1 member 1 * @param member2 member 2 * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction geodist(String key, String member1, String member2, Handler<AsyncResult<String>> handler) { delegate.geodist(key, member1, member2, handler); return this; }
Return the distance between two members in the geospatial index represented by the sorted set.
Params:
  • key – Key string
  • member1 – member 1
  • member2 – member 2
Returns:
Deprecated:use rxGeodist instead
/** * Return the distance between two members in the geospatial index represented by the sorted set. * @param key Key string * @param member1 member 1 * @param member2 member 2 * @return * @deprecated use {@link #rxGeodist} instead */
@Deprecated() public Observable<String> geodistObservable(String key, String member1, String member2) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); geodist(key, member1, member2, handler.toHandler()); return handler; }
Return the distance between two members in the geospatial index represented by the sorted set.
Params:
  • key – Key string
  • member1 – member 1
  • member2 – member 2
Returns:
/** * Return the distance between two members in the geospatial index represented by the sorted set. * @param key Key string * @param member1 member 1 * @param member2 member 2 * @return */
public Single<String> rxGeodist(String key, String member1, String member2) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { geodist(key, member1, member2, fut); })); }
Return the distance between two members in the geospatial index represented by the sorted set.
Params:
  • key – Key string
  • member1 – member 1
  • member2 – member 2
  • unit – geo unit
  • handler – Handler for the result of this call.
Returns:
/** * Return the distance between two members in the geospatial index represented by the sorted set. * @param key Key string * @param member1 member 1 * @param member2 member 2 * @param unit geo unit * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction geodistWithUnit(String key, String member1, String member2, GeoUnit unit, Handler<AsyncResult<String>> handler) { delegate.geodistWithUnit(key, member1, member2, unit, handler); return this; }
Return the distance between two members in the geospatial index represented by the sorted set.
Params:
  • key – Key string
  • member1 – member 1
  • member2 – member 2
  • unit – geo unit
Returns:
Deprecated:use rxGeodistWithUnit instead
/** * Return the distance between two members in the geospatial index represented by the sorted set. * @param key Key string * @param member1 member 1 * @param member2 member 2 * @param unit geo unit * @return * @deprecated use {@link #rxGeodistWithUnit} instead */
@Deprecated() public Observable<String> geodistWithUnitObservable(String key, String member1, String member2, GeoUnit unit) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); geodistWithUnit(key, member1, member2, unit, handler.toHandler()); return handler; }
Return the distance between two members in the geospatial index represented by the sorted set.
Params:
  • key – Key string
  • member1 – member 1
  • member2 – member 2
  • unit – geo unit
Returns:
/** * Return the distance between two members in the geospatial index represented by the sorted set. * @param key Key string * @param member1 member 1 * @param member2 member 2 * @param unit geo unit * @return */
public Single<String> rxGeodistWithUnit(String key, String member1, String member2, GeoUnit unit) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { geodistWithUnit(key, member1, member2, unit, fut); })); }
Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders of the area specified with the center location and the maximum distance from the center (the radius).
Params:
  • key – Key string
  • longitude – longitude
  • latitude – latitude
  • radius – radius
  • unit – geo unit
  • handler – Handler for the result of this call.
Returns:
/** * Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders * of the area specified with the center location and the maximum distance from the center (the radius). * @param key Key string * @param longitude longitude * @param latitude latitude * @param radius radius * @param unit geo unit * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction georadius(String key, double longitude, double latitude, double radius, GeoUnit unit, Handler<AsyncResult<String>> handler) { delegate.georadius(key, longitude, latitude, radius, unit, handler); return this; }
Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders of the area specified with the center location and the maximum distance from the center (the radius).
Params:
  • key – Key string
  • longitude – longitude
  • latitude – latitude
  • radius – radius
  • unit – geo unit
Returns:
Deprecated:use rxGeoradius instead
/** * Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders * of the area specified with the center location and the maximum distance from the center (the radius). * @param key Key string * @param longitude longitude * @param latitude latitude * @param radius radius * @param unit geo unit * @return * @deprecated use {@link #rxGeoradius} instead */
@Deprecated() public Observable<String> georadiusObservable(String key, double longitude, double latitude, double radius, GeoUnit unit) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); georadius(key, longitude, latitude, radius, unit, handler.toHandler()); return handler; }
Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders of the area specified with the center location and the maximum distance from the center (the radius).
Params:
  • key – Key string
  • longitude – longitude
  • latitude – latitude
  • radius – radius
  • unit – geo unit
Returns:
/** * Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders * of the area specified with the center location and the maximum distance from the center (the radius). * @param key Key string * @param longitude longitude * @param latitude latitude * @param radius radius * @param unit geo unit * @return */
public Single<String> rxGeoradius(String key, double longitude, double latitude, double radius, GeoUnit unit) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { georadius(key, longitude, latitude, radius, unit, fut); })); }
Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders of the area specified with the center location and the maximum distance from the center (the radius).
Params:
  • key – Key string
  • longitude – longitude
  • latitude – latitude
  • radius – radius
  • unit – geo unit
  • options – geo radius options
  • handler – Handler for the result of this call.
Returns:
/** * Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders * of the area specified with the center location and the maximum distance from the center (the radius). * @param key Key string * @param longitude longitude * @param latitude latitude * @param radius radius * @param unit geo unit * @param options geo radius options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction georadiusWithOptions(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusOptions options, Handler<AsyncResult<String>> handler) { delegate.georadiusWithOptions(key, longitude, latitude, radius, unit, options, handler); return this; }
Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders of the area specified with the center location and the maximum distance from the center (the radius).
Params:
  • key – Key string
  • longitude – longitude
  • latitude – latitude
  • radius – radius
  • unit – geo unit
  • options – geo radius options
Returns:
Deprecated:use rxGeoradiusWithOptions instead
/** * Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders * of the area specified with the center location and the maximum distance from the center (the radius). * @param key Key string * @param longitude longitude * @param latitude latitude * @param radius radius * @param unit geo unit * @param options geo radius options * @return * @deprecated use {@link #rxGeoradiusWithOptions} instead */
@Deprecated() public Observable<String> georadiusWithOptionsObservable(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); georadiusWithOptions(key, longitude, latitude, radius, unit, options, handler.toHandler()); return handler; }
Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders of the area specified with the center location and the maximum distance from the center (the radius).
Params:
  • key – Key string
  • longitude – longitude
  • latitude – latitude
  • radius – radius
  • unit – geo unit
  • options – geo radius options
Returns:
/** * Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders * of the area specified with the center location and the maximum distance from the center (the radius). * @param key Key string * @param longitude longitude * @param latitude latitude * @param radius radius * @param unit geo unit * @param options geo radius options * @return */
public Single<String> rxGeoradiusWithOptions(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { georadiusWithOptions(key, longitude, latitude, radius, unit, options, fut); })); }
This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial index represented by the sorted set.
Params:
  • key – Key string
  • member – member
  • radius – radius
  • unit – geo unit
  • handler – Handler for the result of this call.
Returns:
/** * This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area * to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial * index represented by the sorted set. * @param key Key string * @param member member * @param radius radius * @param unit geo unit * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction georadiusbymember(String key, String member, double radius, GeoUnit unit, Handler<AsyncResult<String>> handler) { delegate.georadiusbymember(key, member, radius, unit, handler); return this; }
This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial index represented by the sorted set.
Params:
  • key – Key string
  • member – member
  • radius – radius
  • unit – geo unit
Returns:
Deprecated:use rxGeoradiusbymember instead
/** * This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area * to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial * index represented by the sorted set. * @param key Key string * @param member member * @param radius radius * @param unit geo unit * @return * @deprecated use {@link #rxGeoradiusbymember} instead */
@Deprecated() public Observable<String> georadiusbymemberObservable(String key, String member, double radius, GeoUnit unit) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); georadiusbymember(key, member, radius, unit, handler.toHandler()); return handler; }
This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial index represented by the sorted set.
Params:
  • key – Key string
  • member – member
  • radius – radius
  • unit – geo unit
Returns:
/** * This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area * to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial * index represented by the sorted set. * @param key Key string * @param member member * @param radius radius * @param unit geo unit * @return */
public Single<String> rxGeoradiusbymember(String key, String member, double radius, GeoUnit unit) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { georadiusbymember(key, member, radius, unit, fut); })); }
This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial index represented by the sorted set.
Params:
  • key – Key string
  • member – member
  • radius – radius
  • unit – geo unit
  • options – geo radius options
  • handler – Handler for the result of this call.
Returns:
/** * This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area * to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial * index represented by the sorted set. * @param key Key string * @param member member * @param radius radius * @param unit geo unit * @param options geo radius options * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction georadiusbymemberWithOptions(String key, String member, double radius, GeoUnit unit, GeoRadiusOptions options, Handler<AsyncResult<String>> handler) { delegate.georadiusbymemberWithOptions(key, member, radius, unit, options, handler); return this; }
This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial index represented by the sorted set.
Params:
  • key – Key string
  • member – member
  • radius – radius
  • unit – geo unit
  • options – geo radius options
Returns:
Deprecated:use rxGeoradiusbymemberWithOptions instead
/** * This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area * to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial * index represented by the sorted set. * @param key Key string * @param member member * @param radius radius * @param unit geo unit * @param options geo radius options * @return * @deprecated use {@link #rxGeoradiusbymemberWithOptions} instead */
@Deprecated() public Observable<String> georadiusbymemberWithOptionsObservable(String key, String member, double radius, GeoUnit unit, GeoRadiusOptions options) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); georadiusbymemberWithOptions(key, member, radius, unit, options, handler.toHandler()); return handler; }
This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial index represented by the sorted set.
Params:
  • key – Key string
  • member – member
  • radius – radius
  • unit – geo unit
  • options – geo radius options
Returns:
/** * This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area * to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial * index represented by the sorted set. * @param key Key string * @param member member * @param radius radius * @param unit geo unit * @param options geo radius options * @return */
public Single<String> rxGeoradiusbymemberWithOptions(String key, String member, double radius, GeoUnit unit, GeoRadiusOptions options) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { georadiusbymemberWithOptions(key, member, radius, unit, options, fut); })); }
Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking.
Params:
  • key – Key string
  • handler –
Returns:
/** * Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking. * @param key Key string * @param handler * @return */
public io.vertx.rxjava.redis.RedisTransaction unlink(String key, Handler<AsyncResult<String>> handler) { delegate.unlink(key, handler); return this; }
Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking.
Params:
  • key – Key string
Returns:
Deprecated:use rxUnlink instead
/** * Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking. * @param key Key string * @return * @deprecated use {@link #rxUnlink} instead */
@Deprecated() public Observable<String> unlinkObservable(String key) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); unlink(key, handler.toHandler()); return handler; }
Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking.
Params:
  • key – Key string
Returns:
/** * Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking. * @param key Key string * @return */
public Single<String> rxUnlink(String key) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { unlink(key, fut); })); }
Delete multiple keys asynchronously in another thread. Otherwise it is just as DEL, but non blocking.
Params:
  • keys – List of keys to delete
  • handler – Handler for the result of this call.
Returns:
/** * Delete multiple keys asynchronously in another thread. Otherwise it is just as DEL, but non blocking. * @param keys List of keys to delete * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction unlinkMany(List<String> keys, Handler<AsyncResult<String>> handler) { delegate.unlinkMany(keys, handler); return this; }
Delete multiple keys asynchronously in another thread. Otherwise it is just as DEL, but non blocking.
Params:
  • keys – List of keys to delete
Returns:
Deprecated:use rxUnlinkMany instead
/** * Delete multiple keys asynchronously in another thread. Otherwise it is just as DEL, but non blocking. * @param keys List of keys to delete * @return * @deprecated use {@link #rxUnlinkMany} instead */
@Deprecated() public Observable<String> unlinkManyObservable(List<String> keys) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); unlinkMany(keys, handler.toHandler()); return handler; }
Delete multiple keys asynchronously in another thread. Otherwise it is just as DEL, but non blocking.
Params:
  • keys – List of keys to delete
Returns:
/** * Delete multiple keys asynchronously in another thread. Otherwise it is just as DEL, but non blocking. * @param keys List of keys to delete * @return */
public Single<String> rxUnlinkMany(List<String> keys) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { unlinkMany(keys, fut); })); }
Swaps two Redis databases
Params:
  • index1 – index of first database to swap
  • index2 – index of second database to swap
  • handler – Handler for the result of this call.
Returns:
/** * Swaps two Redis databases * @param index1 index of first database to swap * @param index2 index of second database to swap * @param handler Handler for the result of this call. * @return */
public io.vertx.rxjava.redis.RedisTransaction swapdb(int index1, int index2, Handler<AsyncResult<String>> handler) { delegate.swapdb(index1, index2, handler); return this; }
Swaps two Redis databases
Params:
  • index1 – index of first database to swap
  • index2 – index of second database to swap
Returns:
Deprecated:use rxSwapdb instead
/** * Swaps two Redis databases * @param index1 index of first database to swap * @param index2 index of second database to swap * @return * @deprecated use {@link #rxSwapdb} instead */
@Deprecated() public Observable<String> swapdbObservable(int index1, int index2) { io.vertx.rx.java.ObservableFuture<String> handler = io.vertx.rx.java.RxHelper.observableFuture(); swapdb(index1, index2, handler.toHandler()); return handler; }
Swaps two Redis databases
Params:
  • index1 – index of first database to swap
  • index2 – index of second database to swap
Returns:
/** * Swaps two Redis databases * @param index1 index of first database to swap * @param index2 index of second database to swap * @return */
public Single<String> rxSwapdb(int index1, int index2) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { swapdb(index1, index2, fut); })); } public static RedisTransaction newInstance(io.vertx.redis.RedisTransaction arg) { return arg != null ? new RedisTransaction(arg) : null; } }