RedisProvider

Interface for Redis database access.

Properties

Link copied to clipboard
abstract val pool: JedisPool

Functions

Link copied to clipboard
abstract fun close()
Link copied to clipboard
open fun <T> pipeline(action: Pipeline.() -> T): T

Executes a pipeline of commands.

Link copied to clipboard
open fun <T> redis(action: Jedis.() -> T): T

Executes an action using a Redis connection.