ch.sourcemotion.vertx.redis.client.heimdall.impl.PostReconnectJob.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vertx-redis-client-heimdall Show documentation
Show all versions of vertx-redis-client-heimdall Show documentation
Redis client based on the official one https://vertx.io/docs/vertx-redis-client/java/. This client will provide some additional features like reconnect capabilities, Event bus events on reconnecting related activities.
The newest version!
package ch.sourcemotion.vertx.redis.client.heimdall.impl
import io.vertx.core.Future
import io.vertx.redis.client.Redis
/**
* Job that will get executed when client got reconnected. If a connection issue appears during this job, he needs
* to invoke the reconnect process again.
*/
internal fun interface PostReconnectJob {
fun execute(redis: Redis) : Future
}