Documentation ¶
Index ¶
Constants ¶
View Source
const CheckpointListKey = "checkpoints"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KVStore ¶
type KVStore struct {
// contains filtered or unexported fields
}
The manager for checkpoint storage. * *** mapStore keys *** { "checkpoint1", "checkpoint2" ... "checkpointn" : The complete or incomplete snapshot
func (*KVStore) GetOpState ¶
Only run in the initialization
func (*KVStore) SaveCheckpoint ¶
type MemoryStore ¶
func (*MemoryStore) GetOpState ¶
func (s *MemoryStore) GetOpState(opId string) (*sync.Map, error)
func (*MemoryStore) SaveCheckpoint ¶
func (s *MemoryStore) SaveCheckpoint(_ int64) error
Click to show internal directories.
Click to hide internal directories.