io.vertx.rxjava.servicediscovery.types

## Class RedisDataSource

- java.lang.Object
- - io.vertx.rxjava.servicediscovery.types.RedisDataSource

-     public class RedisDataSource
      extends Object

  Service type for Redis data source.

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

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<RedisDataSource>` | `__TYPE_ARG`
    `static String` | `TYPE`
    `static String` | `UNKNOWN` Unknown type.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RedisDataSource(Object delegate)`
    `RedisDataSource(RedisDataSource delegate)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Record` | `createRecord(String name, JsonObject location, JsonObject metadata)` Convenient method to create a record for a Redis data source.
    `boolean` | `equals(Object o)`
    `RedisDataSource` | `getDelegate()`
    `static void` | `getRedisClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, Handler<AsyncResult<RedisClient>> resultHandler)` Convenient method that looks for a Redis data source and provides the configured `RedisClient`.
    `static void` | `getRedisClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject consumerConfiguration, Handler<AsyncResult<RedisClient>> resultHandler)` Convenient method that looks for a Redis data source and provides the configured `RedisClient`.
    `static void` | `getRedisClient(ServiceDiscovery discovery, JsonObject filter, Handler<AsyncResult<RedisClient>> resultHandler)` Convenient method that looks for a Redis data source and provides the configured `RedisClient`.
    `static void` | `getRedisClient(ServiceDiscovery discovery, JsonObject filter, JsonObject consumerConfiguration, Handler<AsyncResult<RedisClient>> resultHandler)` Convenient method that looks for a Redis data source and provides the configured `RedisClient`.
    `int` | `hashCode()`
    `static RedisDataSource` | `newInstance(RedisDataSource arg)`
    `static Single<RedisClient>` | `rxGetRedisClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)` Convenient method that looks for a Redis data source and provides the configured `RedisClient`.
    `static Single<RedisClient>` | `rxGetRedisClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject consumerConfiguration)` Convenient method that looks for a Redis data source and provides the configured `RedisClient`.
    `static Single<RedisClient>` | `rxGetRedisClient(ServiceDiscovery discovery, JsonObject filter)` Convenient method that looks for a Redis data source and provides the configured `RedisClient`.
    `static Single<RedisClient>` | `rxGetRedisClient(ServiceDiscovery discovery, JsonObject filter, JsonObject consumerConfiguration)` Convenient method that looks for a Redis data source and provides the configured `RedisClient`.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### __TYPE_ARG

          public static final io.vertx.lang.rx.TypeArg<RedisDataSource> __TYPE_ARG

    - #### UNKNOWN

          public static final String UNKNOWN

      Unknown type.
      See Also:
        Constant Field Values

    - #### TYPE

          public static final String TYPE

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### RedisDataSource

          public RedisDataSource(RedisDataSource delegate)

    - #### RedisDataSource

          public RedisDataSource(Object delegate)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### getDelegate

          public RedisDataSource getDelegate()

    - #### createRecord

          public static Record createRecord(String name,
                                            JsonObject location,
                                            JsonObject metadata)

      Convenient method to create a record for a Redis data source.
      Parameters:
        `name` - the service name
        `location` - the location of the service (e.g. url, port...)
        `metadata` - additional metadata
      Returns:
        the created record

    - #### getRedisClient

          public static void getRedisClient(ServiceDiscovery discovery,
                                            JsonObject filter,
                                            Handler<AsyncResult<RedisClient>> resultHandler)

      Convenient method that looks for a Redis data source and provides the configured `RedisClient`. The async result is marked as failed is there are no matching services, or if the lookup fails.
      Parameters:
        `discovery` - The service discovery instance
        `filter` - The filter, optional
        `resultHandler` - The result handler

    - #### rxGetRedisClient

          public static Single<RedisClient> rxGetRedisClient(ServiceDiscovery discovery,
                                                             JsonObject filter)

      Convenient method that looks for a Redis data source and provides the configured `RedisClient`. The async result is marked as failed is there are no matching services, or if the lookup fails.
      Parameters:
        `discovery` - The service discovery instance
        `filter` - The filter, optional
      Returns:

    - #### getRedisClient

          public static void getRedisClient(ServiceDiscovery discovery,
                                            java.util.function.Function<Record,Boolean> filter,
                                            Handler<AsyncResult<RedisClient>> resultHandler)

      Convenient method that looks for a Redis data source and provides the configured `RedisClient`. The async result is marked as failed is there are no matching services, or if the lookup fails.
      Parameters:
        `discovery` - The service discovery instance
        `filter` - The filter, cannot be `null`
        `resultHandler` - The result handler

    - #### rxGetRedisClient

          public static Single<RedisClient> rxGetRedisClient(ServiceDiscovery discovery,
                                                             java.util.function.Function<Record,Boolean> filter)

      Convenient method that looks for a Redis data source and provides the configured `RedisClient`. The async result is marked as failed is there are no matching services, or if the lookup fails.
      Parameters:
        `discovery` - The service discovery instance
        `filter` - The filter, cannot be `null`
      Returns:

    - #### getRedisClient

          public static void getRedisClient(ServiceDiscovery discovery,
                                            JsonObject filter,
                                            JsonObject consumerConfiguration,
                                            Handler<AsyncResult<RedisClient>> resultHandler)

      Convenient method that looks for a Redis data source and provides the configured `RedisClient`. The async result is marked as failed is there are no matching services, or if the lookup fails.
      Parameters:
        `discovery` - The service discovery instance
        `filter` - The filter, optional
        `consumerConfiguration` - The additional consumer configuration
        `resultHandler` - The result handler

    - #### rxGetRedisClient

          public static Single<RedisClient> rxGetRedisClient(ServiceDiscovery discovery,
                                                             JsonObject filter,
                                                             JsonObject consumerConfiguration)

      Convenient method that looks for a Redis data source and provides the configured `RedisClient`. The async result is marked as failed is there are no matching services, or if the lookup fails.
      Parameters:
        `discovery` - The service discovery instance
        `filter` - The filter, optional
        `consumerConfiguration` - The additional consumer configuration
      Returns:

    - #### getRedisClient

          public static void getRedisClient(ServiceDiscovery discovery,
                                            java.util.function.Function<Record,Boolean> filter,
                                            JsonObject consumerConfiguration,
                                            Handler<AsyncResult<RedisClient>> resultHandler)

      Convenient method that looks for a Redis data source and provides the configured `RedisClient`. The async result is marked as failed is there are no matching services, or if the lookup fails.
      Parameters:
        `discovery` - The service discovery instance
        `filter` - The filter, cannot be `null`
        `consumerConfiguration` - The additional consumer configuration
        `resultHandler` - The result handler

    - #### rxGetRedisClient

          public static Single<RedisClient> rxGetRedisClient(ServiceDiscovery discovery,
                                                             java.util.function.Function<Record,Boolean> filter,
                                                             JsonObject consumerConfiguration)

      Convenient method that looks for a Redis data source and provides the configured `RedisClient`. The async result is marked as failed is there are no matching services, or if the lookup fails.
      Parameters:
        `discovery` - The service discovery instance
        `filter` - The filter, cannot be `null`
        `consumerConfiguration` - The additional consumer configuration
      Returns:

    - #### newInstance

          public static RedisDataSource newInstance(RedisDataSource arg)

Copyright © 2021 Eclipse. All rights reserved.