open static fun getRedisClient(discovery: ServiceDiscovery, filter: JsonObject, resultHandler: Handler<AsyncResult<RedisClient>>): Unit
Convenient method that looks for a Redis data source and provides the configured io.vertx.rxjava.redis.RedisClient. The async result is marked as failed is there are no matching services, or if the lookup fails.
discovery - The service discovery instance
resultHandler - The result handler
open static fun getRedisClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, resultHandler: Handler<AsyncResult<RedisClient>>): Unit
Convenient method that looks for a Redis data source and provides the configured io.vertx.rxjava.redis.RedisClient. The async result is marked as failed is there are no matching services, or if the lookup fails.
discovery - The service discovery instance
filter - The filter, cannot be null
resultHandler - The result handler
open static fun getRedisClient(discovery: ServiceDiscovery, filter: JsonObject, consumerConfiguration: JsonObject, resultHandler: Handler<AsyncResult<RedisClient>>): Unit
Convenient method that looks for a Redis data source and provides the configured io.vertx.rxjava.redis.RedisClient. The async result is marked as failed is there are no matching services, or if the lookup fails.
discovery - The service discovery instance
consumerConfiguration - The additional consumer configuration
resultHandler - The result handler
open static fun getRedisClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, consumerConfiguration: JsonObject, resultHandler: Handler<AsyncResult<RedisClient>>): Unit
Convenient method that looks for a Redis data source and provides the configured io.vertx.rxjava.redis.RedisClient. The async result is marked as failed is there are no matching services, or if the lookup fails.
discovery - The service discovery instance
filter - The filter, cannot be null
consumerConfiguration - The additional consumer configuration