Click or drag to resize

IPersistentStateBuffer Interface

Persistent state buffer interface that buffers the underlying client persistent state store.

Namespace: Sportradar.SDK.Common.Interfaces
Assembly: Common (in Common.dll) Version: 2.28.0.0
Syntax
C#
public interface IPersistentStateBuffer : IStartable

The IPersistentStateBuffer type exposes the following members.

Properties
 NameDescription
Public propertyTestStatus Returns true if persistent state buffer is in consistent state and if the underlying client state store is functioning properly.
Top
Methods
 NameDescription
Public methodClear Clears persistent state store contents.
Public methodGetAllProviderItems Returns all persistent state items that belong to specific provider.
Public methodRead Retrieves value for the given key from the persistent store.
Public methodRemove Removes an item by key
Public methodStart Start component.
(Inherited from IStartable)
Public methodStop Stop / shutdown component.
(Inherited from IStartable)
Public methodWrite Write persistent state item into client provided persistent store (DB, file system).
Top
Events
 NameDescription
Public eventOnPersistentStateStatusChanged Fires event whenever persistent state buffer encounters an error condition (e.g. underlying state store error)
Top
See Also