SimpleBucketStateMap

Simple in-memory implementation of BucketStateMap. This implementation is thread-safe and uses ConcurrentHashMap to store the state.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Returns the AtomicReference of the BucketState for the given key. If the key is not present in the map, it returns null.

Link copied to clipboard

Puts the value in the map if the key is not present. If the key is already present, it returns the AtomicReference of the BucketState for the given key. If the key is not present in the map, it returns null.