Service type for Redis data source.
| Constructor and description |
|---|
RedisDataSource
(java.lang.Object delegate) |
| Type | Name and description |
|---|---|
static java.util.Map<java.lang.String, java.lang.Object> |
createRecord(java.lang.String name, java.util.Map<java.lang.String, java.lang.Object> location, java.util.Map<java.lang.String, java.lang.Object> metadata)Convenient method to create a record for a Redis data source. |
java.lang.Object |
getDelegate() |
static void |
getRedisClient(ServiceDiscovery discovery, java.util.Map<java.lang.String, java.lang.Object> filter, io.vertx.core.Handler<io.vertx.core.AsyncResult<RedisClient>> resultHandler)Convenient method that looks for a Redis data source and provides the configured RedisClient. |
static void |
getRedisClient(ServiceDiscovery discovery, java.util.Map<java.lang.String, java.lang.Object> filter, java.util.Map<java.lang.String, java.lang.Object> consumerConfiguration, io.vertx.core.Handler<io.vertx.core.AsyncResult<RedisClient>> resultHandler)Convenient method that looks for a Redis data source and provides the configured RedisClient. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Convenient method to create a record for a Redis data source.
name - the service namelocation - the location of the service (e.g. url, port...)metadata - additional metadataConvenient 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.
discovery - The service discovery instancefilter - The filter, optionalresultHandler - The result handlerConvenient 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.
discovery - The service discovery instancefilter - The filter, optionalconsumerConfiguration - The additional consumer configurationresultHandler - The result handler