# Source: vertx-redis-js/redis_transaction.js

    /*
     * 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.
     */

    /** @module vertx-redis-js/redis_transaction */
    var utils = require('vertx-js/util/utils');
    var Buffer = require('vertx-js/buffer');

    var io = Packages.io;
    var JsonObject = io.vertx.core.json.JsonObject;
    var JRedisTransaction = Java.type('io.vertx.redis.RedisTransaction');
    var KillFilter = Java.type('io.vertx.redis.op.KillFilter');
    var LimitOptions = Java.type('io.vertx.redis.op.LimitOptions');
    var SetOptions = Java.type('io.vertx.redis.op.SetOptions');
    var SortOptions = Java.type('io.vertx.redis.op.SortOptions');
    var MigrateOptions = Java.type('io.vertx.redis.op.MigrateOptions');
    var ScanOptions = Java.type('io.vertx.redis.op.ScanOptions');
    var GeoMember = Java.type('io.vertx.redis.op.GeoMember');
    var GeoRadiusOptions = Java.type('io.vertx.redis.op.GeoRadiusOptions');
    var RangeLimitOptions = Java.type('io.vertx.redis.op.RangeLimitOptions');

    /**
     This Interface represents a TX

     @class
    */
    var RedisTransaction = function(j_val) {

      var j_redisTransaction = j_val;
      var that = this;

      /**
       Close the client - when it is fully closed the handler will be called.

       @public
       @param handler {function}
       */
      this.close = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["close(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(null, null);
          } else {
            handler(null, ar.cause());
          }
        });
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Append a value to a key

       @public
       @param key {string} Key string
       @param value {string} Value to append
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.append = function(key, value, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["append(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Authenticate to the server

       @public
       @param password {string} Password for authentication
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.auth = function(password, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["auth(java.lang.String,io.vertx.core.Handler)"](password, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Asynchronously rewrite the append-only file

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.bgrewriteaof = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["bgrewriteaof(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Asynchronously save the dataset to disk

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.bgsave = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["bgsave(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Count set bits in a string

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.bitcount = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["bitcount(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Count set bits in a string

       @public
       @param key {string} Key string
       @param start {number} Start index
       @param end {number} End index
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.bitcountRange = function(key, start, end, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] === 'function') {
          j_redisTransaction["bitcountRange(java.lang.String,long,long,io.vertx.core.Handler)"](key, start, end, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Perform bitwise operations between strings

       @public
       @param operation {Object} Bitwise operation to perform
       @param destkey {string} Destination key where result is stored
       @param keys {Array.<string>} List of keys on which to perform the operation
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.bitop = function(operation, destkey, keys, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'object' && __args[2] instanceof Array && typeof __args[3] === 'function') {
          j_redisTransaction["bitop(io.vertx.redis.op.BitOperation,java.lang.String,java.util.List,io.vertx.core.Handler)"](io.vertx.redis.op.BitOperation.valueOf(operation), destkey, utils.convParamListBasicOther(keys), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Find first bit set or clear in a string

       @public
       @param key {string} Key string
       @param bit {number} What bit value to look for - must be 1, or 0
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.bitpos = function(key, bit, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["bitpos(java.lang.String,int,io.vertx.core.Handler)"](key, bit, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Find first bit set or clear in a string
       <p>
       See also bitposRange() method, which takes start, and stop offset.

       @public
       @param key {string} Key string
       @param bit {number} What bit value to look for - must be 1, or 0
       @param start {number} Start offset
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.bitposFrom = function(key, bit, start, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] === 'function') {
          j_redisTransaction["bitposFrom(java.lang.String,int,int,io.vertx.core.Handler)"](key, bit, start, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       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

       @public
       @param key {string} Key string
       @param bit {number} What bit value to look for - must be 1, or 0
       @param start {number} Start offset
       @param stop {number} End offset - inclusive
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.bitposRange = function(key, bit, start, stop, handler) {
        var __args = arguments;
        if (__args.length === 5 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] ==='number' && typeof __args[4] === 'function') {
          j_redisTransaction["bitposRange(java.lang.String,int,int,int,io.vertx.core.Handler)"](key, bit, start, stop, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove and get the first element in a list, or block until one is available

       @public
       @param key {string} Key string identifying a list to watch
       @param seconds {number} Timeout in seconds
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.blpop = function(key, seconds, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["blpop(java.lang.String,int,io.vertx.core.Handler)"](key, seconds, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove and get the first element in any of the lists, or block until one is available

       @public
       @param keys {Array.<string>} List of key strings identifying lists to watch
       @param seconds {number} Timeout in seconds
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.blpopMany = function(keys, seconds, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["blpopMany(java.util.List,int,io.vertx.core.Handler)"](utils.convParamListBasicOther(keys), seconds, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove and get the last element in a list, or block until one is available

       @public
       @param key {string} Key string identifying a list to watch
       @param seconds {number} Timeout in seconds
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.brpop = function(key, seconds, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["brpop(java.lang.String,int,io.vertx.core.Handler)"](key, seconds, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove and get the last element in any of the lists, or block until one is available

       @public
       @param keys {Array.<string>} List of key strings identifying lists to watch
       @param seconds {number} Timeout in seconds
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.brpopMany = function(keys, seconds, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["brpopMany(java.util.List,int,io.vertx.core.Handler)"](utils.convParamListBasicOther(keys), seconds, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Pop a value from a list, push it to another list and return it; or block until one is available

       @public
       @param key {string} Key string identifying the source list
       @param destkey {string} Key string identifying the destination list
       @param seconds {number} Timeout in seconds
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.brpoplpush = function(key, destkey, seconds, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] ==='number' && typeof __args[3] === 'function') {
          j_redisTransaction["brpoplpush(java.lang.String,java.lang.String,int,io.vertx.core.Handler)"](key, destkey, seconds, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Kill the connection of a client

       @public
       @param filter {Object} Filter options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clientKill = function(filter, handler) {
        var __args = arguments;
        if (__args.length === 2 && (typeof __args[0] === 'object' && __args[0] != null) && typeof __args[1] === 'function') {
          j_redisTransaction["clientKill(io.vertx.redis.op.KillFilter,io.vertx.core.Handler)"](filter != null ? new KillFilter(new JsonObject(Java.asJSONCompatible(filter))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the list of client connections

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.clientList = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["clientList(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the current connection name

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.clientGetname = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["clientGetname(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Stop processing commands from clients for some time

       @public
       @param millis {number} Pause time in milliseconds
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clientPause = function(millis, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] ==='number' && typeof __args[1] === 'function') {
          j_redisTransaction["clientPause(long,io.vertx.core.Handler)"](millis, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the current connection name

       @public
       @param name {string} New name for current connection
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clientSetname = function(name, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["clientSetname(java.lang.String,io.vertx.core.Handler)"](name, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Assign new hash slots to receiving node.

       @public
       @param slots {Array.<string>}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterAddslots = function(slots, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["clusterAddslots(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(slots), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return the number of failure reports active for a given node.

       @public
       @param nodeId {string}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterCountFailureReports = function(nodeId, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["clusterCountFailureReports(java.lang.String,io.vertx.core.Handler)"](nodeId, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return the number of local keys in the specified hash slot.

       @public
       @param slot {number}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterCountkeysinslot = function(slot, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] ==='number' && typeof __args[1] === 'function') {
          j_redisTransaction["clusterCountkeysinslot(long,io.vertx.core.Handler)"](slot, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set hash slots as unbound in receiving node.

       @public
       @param slot {number}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterDelslots = function(slot, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] ==='number' && typeof __args[1] === 'function') {
          j_redisTransaction["clusterDelslots(long,io.vertx.core.Handler)"](slot, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set hash slots as unbound in receiving node.

       @public
       @param slots {Array.<string>}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterDelslotsMany = function(slots, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["clusterDelslotsMany(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(slots), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Forces a slave to perform a manual failover of its master.

       @public
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterFailover = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["clusterFailover(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Forces a slave to perform a manual failover of its master.

       @public
       @param options {Object}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterFailOverWithOptions = function(options, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["clusterFailOverWithOptions(io.vertx.redis.op.FailoverOptions,io.vertx.core.Handler)"](io.vertx.redis.op.FailoverOptions.valueOf(options), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove a node from the nodes table.

       @public
       @param nodeId {string}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterForget = function(nodeId, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["clusterForget(java.lang.String,io.vertx.core.Handler)"](nodeId, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return local key names in the specified hash slot.

       @public
       @param slot {number}
       @param count {number}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterGetkeysinslot = function(slot, count, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] ==='number' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["clusterGetkeysinslot(long,long,io.vertx.core.Handler)"](slot, count, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Provides info about Redis Cluster node state.

       @public
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterInfo = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["clusterInfo(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Returns the hash slot of the specified key.

       @public
       @param key {string}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterKeyslot = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["clusterKeyslot(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Force a node cluster to handshake with another node.

       @public
       @param ip {string}
       @param port {number}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterMeet = function(ip, port, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["clusterMeet(java.lang.String,long,io.vertx.core.Handler)"](ip, port, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get Cluster config for the node.

       @public
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterNodes = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["clusterNodes(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Reconfigure a node as a slave of the specified master node.

       @public
       @param nodeId {string}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterReplicate = function(nodeId, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["clusterReplicate(java.lang.String,io.vertx.core.Handler)"](nodeId, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Reset a Redis Cluster node.

       @public
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterReset = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["clusterReset(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Reset a Redis Cluster node.

       @public
       @param options {Object}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterResetWithOptions = function(options, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["clusterResetWithOptions(io.vertx.redis.op.ResetOptions,io.vertx.core.Handler)"](io.vertx.redis.op.ResetOptions.valueOf(options), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Forces the node to save cluster state on disk.

       @public
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterSaveconfig = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["clusterSaveconfig(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the configuration epoch in a new node.

       @public
       @param epoch {number}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterSetConfigEpoch = function(epoch, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] ==='number' && typeof __args[1] === 'function') {
          j_redisTransaction["clusterSetConfigEpoch(long,io.vertx.core.Handler)"](epoch, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Bind an hash slot to a specific node.

       @public
       @param slot {number}
       @param subcommand {Object}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterSetslot = function(slot, subcommand, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] ==='number' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["clusterSetslot(long,io.vertx.redis.op.SlotCmd,io.vertx.core.Handler)"](slot, io.vertx.redis.op.SlotCmd.valueOf(subcommand), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Bind an hash slot to a specific node.

       @public
       @param slot {number}
       @param subcommand {Object}
       @param nodeId {string}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterSetslotWithNode = function(slot, subcommand, nodeId, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] ==='number' && typeof __args[1] === 'string' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["clusterSetslotWithNode(long,io.vertx.redis.op.SlotCmd,java.lang.String,io.vertx.core.Handler)"](slot, io.vertx.redis.op.SlotCmd.valueOf(subcommand), nodeId, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       List slave nodes of the specified master node.

       @public
       @param nodeId {string}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.clusterSlaves = function(nodeId, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["clusterSlaves(java.lang.String,io.vertx.core.Handler)"](nodeId, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get array of Cluster slot to node mappings

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.clusterSlots = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["clusterSlots(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get array of Redis command details

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.command = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["command(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get total number of Redis commands

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.commandCount = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["commandCount(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Extract keys given a full Redis command

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.commandGetkeys = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["commandGetkeys(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get array of specific Redis command details

       @public
       @param commands {Array.<string>} List of commands to get info for
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.commandInfo = function(commands, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["commandInfo(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(commands), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the value of a configuration parameter

       @public
       @param parameter {string} Configuration parameter
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.configGet = function(parameter, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["configGet(java.lang.String,io.vertx.core.Handler)"](parameter, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Rewrite the configuration file with the in memory configuration

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.configRewrite = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["configRewrite(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set a configuration parameter to the given value

       @public
       @param parameter {string} Configuration parameter
       @param value {string} New value
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.configSet = function(parameter, value, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["configSet(java.lang.String,java.lang.String,io.vertx.core.Handler)"](parameter, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Reset the stats returned by INFO

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.configResetstat = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["configResetstat(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return the number of keys in the selected database

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.dbsize = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["dbsize(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get debugging information about a key

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.debugObject = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["debugObject(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Make the server crash

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.debugSegfault = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["debugSegfault(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Decrement the integer value of a key by one

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.decr = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["decr(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Decrement the integer value of a key by the given number

       @public
       @param key {string} Key string
       @param decrement {number} Value by which to decrement
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.decrby = function(key, decrement, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["decrby(java.lang.String,long,io.vertx.core.Handler)"](key, decrement, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Delete a key

       @public
       @param key {string} Keys to delete
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.del = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["del(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Delete many keys

       @public
       @param keys {Array.<string>} List of keys to delete
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.delMany = function(keys, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["delMany(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(keys), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Discard all commands issued after MULTI

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.discard = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["discard(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return a serialized version of the value stored at the specified key.

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.dump = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["dump(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Echo the given string

       @public
       @param message {string} String to echo
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.echo = function(message, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["echo(java.lang.String,io.vertx.core.Handler)"](message, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       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.

       @public
       @param script {string} Lua script to evaluate
       @param keys {Array.<string>} List of keys
       @param args {Array.<string>} List of argument values
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.eval = function(script, keys, args, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'object' && __args[2] instanceof Array && typeof __args[3] === 'function') {
          j_redisTransaction["eval(java.lang.String,java.util.List,java.util.List,io.vertx.core.Handler)"](script, utils.convParamListBasicOther(keys), utils.convParamListBasicOther(args), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       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.

       @public
       @param sha1 {string} SHA1 digest of the script cached on the server
       @param keys {Array.<string>} List of keys
       @param values {Array.<string>} List of values
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.evalsha = function(sha1, keys, values, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'object' && __args[2] instanceof Array && typeof __args[3] === 'function') {
          j_redisTransaction["evalsha(java.lang.String,java.util.List,java.util.List,io.vertx.core.Handler)"](sha1, utils.convParamListBasicOther(keys), utils.convParamListBasicOther(values), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Execute all commands issued after MULTI

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.exec = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["exec(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(utils.convReturnJson(ar.result()), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Determine if a key exists

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.exists = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["exists(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set a key's time to live in seconds

       @public
       @param key {string} Key string
       @param seconds {number} Time to live in seconds
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.expire = function(key, seconds, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["expire(java.lang.String,int,io.vertx.core.Handler)"](key, seconds, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the expiration for a key as a UNIX timestamp

       @public
       @param key {string} Key string
       @param seconds {number} Expiry time as Unix timestamp in seconds
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.expireat = function(key, seconds, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["expireat(java.lang.String,long,io.vertx.core.Handler)"](key, seconds, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove all keys from all databases

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.flushall = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["flushall(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove all keys from the current database

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.flushdb = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["flushdb(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the value of a key

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.get = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["get(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the value of a key - without decoding as utf-8

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.getBinary = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["getBinary(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Returns the bit value at offset in the string value stored at key

       @public
       @param key {string} Key string
       @param offset {number} Offset in bits
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.getbit = function(key, offset, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["getbit(java.lang.String,long,io.vertx.core.Handler)"](key, offset, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get a substring of the string stored at a key

       @public
       @param key {string} Key string
       @param start {number} Start offset
       @param end {number} End offset - inclusive
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.getrange = function(key, start, end, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] === 'function') {
          j_redisTransaction["getrange(java.lang.String,long,long,io.vertx.core.Handler)"](key, start, end, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the string value of a key and return its old value

       @public
       @param key {string} Key of which value to set
       @param value {string} New value for the key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.getset = function(key, value, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["getset(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Delete one or more hash fields

       @public
       @param key {string} Key string
       @param field {string} Field name
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hdel = function(key, field, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["hdel(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, field, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Delete one or more hash fields

       @public
       @param key {string} Key string
       @param fields {Array.<string>} Field names
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hdelMany = function(key, fields, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["hdelMany(java.lang.String,java.util.List,io.vertx.core.Handler)"](key, utils.convParamListBasicOther(fields), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Determine if a hash field exists

       @public
       @param key {string} Key string
       @param field {string} Field name
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hexists = function(key, field, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["hexists(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, field, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the value of a hash field

       @public
       @param key {string} Key string
       @param field {string} Field name
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hget = function(key, field, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["hget(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, field, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get all the fields and values in a hash

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hgetall = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["hgetall(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Increment the integer value of a hash field by the given number

       @public
       @param key {string} Key string
       @param field {string} Field name
       @param increment {number} Value by which to increment
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hincrby = function(key, field, increment, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] ==='number' && typeof __args[3] === 'function') {
          j_redisTransaction["hincrby(java.lang.String,java.lang.String,long,io.vertx.core.Handler)"](key, field, increment, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Increment the float value of a hash field by the given amount

       @public
       @param key {string} Key string
       @param field {string} Field name
       @param increment {number} Value by which to increment
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hincrbyfloat = function(key, field, increment, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] ==='number' && typeof __args[3] === 'function') {
          j_redisTransaction["hincrbyfloat(java.lang.String,java.lang.String,double,io.vertx.core.Handler)"](key, field, increment, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get all the fields in a hash

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hkeys = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["hkeys(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the number of fields in a hash

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hlen = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["hlen(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the values of all the given hash fields

       @public
       @param key {string} Key string
       @param fields {Array.<string>} Field names
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hmget = function(key, fields, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["hmget(java.lang.String,java.util.List,io.vertx.core.Handler)"](key, utils.convParamListBasicOther(fields), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set multiple hash fields to multiple values

       @public
       @param key {string} Key string
       @param values {Object} Map of field:value pairs
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hmset = function(key, values, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && (typeof __args[1] === 'object' && __args[1] != null) && typeof __args[2] === 'function') {
          j_redisTransaction["hmset(java.lang.String,io.vertx.core.json.JsonObject,io.vertx.core.Handler)"](key, utils.convParamJsonObject(values), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the string value of a hash field

       @public
       @param key {string} Key string
       @param field {string} Field name
       @param value {string} New value
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hset = function(key, field, value, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["hset(java.lang.String,java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, field, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the value of a hash field, only if the field does not exist

       @public
       @param key {string} Key string
       @param field {string} Field name
       @param value {string} New value
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hsetnx = function(key, field, value, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["hsetnx(java.lang.String,java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, field, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get all the values in a hash

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hvals = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["hvals(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Increment the integer value of a key by one

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.incr = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["incr(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Increment the integer value of a key by the given amount

       @public
       @param key {string} Key string
       @param increment {number} Value by which to increment
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.incrby = function(key, increment, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["incrby(java.lang.String,long,io.vertx.core.Handler)"](key, increment, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Increment the float value of a key by the given amount

       @public
       @param key {string} Key string
       @param increment {number} Value by which to increment
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.incrbyfloat = function(key, increment, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["incrbyfloat(java.lang.String,double,io.vertx.core.Handler)"](key, increment, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get information and statistics about the server

       @public
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.info = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["info(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get information and statistics about the server

       @public
       @param section {string} Specific section of information to return
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.infoSection = function(section, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["infoSection(java.lang.String,io.vertx.core.Handler)"](section, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Find all keys matching the given pattern

       @public
       @param pattern {string} Pattern to limit the keys returned
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.keys = function(pattern, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["keys(java.lang.String,io.vertx.core.Handler)"](pattern, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the UNIX time stamp of the last successful save to disk

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.lastsave = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["lastsave(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get an element from a list by its index

       @public
       @param key {string} Key string
       @param index {number} Index of list element to get
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.lindex = function(key, index, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["lindex(java.lang.String,int,io.vertx.core.Handler)"](key, index, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Insert an element before or after another element in a list

       @public
       @param key {string} Key string
       @param option {Object} BEFORE or AFTER
       @param pivot {string} Key to use as a pivot
       @param value {string} Value to be inserted before or after the pivot
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.linsert = function(key, option, pivot, value, handler) {
        var __args = arguments;
        if (__args.length === 5 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'string' && typeof __args[3] === 'string' && typeof __args[4] === 'function') {
          j_redisTransaction["linsert(java.lang.String,io.vertx.redis.op.InsertOptions,java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, io.vertx.redis.op.InsertOptions.valueOf(option), pivot, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the length of a list

       @public
       @param key {string} String key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.llen = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["llen(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove and get the first element in a list

       @public
       @param key {string} String key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.lpop = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["lpop(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Prepend one or multiple values to a list

       @public
       @param key {string} Key string
       @param values {Array.<string>} Values to be added at the beginning of the list, one by one
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.lpushMany = function(key, values, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["lpushMany(java.lang.String,java.util.List,io.vertx.core.Handler)"](key, utils.convParamListBasicOther(values), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Prepend one value to a list

       @public
       @param key {string} Key string
       @param value {string} Value to be added at the beginning of the list
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.lpush = function(key, value, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["lpush(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Prepend a value to a list, only if the list exists

       @public
       @param key {string} Key string
       @param value {string} Value to add at the beginning of the list
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.lpushx = function(key, value, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["lpushx(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get a range of elements from a list

       @public
       @param key {string} Key string
       @param from {number} Start index
       @param to {number} Stop index
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.lrange = function(key, from, to, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] === 'function') {
          j_redisTransaction["lrange(java.lang.String,long,long,io.vertx.core.Handler)"](key, from, to, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove elements from a list

       @public
       @param key {string} Key string
       @param count {number} Number of first found occurrences equal to $value to remove from the list
       @param value {string} Value to be removed
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.lrem = function(key, count, value, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["lrem(java.lang.String,long,java.lang.String,io.vertx.core.Handler)"](key, count, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the value of an element in a list by its index

       @public
       @param key {string} Key string
       @param index {number} Position within list
       @param value {string} New value
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.lset = function(key, index, value, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["lset(java.lang.String,long,java.lang.String,io.vertx.core.Handler)"](key, index, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Trim a list to the specified range

       @public
       @param key {string} Key string
       @param from {number} Start index
       @param to {number} Stop index
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.ltrim = function(key, from, to, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] === 'function') {
          j_redisTransaction["ltrim(java.lang.String,long,long,io.vertx.core.Handler)"](key, from, to, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the value of the given key

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.mget = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["mget(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the values of all the given keys

       @public
       @param keys {Array.<string>} List of keys to get
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.mgetMany = function(keys, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["mgetMany(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(keys), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Atomically transfer a key from a Redis instance to another one.

       @public
       @param host {string} Destination host
       @param port {number} Destination port
       @param key {string} Key to migrate
       @param destdb {number} Destination database index
       @param timeout {number}
       @param options {Object} Migrate options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.migrate = function(host, port, key, destdb, timeout, options, handler) {
        var __args = arguments;
        if (__args.length === 7 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'string' && typeof __args[3] ==='number' && typeof __args[4] ==='number' && (typeof __args[5] === 'object' && __args[5] != null) && typeof __args[6] === 'function') {
          j_redisTransaction["migrate(java.lang.String,int,java.lang.String,int,long,io.vertx.redis.op.MigrateOptions,io.vertx.core.Handler)"](host, port, key, destdb, timeout, options != null ? new MigrateOptions(new JsonObject(Java.asJSONCompatible(options))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Listen for all requests received by the server in real time

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.monitor = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["monitor(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Move a key to another database

       @public
       @param key {string} Key to migrate
       @param destdb {number} Destination database index
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.move = function(key, destdb, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["move(java.lang.String,int,io.vertx.core.Handler)"](key, destdb, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set multiple keys to multiple values

       @public
       @param keyvals {Object} Key value pairs to set
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.mset = function(keyvals, handler) {
        var __args = arguments;
        if (__args.length === 2 && (typeof __args[0] === 'object' && __args[0] != null) && typeof __args[1] === 'function') {
          j_redisTransaction["mset(io.vertx.core.json.JsonObject,io.vertx.core.Handler)"](utils.convParamJsonObject(keyvals), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set multiple keys to multiple values, only if none of the keys exist

       @public
       @param keyvals {Object} Key value pairs to set
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.msetnx = function(keyvals, handler) {
        var __args = arguments;
        if (__args.length === 2 && (typeof __args[0] === 'object' && __args[0] != null) && typeof __args[1] === 'function') {
          j_redisTransaction["msetnx(io.vertx.core.json.JsonObject,io.vertx.core.Handler)"](utils.convParamJsonObject(keyvals), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Mark the start of a RedisTransaction block

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.multi = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["multi(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Inspect the internals of Redis objects

       @public
       @param key {string} Key string
       @param cmd {Object} Object sub command
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.object = function(key, cmd, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["object(java.lang.String,io.vertx.redis.op.ObjectCmd,io.vertx.core.Handler)"](key, io.vertx.redis.op.ObjectCmd.valueOf(cmd), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove the expiration from a key

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.persist = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["persist(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set a key's time to live in milliseconds

       @public
       @param key {string} String key
       @param millis {number} Time to live in milliseconds
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.pexpire = function(key, millis, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["pexpire(java.lang.String,long,io.vertx.core.Handler)"](key, millis, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the expiration for a key as a UNIX timestamp specified in milliseconds

       @public
       @param key {string} Key string
       @param millis {number} Expiry time as Unix timestamp in milliseconds
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.pexpireat = function(key, millis, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["pexpireat(java.lang.String,long,io.vertx.core.Handler)"](key, millis, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Adds the specified element to the specified HyperLogLog.

       @public
       @param key {string} Key string
       @param element {string} Element to add
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.pfadd = function(key, element, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["pfadd(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, element, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Adds the specified elements to the specified HyperLogLog.

       @public
       @param key {string} Key string
       @param elements {Array.<string>} Elementa to add
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.pfaddMany = function(key, elements, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["pfaddMany(java.lang.String,java.util.List,io.vertx.core.Handler)"](key, utils.convParamListBasicOther(elements), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return the approximated cardinality of the set observed by the HyperLogLog at key.

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.pfcount = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["pfcount(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).

       @public
       @param keys {Array.<string>} List of keys
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.pfcountMany = function(keys, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["pfcountMany(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(keys), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Merge N different HyperLogLogs into a single one.

       @public
       @param destkey {string} Destination key
       @param keys {Array.<string>} List of source keys
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.pfmerge = function(destkey, keys, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["pfmerge(java.lang.String,java.util.List,io.vertx.core.Handler)"](destkey, utils.convParamListBasicOther(keys), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Ping the server

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.ping = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["ping(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the value and expiration in milliseconds of a key

       @public
       @param key {string} Key string
       @param millis {number} Number of milliseconds until the key expires
       @param value {string} New value for key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.psetex = function(key, millis, value, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["psetex(java.lang.String,long,java.lang.String,io.vertx.core.Handler)"](key, millis, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Listen for messages published to channels matching the given pattern

       @public
       @param pattern {string} Pattern string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.psubscribe = function(pattern, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["psubscribe(java.lang.String,io.vertx.core.Handler)"](pattern, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Listen for messages published to channels matching the given patterns

       @public
       @param patterns {Array.<string>} List of patterns
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.psubscribeMany = function(patterns, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["psubscribeMany(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(patterns), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Lists the currently active channels - only those matching the pattern

       @public
       @param pattern {string} A glob-style pattern - an empty string means no pattern
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.pubsubChannels = function(pattern, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["pubsubChannels(java.lang.String,io.vertx.core.Handler)"](pattern, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels

       @public
       @param channels {Array.<string>} List of channels
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.pubsubNumsub = function(channels, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["pubsubNumsub(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(channels), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command)

       @public
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.pubsubNumpat = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["pubsubNumpat(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the time to live for a key in milliseconds

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.pttl = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["pttl(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Post a message to a channel

       @public
       @param channel {string} Channel key
       @param message {string} Message to send to channel
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.publish = function(channel, message, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["publish(java.lang.String,java.lang.String,io.vertx.core.Handler)"](channel, message, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Stop listening for messages posted to channels matching the given patterns

       @public
       @param patterns {Array.<string>} List of patterns to match against
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.punsubscribe = function(patterns, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["punsubscribe(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(patterns), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return a random key from the keyspace

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.randomkey = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["randomkey(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Rename a key

       @public
       @param key {string} Key string to be renamed
       @param newkey {string} New key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.rename = function(key, newkey, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["rename(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, newkey, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Rename a key, only if the new key does not exist

       @public
       @param key {string} Key string to be renamed
       @param newkey {string} New key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.renamenx = function(key, newkey, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["renamenx(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, newkey, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Create a key using the provided serialized value, previously obtained using DUMP.

       @public
       @param key {string} Key string
       @param millis {number} Expiry time in milliseconds to set on the key
       @param serialized {string} Serialized form of the key value as obtained using DUMP
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.restore = function(key, millis, serialized, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["restore(java.lang.String,long,java.lang.String,io.vertx.core.Handler)"](key, millis, serialized, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return the role of the instance in the context of replication

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.role = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["role(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove and get the last element in a list

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.rpop = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["rpop(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove the last element in a list, append it to another list and return it

       @public
       @param key {string} Key string identifying source list
       @param destkey {string} Key string identifying destination list
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.rpoplpush = function(key, destkey, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["rpoplpush(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, destkey, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Append one or multiple values to a list

       @public
       @param key {string} Key string
       @param values {Array.<string>} List of values to add to the end of the list
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.rpushMany = function(key, values, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["rpushMany(java.lang.String,java.util.List,io.vertx.core.Handler)"](key, utils.convParamListBasicOther(values), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Append one or multiple values to a list

       @public
       @param key {string} Key string
       @param value {string} Value to be added to the end of the list
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.rpush = function(key, value, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["rpush(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Append a value to a list, only if the list exists

       @public
       @param key {string} Key string
       @param value {string} Value to be added to the end of the list
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.rpushx = function(key, value, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["rpushx(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Add a member to a set

       @public
       @param key {string} Key string
       @param member {string} Value to be added to the set
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.sadd = function(key, member, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["sadd(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, member, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Add one or more members to a set

       @public
       @param key {string} Key string
       @param members {Array.<string>} Values to be added to the set
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.saddMany = function(key, members, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["saddMany(java.lang.String,java.util.List,io.vertx.core.Handler)"](key, utils.convParamListBasicOther(members), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Synchronously save the dataset to disk

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.save = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["save(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the number of members in a set

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.scard = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["scard(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Check existence of script in the script cache.

       @public
       @param script {string} SHA1 digest identifying a script in the script cache
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.scriptExists = function(script, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["scriptExists(java.lang.String,io.vertx.core.Handler)"](script, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Check existence of scripts in the script cache.

       @public
       @param scripts {Array.<string>} List of SHA1 digests identifying scripts in the script cache
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.scriptExistsMany = function(scripts, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["scriptExistsMany(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(scripts), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove all the scripts from the script cache.

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.scriptFlush = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["scriptFlush(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Kill the script currently in execution.

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.scriptKill = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["scriptKill(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Load the specified Lua script into the script cache.

       @public
       @param script {string} Lua script
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.scriptLoad = function(script, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["scriptLoad(java.lang.String,io.vertx.core.Handler)"](script, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Subtract multiple sets

       @public
       @param key {string} Key identifying the set to compare with all other sets combined
       @param cmpkeys {Array.<string>} List of keys identifying sets to subtract from the key set
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.sdiff = function(key, cmpkeys, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["sdiff(java.lang.String,java.util.List,io.vertx.core.Handler)"](key, utils.convParamListBasicOther(cmpkeys), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Subtract multiple sets and store the resulting set in a key

       @public
       @param destkey {string} Destination key where the result should be stored
       @param key {string} Key identifying the set to compare with all other sets combined
       @param cmpkeys {Array.<string>} List of keys identifying sets to subtract from the key set
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.sdiffstore = function(destkey, key, cmpkeys, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'object' && __args[2] instanceof Array && typeof __args[3] === 'function') {
          j_redisTransaction["sdiffstore(java.lang.String,java.lang.String,java.util.List,io.vertx.core.Handler)"](destkey, key, utils.convParamListBasicOther(cmpkeys), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Change the selected database for the current connection

       @public
       @param dbindex {number} Index identifying the new active database
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.select = function(dbindex, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] ==='number' && typeof __args[1] === 'function') {
          j_redisTransaction["select(int,io.vertx.core.Handler)"](dbindex, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the string value of a key

       @public
       @param key {string} Key of which value to set
       @param value {string} New value for the key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.set = function(key, value, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["set(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the string value of a key

       @public
       @param key {string} Key of which value to set
       @param value {string} New value for the key
       @param options {Object} Set options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.setWithOptions = function(key, value, options, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && (typeof __args[2] === 'object' && __args[2] != null) && typeof __args[3] === 'function') {
          j_redisTransaction["setWithOptions(java.lang.String,java.lang.String,io.vertx.redis.op.SetOptions,io.vertx.core.Handler)"](key, value, options != null ? new SetOptions(new JsonObject(Java.asJSONCompatible(options))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the binary string value of a key - without encoding as utf-8

       @public
       @param key {string} Key of which value to set
       @param value {Buffer} New value for the key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.setBinary = function(key, value, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1]._jdel && typeof __args[2] === 'function') {
          j_redisTransaction["setBinary(java.lang.String,io.vertx.core.buffer.Buffer,io.vertx.core.Handler)"](key, value._jdel, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the string value of a key

       @public
       @param key {string} Key of which value to set
       @param value {Buffer} New value for the key
       @param options {Object} Set options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.setBinaryWithOptions = function(key, value, options, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1]._jdel && (typeof __args[2] === 'object' && __args[2] != null) && typeof __args[3] === 'function') {
          j_redisTransaction["setBinaryWithOptions(java.lang.String,io.vertx.core.buffer.Buffer,io.vertx.redis.op.SetOptions,io.vertx.core.Handler)"](key, value._jdel, options != null ? new SetOptions(new JsonObject(Java.asJSONCompatible(options))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Sets or clears the bit at offset in the string value stored at key

       @public
       @param key {string} Key string
       @param offset {number} Bit offset
       @param bit {number} New value - must be 1 or 0
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.setbit = function(key, offset, bit, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] === 'function') {
          j_redisTransaction["setbit(java.lang.String,long,int,io.vertx.core.Handler)"](key, offset, bit, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the value and expiration of a key

       @public
       @param key {string} Key string
       @param seconds {number} Number of seconds until the key expires
       @param value {string} New value for key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.setex = function(key, seconds, value, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["setex(java.lang.String,long,java.lang.String,io.vertx.core.Handler)"](key, seconds, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Set the value of a key, only if the key does not exist

       @public
       @param key {string} Key of which value to set
       @param value {string} New value for the key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.setnx = function(key, value, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["setnx(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Overwrite part of a string at key starting at the specified offset

       @public
       @param key {string} Key string
       @param offset {number} Offset - the maximum offset that you can set is 2^29 -1 (536870911), as Redis Strings are limited to 512 megabytes
       @param value {string} Value to overwrite with
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.setrange = function(key, offset, value, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["setrange(java.lang.String,int,java.lang.String,io.vertx.core.Handler)"](key, offset, value, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Intersect multiple sets

       @public
       @param keys {Array.<string>} List of keys to perform intersection on
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.sinter = function(keys, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["sinter(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(keys), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Intersect multiple sets and store the resulting set in a key

       @public
       @param destkey {string} Key where to store the results
       @param keys {Array.<string>} List of keys to perform intersection on
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.sinterstore = function(destkey, keys, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["sinterstore(java.lang.String,java.util.List,io.vertx.core.Handler)"](destkey, utils.convParamListBasicOther(keys), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Determine if a given value is a member of a set

       @public
       @param key {string} Key string
       @param member {string} Member to look for
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.sismember = function(key, member, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["sismember(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, member, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Make the server a slave of another instance

       @public
       @param host {string} Host to become this server's master
       @param port {number} Port of our new master
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.slaveof = function(host, port, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["slaveof(java.lang.String,int,io.vertx.core.Handler)"](host, port, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Make this server a master

       @public
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.slaveofNoone = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["slaveofNoone(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Read the Redis slow queries log

       @public
       @param limit {number} Number of log entries to return. If value is less than zero all entries are returned
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.slowlogGet = function(limit, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] ==='number' && typeof __args[1] === 'function') {
          j_redisTransaction["slowlogGet(int,io.vertx.core.Handler)"](limit, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the length of the Redis slow queries log

       @public
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.slowlogLen = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["slowlogLen(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Reset the Redis slow queries log

       @public
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.slowlogReset = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["slowlogReset(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get all the members in a set

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.smembers = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["smembers(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(utils.convReturnJson(ar.result()), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Move a member from one set to another

       @public
       @param key {string} Key of source set currently containing the member
       @param destkey {string} Key identifying the destination set
       @param member {string} Member to move
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.smove = function(key, destkey, member, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["smove(java.lang.String,java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, destkey, member, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Sort the elements in a list, set or sorted set

       @public
       @param key {string} Key string
       @param options {Object} Sort options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.sort = function(key, options, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && (typeof __args[1] === 'object' && __args[1] != null) && typeof __args[2] === 'function') {
          j_redisTransaction["sort(java.lang.String,io.vertx.redis.op.SortOptions,io.vertx.core.Handler)"](key, options != null ? new SortOptions(new JsonObject(Java.asJSONCompatible(options))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove and return a random member from a set

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.spop = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["spop(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove and return random members from a set

       @public
       @param key {string} Key string
       @param count {number} Number of members to remove
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.spopMany = function(key, count, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["spopMany(java.lang.String,int,io.vertx.core.Handler)"](key, count, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get one or multiple random members from a set

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.srandmember = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["srandmember(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get one or multiple random members from a set

       @public
       @param key {string} Key string
       @param count {number} Number of members to get
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.srandmemberCount = function(key, count, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["srandmemberCount(java.lang.String,int,io.vertx.core.Handler)"](key, count, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove one member from a set

       @public
       @param key {string} Key string
       @param member {string} Member to remove
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.srem = function(key, member, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["srem(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, member, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove one or more members from a set

       @public
       @param key {string} Key string
       @param members {Array.<string>} Members to remove
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.sremMany = function(key, members, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["sremMany(java.lang.String,java.util.List,io.vertx.core.Handler)"](key, utils.convParamListBasicOther(members), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the length of the value stored in a key

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.strlen = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["strlen(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Listen for messages published to the given channels

       @public
       @param channel {string} Channel to subscribe to
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.subscribe = function(channel, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["subscribe(java.lang.String,io.vertx.core.Handler)"](channel, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Listen for messages published to the given channels

       @public
       @param channels {Array.<string>} List of channels to subscribe to
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.subscribeMany = function(channels, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["subscribeMany(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(channels), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Add multiple sets

       @public
       @param keys {Array.<string>} List of keys identifying sets to add up
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.sunion = function(keys, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["sunion(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(keys), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Add multiple sets and store the resulting set in a key

       @public
       @param destkey {string} Destination key
       @param keys {Array.<string>} List of keys identifying sets to add up
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.sunionstore = function(destkey, keys, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["sunionstore(java.lang.String,java.util.List,io.vertx.core.Handler)"](destkey, utils.convParamListBasicOther(keys), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Internal command used for replication

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.sync = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["sync(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return the current server time

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.time = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["time(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the time to live for a key

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.ttl = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["ttl(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Determine the type stored at key

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.type = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["type(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Stop listening for messages posted to the given channels

       @public
       @param channels {Array.<string>} List of channels to subscribe to
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.unsubscribe = function(channels, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["unsubscribe(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(channels), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Forget about all watched keys

       @public
       @param handler {function}
       @return {RedisTransaction}
       */
      this.unwatch = function(handler) {
        var __args = arguments;
        if (__args.length === 1 && typeof __args[0] === 'function') {
          j_redisTransaction["unwatch(io.vertx.core.Handler)"](function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Wait for the synchronous replication of all the write commands sent in the context of the current connection.

       @public
       @param numSlaves {number}
       @param timeout {number}
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.wait = function(numSlaves, timeout, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] ==='number' && typeof __args[1] ==='number' && typeof __args[2] === 'function') {
          j_redisTransaction["wait(long,long,io.vertx.core.Handler)"](numSlaves, timeout, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Watch the given keys to determine execution of the MULTI/EXEC block

       @public
       @param key {string} Key to watch
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.watch = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["watch(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Watch the given keys to determine execution of the MULTI/EXEC block

       @public
       @param keys {Array.<string>} List of keys to watch
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.watchMany = function(keys, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'object' && __args[0] instanceof Array && typeof __args[1] === 'function') {
          j_redisTransaction["watchMany(java.util.List,io.vertx.core.Handler)"](utils.convParamListBasicOther(keys), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Add one or more members to a sorted set, or update its score if it already exists

       @public
       @param key {string} Key string
       @param score {number} Score used for sorting
       @param member {string} New member key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zadd = function(key, score, member, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["zadd(java.lang.String,double,java.lang.String,io.vertx.core.Handler)"](key, score, member, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Add one or more members to a sorted set, or update its score if it already exists

       @public
       @param key {string} Key string
       @param members {Array.<string>} New member keys and their scores
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zaddMany = function(key, members, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && (typeof __args[1] === 'object' && __args[1] != null) && typeof __args[2] === 'function') {
          j_redisTransaction["zaddMany(java.lang.String,java.util.Map,io.vertx.core.Handler)"](key, members, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the number of members in a sorted set

       @public
       @param key {string} Key string
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zcard = function(key, handler) {
        var __args = arguments;
        if (__args.length === 2 && typeof __args[0] === 'string' && typeof __args[1] === 'function') {
          j_redisTransaction["zcard(java.lang.String,io.vertx.core.Handler)"](key, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Count the members in a sorted set with scores within the given values

       @public
       @param key {string} Key string
       @param min {number} Minimum score
       @param max {number} Maximum score
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zcount = function(key, min, max, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] === 'function') {
          j_redisTransaction["zcount(java.lang.String,double,double,io.vertx.core.Handler)"](key, min, max, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Increment the score of a member in a sorted set

       @public
       @param key {string} Key string
       @param increment {number} Increment amount
       @param member {string} Member key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zincrby = function(key, increment, member, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["zincrby(java.lang.String,double,java.lang.String,io.vertx.core.Handler)"](key, increment, member, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Intersect multiple sorted sets and store the resulting sorted set in a new key

       @public
       @param destkey {string} Destination key
       @param sets {Array.<string>} List of keys identifying sorted sets to intersect
       @param options {Object} Aggregation options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zinterstore = function(destkey, sets, options, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["zinterstore(java.lang.String,java.util.List,io.vertx.redis.op.AggregateOptions,io.vertx.core.Handler)"](destkey, utils.convParamListBasicOther(sets), io.vertx.redis.op.AggregateOptions.valueOf(options), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Intersect multiple sorted sets and store the resulting sorted set in a new key using weights for scoring

       @public
       @param destkey {string} Destination key
       @param sets {Array.<string>} List of keys identifying sorted sets to intersect
       @param options {Object} Aggregation options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zinterstoreWeighed = function(destkey, sets, options, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && (typeof __args[1] === 'object' && __args[1] != null) && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["zinterstoreWeighed(java.lang.String,java.util.Map,io.vertx.redis.op.AggregateOptions,io.vertx.core.Handler)"](destkey, sets, io.vertx.redis.op.AggregateOptions.valueOf(options), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Count the number of members in a sorted set between a given lexicographical range

       @public
       @param key {string} Key string
       @param min {string} Pattern to compare against for minimum value
       @param max {string} Pattern to compare against for maximum value
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zlexcount = function(key, min, max, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["zlexcount(java.lang.String,java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, min, max, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return a range of members in a sorted set, by index

       @public
       @param key {string} Key string
       @param start {number} Start index for the range
       @param stop {number} Stop index for the range - inclusive
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zrange = function(key, start, stop, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] === 'function') {
          j_redisTransaction["zrange(java.lang.String,long,long,io.vertx.core.Handler)"](key, start, stop, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return a range of members in a sorted set, by index

       @public
       @param key {string} Key string
       @param start {number} Start index for the range
       @param stop {number} Stop index for the range - inclusive
       @param options {Object} Range options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zrangeWithOptions = function(key, start, stop, options, handler) {
        var __args = arguments;
        if (__args.length === 5 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] === 'string' && typeof __args[4] === 'function') {
          j_redisTransaction["zrangeWithOptions(java.lang.String,long,long,io.vertx.redis.op.RangeOptions,io.vertx.core.Handler)"](key, start, stop, io.vertx.redis.op.RangeOptions.valueOf(options), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return a range of members in a sorted set, by lexicographical range

       @public
       @param key {string} Key string
       @param min {string} Pattern representing a minimum allowed value
       @param max {string} Pattern representing a maximum allowed value
       @param options {Object} Limit options where limit can be specified
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zrangebylex = function(key, min, max, options, handler) {
        var __args = arguments;
        if (__args.length === 5 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'string' && (typeof __args[3] === 'object' && __args[3] != null) && typeof __args[4] === 'function') {
          j_redisTransaction["zrangebylex(java.lang.String,java.lang.String,java.lang.String,io.vertx.redis.op.LimitOptions,io.vertx.core.Handler)"](key, min, max, options != null ? new LimitOptions(new JsonObject(Java.asJSONCompatible(options))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return a range of members in a sorted set, by score

       @public
       @param key {string} Key string
       @param min {string} Pattern defining a minimum value
       @param max {string} Pattern defining a maximum value
       @param options {Object} Range and limit options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zrangebyscore = function(key, min, max, options, handler) {
        var __args = arguments;
        if (__args.length === 5 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'string' && (typeof __args[3] === 'object' && __args[3] != null) && typeof __args[4] === 'function') {
          j_redisTransaction["zrangebyscore(java.lang.String,java.lang.String,java.lang.String,io.vertx.redis.op.RangeLimitOptions,io.vertx.core.Handler)"](key, min, max, options != null ? new RangeLimitOptions(new JsonObject(Java.asJSONCompatible(options))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Determine the index of a member in a sorted set

       @public
       @param key {string} Key string
       @param member {string} Member in the sorted set identified by key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zrank = function(key, member, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["zrank(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, member, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove one member from a sorted set

       @public
       @param key {string} Key string
       @param member {string} Member in the sorted set identified by key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zrem = function(key, member, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["zrem(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, member, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove one or more members from a sorted set

       @public
       @param key {string} Key string
       @param members {Array.<string>} Members in the sorted set identified by key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zremMany = function(key, members, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["zremMany(java.lang.String,java.util.List,io.vertx.core.Handler)"](key, utils.convParamListBasicOther(members), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove all members in a sorted set between the given lexicographical range

       @public
       @param key {string} Key string
       @param min {string} Pattern defining a minimum value
       @param max {string} Pattern defining a maximum value
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zremrangebylex = function(key, min, max, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["zremrangebylex(java.lang.String,java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, min, max, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove all members in a sorted set within the given indexes

       @public
       @param key {string} Key string
       @param start {number} Start index
       @param stop {number} Stop index
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zremrangebyrank = function(key, start, stop, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] === 'function') {
          j_redisTransaction["zremrangebyrank(java.lang.String,long,long,io.vertx.core.Handler)"](key, start, stop, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Remove all members in a sorted set within the given scores

       @public
       @param key {string} Key string
       @param min {string} Pattern defining a minimum value
       @param max {string} Pattern defining a maximum value
       @param handler {function}
       @return {RedisTransaction}
       */
      this.zremrangebyscore = function(key, min, max, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["zremrangebyscore(java.lang.String,java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, min, max, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return a range of members in a sorted set, by index, with scores ordered from high to low

       @public
       @param key {string} Key string
       @param start {number} Start index for the range
       @param stop {number} Stop index for the range - inclusive
       @param options {Object} Range options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zrevrange = function(key, start, stop, options, handler) {
        var __args = arguments;
        if (__args.length === 5 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] === 'string' && typeof __args[4] === 'function') {
          j_redisTransaction["zrevrange(java.lang.String,long,long,io.vertx.redis.op.RangeOptions,io.vertx.core.Handler)"](key, start, stop, io.vertx.redis.op.RangeOptions.valueOf(options), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return a range of members in a sorted set, by score, between the given lexicographical range with scores ordered from high to low

       @public
       @param key {string} Key string
       @param max {string} Pattern defining a maximum value
       @param min {string} Pattern defining a minimum value
       @param options {Object} Limit options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zrevrangebylex = function(key, max, min, options, handler) {
        var __args = arguments;
        if (__args.length === 5 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'string' && (typeof __args[3] === 'object' && __args[3] != null) && typeof __args[4] === 'function') {
          j_redisTransaction["zrevrangebylex(java.lang.String,java.lang.String,java.lang.String,io.vertx.redis.op.LimitOptions,io.vertx.core.Handler)"](key, max, min, options != null ? new LimitOptions(new JsonObject(Java.asJSONCompatible(options))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return a range of members in a sorted set, by score, with scores ordered from high to low

       @public
       @param key {string} Key string
       @param max {string} Pattern defining a maximum value
       @param min {string} Pattern defining a minimum value
       @param options {Object} Range and limit options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zrevrangebyscore = function(key, max, min, options, handler) {
        var __args = arguments;
        if (__args.length === 5 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'string' && (typeof __args[3] === 'object' && __args[3] != null) && typeof __args[4] === 'function') {
          j_redisTransaction["zrevrangebyscore(java.lang.String,java.lang.String,java.lang.String,io.vertx.redis.op.RangeLimitOptions,io.vertx.core.Handler)"](key, max, min, options != null ? new RangeLimitOptions(new JsonObject(Java.asJSONCompatible(options))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Determine the index of a member in a sorted set, with scores ordered from high to low

       @public
       @param key {string} Key string
       @param member {string} Member in the sorted set identified by key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zrevrank = function(key, member, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["zrevrank(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, member, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Get the score associated with the given member in a sorted set

       @public
       @param key {string} Key string
       @param member {string} Member in the sorted set identified by key
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zscore = function(key, member, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["zscore(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, member, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Add multiple sorted sets and store the resulting sorted set in a new key

       @public
       @param destkey {string} Destination key
       @param sets {Array.<string>} List of keys identifying sorted sets
       @param options {Object} Aggregation options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zunionstore = function(destkey, sets, options, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["zunionstore(java.lang.String,java.util.List,io.vertx.redis.op.AggregateOptions,io.vertx.core.Handler)"](destkey, utils.convParamListBasicOther(sets), io.vertx.redis.op.AggregateOptions.valueOf(options), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Add multiple sorted sets using weights, and store the resulting sorted set in a new key

       @public
       @param key {string} Destination key
       @param sets {Array.<string>} Map containing set-key:weight pairs
       @param options {Object} Aggregation options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zunionstoreWeighed = function(key, sets, options, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && (typeof __args[1] === 'object' && __args[1] != null) && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["zunionstoreWeighed(java.lang.String,java.util.Map,io.vertx.redis.op.AggregateOptions,io.vertx.core.Handler)"](key, sets, io.vertx.redis.op.AggregateOptions.valueOf(options), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Incrementally iterate the keys space

       @public
       @param cursor {string} Cursor id
       @param options {Object} Scan options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.scan = function(cursor, options, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && (typeof __args[1] === 'object' && __args[1] != null) && typeof __args[2] === 'function') {
          j_redisTransaction["scan(java.lang.String,io.vertx.redis.op.ScanOptions,io.vertx.core.Handler)"](cursor, options != null ? new ScanOptions(new JsonObject(Java.asJSONCompatible(options))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Incrementally iterate Set elements

       @public
       @param key {string} Key string
       @param cursor {string} Cursor id
       @param options {Object} Scan options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.sscan = function(key, cursor, options, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && (typeof __args[2] === 'object' && __args[2] != null) && typeof __args[3] === 'function') {
          j_redisTransaction["sscan(java.lang.String,java.lang.String,io.vertx.redis.op.ScanOptions,io.vertx.core.Handler)"](key, cursor, options != null ? new ScanOptions(new JsonObject(Java.asJSONCompatible(options))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Incrementally iterate hash fields and associated values

       @public
       @param key {string} Key string
       @param cursor {string} Cursor id
       @param options {Object} Scan options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.hscan = function(key, cursor, options, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && (typeof __args[2] === 'object' && __args[2] != null) && typeof __args[3] === 'function') {
          j_redisTransaction["hscan(java.lang.String,java.lang.String,io.vertx.redis.op.ScanOptions,io.vertx.core.Handler)"](key, cursor, options != null ? new ScanOptions(new JsonObject(Java.asJSONCompatible(options))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Incrementally iterate sorted sets elements and associated scores

       @public
       @param key {string} Key string
       @param cursor {string} Cursor id
       @param options {Object} Scan options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.zscan = function(key, cursor, options, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && (typeof __args[2] === 'object' && __args[2] != null) && typeof __args[3] === 'function') {
          j_redisTransaction["zscan(java.lang.String,java.lang.String,io.vertx.redis.op.ScanOptions,io.vertx.core.Handler)"](key, cursor, options != null ? new ScanOptions(new JsonObject(Java.asJSONCompatible(options))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Add one or more geospatial items in the geospatial index represented using a sorted set.

       @public
       @param key {string} Key string
       @param longitude {number} longitude
       @param latitude {number} latitude
       @param member {string} member
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.geoadd = function(key, longitude, latitude, member, handler) {
        var __args = arguments;
        if (__args.length === 5 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] === 'string' && typeof __args[4] === 'function') {
          j_redisTransaction["geoadd(java.lang.String,double,double,java.lang.String,io.vertx.core.Handler)"](key, longitude, latitude, member, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Add one or more geospatial items in the geospatial index represented using a sorted set.

       @public
       @param key {string} Key string
       @param members {Array.<Object>} list of &lt;lon, lat, member&gt;
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.geoaddMany = function(key, members, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["geoaddMany(java.lang.String,java.util.List,io.vertx.core.Handler)"](key, utils.convParamListDataObject(members, function(json) { return new GeoMember(json); }), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       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).

       @public
       @param key {string} Key string
       @param member {string} member
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.geohash = function(key, member, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["geohash(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, member, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       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).

       @public
       @param key {string} Key string
       @param members {Array.<string>} list of members
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.geohashMany = function(key, members, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["geohashMany(java.lang.String,java.util.List,io.vertx.core.Handler)"](key, utils.convParamListBasicOther(members), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the
       sorted set at key.

       @public
       @param key {string} Key string
       @param member {string} member
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.geopos = function(key, member, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'function') {
          j_redisTransaction["geopos(java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, member, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the
       sorted set at key.

       @public
       @param key {string} Key string
       @param members {Array.<string>} list of members
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.geoposMany = function(key, members, handler) {
        var __args = arguments;
        if (__args.length === 3 && typeof __args[0] === 'string' && typeof __args[1] === 'object' && __args[1] instanceof Array && typeof __args[2] === 'function') {
          j_redisTransaction["geoposMany(java.lang.String,java.util.List,io.vertx.core.Handler)"](key, utils.convParamListBasicOther(members), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return the distance between two members in the geospatial index represented by the sorted set.

       @public
       @param key {string} Key string
       @param member1 {string} member 1
       @param member2 {string} member 2
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.geodist = function(key, member1, member2, handler) {
        var __args = arguments;
        if (__args.length === 4 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'string' && typeof __args[3] === 'function') {
          j_redisTransaction["geodist(java.lang.String,java.lang.String,java.lang.String,io.vertx.core.Handler)"](key, member1, member2, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       Return the distance between two members in the geospatial index represented by the sorted set.

       @public
       @param key {string} Key string
       @param member1 {string} member 1
       @param member2 {string} member 2
       @param unit {Object} geo unit
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.geodistWithUnit = function(key, member1, member2, unit, handler) {
        var __args = arguments;
        if (__args.length === 5 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] === 'string' && typeof __args[3] === 'string' && typeof __args[4] === 'function') {
          j_redisTransaction["geodistWithUnit(java.lang.String,java.lang.String,java.lang.String,io.vertx.redis.op.GeoUnit,io.vertx.core.Handler)"](key, member1, member2, io.vertx.redis.op.GeoUnit.valueOf(unit), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       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).

       @public
       @param key {string} Key string
       @param longitude {number} longitude
       @param latitude {number} latitude
       @param radius {number} radius
       @param unit {Object} geo unit
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.georadius = function(key, longitude, latitude, radius, unit, handler) {
        var __args = arguments;
        if (__args.length === 6 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] ==='number' && typeof __args[4] === 'string' && typeof __args[5] === 'function') {
          j_redisTransaction["georadius(java.lang.String,double,double,double,io.vertx.redis.op.GeoUnit,io.vertx.core.Handler)"](key, longitude, latitude, radius, io.vertx.redis.op.GeoUnit.valueOf(unit), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       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).

       @public
       @param key {string} Key string
       @param longitude {number} longitude
       @param latitude {number} latitude
       @param radius {number} radius
       @param unit {Object} geo unit
       @param options {Object} geo radius options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.georadiusWithOptions = function(key, longitude, latitude, radius, unit, options, handler) {
        var __args = arguments;
        if (__args.length === 7 && typeof __args[0] === 'string' && typeof __args[1] ==='number' && typeof __args[2] ==='number' && typeof __args[3] ==='number' && typeof __args[4] === 'string' && (typeof __args[5] === 'object' && __args[5] != null) && typeof __args[6] === 'function') {
          j_redisTransaction["georadiusWithOptions(java.lang.String,double,double,double,io.vertx.redis.op.GeoUnit,io.vertx.redis.op.GeoRadiusOptions,io.vertx.core.Handler)"](key, longitude, latitude, radius, io.vertx.redis.op.GeoUnit.valueOf(unit), options != null ? new GeoRadiusOptions(new JsonObject(Java.asJSONCompatible(options))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       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.

       @public
       @param key {string} Key string
       @param member {string} member
       @param radius {number} radius
       @param unit {Object} geo unit
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.georadiusbymember = function(key, member, radius, unit, handler) {
        var __args = arguments;
        if (__args.length === 5 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] ==='number' && typeof __args[3] === 'string' && typeof __args[4] === 'function') {
          j_redisTransaction["georadiusbymember(java.lang.String,java.lang.String,double,io.vertx.redis.op.GeoUnit,io.vertx.core.Handler)"](key, member, radius, io.vertx.redis.op.GeoUnit.valueOf(unit), function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      /**
       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.

       @public
       @param key {string} Key string
       @param member {string} member
       @param radius {number} radius
       @param unit {Object} geo unit
       @param options {Object} geo radius options
       @param handler {function} Handler for the result of this call.
       @return {RedisTransaction}
       */
      this.georadiusbymemberWithOptions = function(key, member, radius, unit, options, handler) {
        var __args = arguments;
        if (__args.length === 6 && typeof __args[0] === 'string' && typeof __args[1] === 'string' && typeof __args[2] ==='number' && typeof __args[3] === 'string' && (typeof __args[4] === 'object' && __args[4] != null) && typeof __args[5] === 'function') {
          j_redisTransaction["georadiusbymemberWithOptions(java.lang.String,java.lang.String,double,io.vertx.redis.op.GeoUnit,io.vertx.redis.op.GeoRadiusOptions,io.vertx.core.Handler)"](key, member, radius, io.vertx.redis.op.GeoUnit.valueOf(unit), options != null ? new GeoRadiusOptions(new JsonObject(Java.asJSONCompatible(options))) : null, function(ar) {
          if (ar.succeeded()) {
            handler(ar.result(), null);
          } else {
            handler(null, ar.cause());
          }
        });
          return that;
        } else throw new TypeError('function invoked with invalid arguments');
      };

      // A reference to the underlying Java delegate
      // NOTE! This is an internal API and must not be used in user code.
      // If you rely on this property your code is likely to break if we change it / remove it without warning.
      this._jdel = j_redisTransaction;
    };

    RedisTransaction._jclass = utils.getJavaClass("io.vertx.redis.RedisTransaction");
    RedisTransaction._jtype = {
      accept: function(obj) {
        return RedisTransaction._jclass.isInstance(obj._jdel);
      },
      wrap: function(jdel) {
        var obj = Object.create(RedisTransaction.prototype, {});
        RedisTransaction.apply(obj, arguments);
        return obj;
      },
      unwrap: function(obj) {
        return obj._jdel;
      }
    };
    RedisTransaction._create = function(jdel) {
      var obj = Object.create(RedisTransaction.prototype, {});
      RedisTransaction.apply(obj, arguments);
      return obj;
    }
    module.exports = RedisTransaction;