Documentation ¶
Index ¶
- type NoopCompactor
- type NoopWAL
- func (w *NoopWAL) Done() <-chan struct{}
- func (w *NoopWAL) NewCheckpointer() (*wal.Checkpointer, error)
- func (w *NoopWAL) PauseRecord()
- func (w *NoopWAL) Ready() <-chan struct{}
- func (w *NoopWAL) RecordDelete(rootHash ledger.RootHash) error
- func (w *NoopWAL) RecordUpdate(update *ledger.TrieUpdate) (int, bool, error)
- func (w *NoopWAL) Replay(checkpointFn func(tries []*trie.MTrie) error, ...) error
- func (w *NoopWAL) ReplayLogsOnly(checkpointFn func(tries []*trie.MTrie) error, ...) error
- func (w *NoopWAL) ReplayOnForest(forest *mtrie.Forest) error
- func (w *NoopWAL) Segments() (first, last int, err error)
- func (w *NoopWAL) UnpauseRecord()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoopCompactor ¶ added in v0.27.0
type NoopCompactor struct {
// contains filtered or unexported fields
}
func NewNoopCompactor ¶ added in v0.27.0
func NewNoopCompactor(l *complete.Ledger) *NoopCompactor
func (*NoopCompactor) Done ¶ added in v0.27.0
func (c *NoopCompactor) Done() <-chan struct{}
func (*NoopCompactor) Ready ¶ added in v0.27.0
func (c *NoopCompactor) Ready() <-chan struct{}
type NoopWAL ¶
type NoopWAL struct{}
func (*NoopWAL) NewCheckpointer ¶
func (w *NoopWAL) NewCheckpointer() (*wal.Checkpointer, error)
func (*NoopWAL) PauseRecord ¶
func (w *NoopWAL) PauseRecord()
func (*NoopWAL) RecordUpdate ¶
func (*NoopWAL) ReplayLogsOnly ¶
func (*NoopWAL) UnpauseRecord ¶
func (w *NoopWAL) UnpauseRecord()
Click to show internal directories.
Click to hide internal directories.