MemoryStateStorageWithEvictionBuilder

A builder for MemoryStateStorage instances with eviction.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The state storage to use to store the state.

Link copied to clipboard

The clock to use to get the current time.

Link copied to clipboard
var coroutineScope: CoroutineScope

The CoroutineScope to use to run the expiration check.

Link copied to clipboard

The interval at which to check for expired keys.

Link copied to clipboard

The time-to-live after the last access.

Functions

Link copied to clipboard