MemoryStateStorage
Implementation of StateStorage that stores the state in memory.
Parameters
bucketStateMap
The BucketStateMap to use to store the state.
Functions
Link copied to clipboard
open suspend override fun compareAndSet(key: String, compareAndSetFunction: (current: BucketState?) -> BucketState)
Set the state of the bucket for the given key.
Link copied to clipboard
Get the state of the bucket for the given key.