-
- All Implemented Interfaces:
-
ch.sourcemotion.vertx.redis.client.heimdall.RedisHeimdall,ch.sourcemotion.vertx.redis.client.heimdall.impl.PostReconnectJob,io.vertx.redis.client.Redis,java.lang.AutoCloseable
public final class RedisHeimdallLight implements RedisHeimdall, PostReconnectJob
Lightweight but more performant variant of this client. This client will use only a single connection to Redis. Supports reconnect capabilities like RedisHeimdall as it is used under hood.
-
-
Constructor Summary
Constructors Constructor Description RedisHeimdallLight(Vertx vertx, RedisHeimdallOptions options)
-
Method Summary
-
-
Constructor Detail
-
RedisHeimdallLight
RedisHeimdallLight(Vertx vertx, RedisHeimdallOptions options)
-
-
Method Detail
-
send
Future<Response> send(Request command)
-
connect
Future<RedisConnection> connect()
-
execute
Future<Unit> execute(Redis redis)
Called after successful reconnect by redisHeimdall. This will ensure a valid connection got obtained before any information about successful reconnection get published elsewhere.
-
-
-
-