BaseRedisLinkStateManager

open class BaseRedisLinkStateManager<L : StatefulLink<IdLong, T>, T : Any>(host: String = "localhost", port: Int = 6379, storageType: KClass<T>, linkRef: KClass<L>, serializer: Json = Json, stateKeySelector: KeySelector<IdLong>) : RedisLinkStateManager<L, T> (source)

Constructors

Link copied to clipboard
constructor(host: String = "localhost", port: Int = 6379, storageType: KClass<T>, linkRef: KClass<L>, serializer: Json = Json, stateKeySelector: KeySelector<IdLong>)

Properties

Link copied to clipboard
open val redis: ReThis
Link copied to clipboard
open override val stateKey: KeySelector<IdLong>

Functions

Link copied to clipboard
open suspend override fun del(key: IdLong)
Link copied to clipboard
open suspend override fun get(key: IdLong): T?
Link copied to clipboard
open suspend override fun set(key: IdLong, value: T)