All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ch.sourcemotion.vertx.redis.client.heimdall.RedisHeimdall.kt Maven / Gradle / Ivy

Go to download

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

import ch.sourcemotion.vertx.redis.client.heimdall.impl.RedisHeimdallImpl
import io.vertx.core.Vertx
import io.vertx.redis.client.Redis

/**
 * Redis client for common use. Additionally reconnection is handled automatically.
 * Please visit README for more detailed information.
 */
interface RedisHeimdall : Redis, AutoCloseable {
    companion object {
        @JvmStatic
        fun create(vertx: Vertx, options: RedisHeimdallOptions): RedisHeimdall = RedisHeimdallImpl(vertx, options)

        @JvmStatic
        fun createLight(vertx: Vertx, options: RedisHeimdallOptions): RedisHeimdall = RedisHeimdallLight(vertx, options)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy