Class UnityCheckpointStore
Inheritance
UnityCheckpointStore
Assembly: Serenity.UnityCheckpoint.Infrastructure.dll
Syntax
public class UnityCheckpointStore : ICheckpointStore
Constructors
UnityCheckpointStore(IKeyValueStore)
Declaration
public UnityCheckpointStore(IKeyValueStore store)
Parameters
| Type |
Name |
Description |
| IKeyValueStore |
store |
The key-value store used for persistence.
|
Exceptions
Fields
_store
Declaration
protected readonly IKeyValueStore _store
Field Value
Methods
Delete(CheckpointSlot)
Declaration
public virtual void Delete(CheckpointSlot slot)
Parameters
Exists(CheckpointSlot)
Declaration
public virtual bool Exists(CheckpointSlot slot)
Parameters
Returns
QueryAll()
Declaration
public virtual CheckpointMetadata[] QueryAll()
Returns
Save(CheckpointSlot, CheckpointSnapshot)
Declaration
public virtual void Save(CheckpointSlot slot, CheckpointSnapshot snapshot)
Parameters
TryLoad(CheckpointSlot, out CheckpointSnapshot)
Declaration
public virtual bool TryLoad(CheckpointSlot slot, out CheckpointSnapshot snapshot)
Parameters
Returns
Implements