RedisStateStorage

class RedisStateStorage(val host: String, val port: Int) : StateStorage

A StateStorage implementation using Redis.

Parameters

host

The Redis host.

port

The Redis port.

Constructors

Link copied to clipboard
constructor(host: String, port: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val port: Int

Functions

Link copied to clipboard
open suspend override fun compareAndSet(key: String, compareAndSetFunction: (current: BucketState?) -> BucketState)
Link copied to clipboard
open override fun getBucketState(key: String): BucketState?