flusher

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDuplicateNodeFlusher = errors.New("duplicate flusher node")
	ErrNotFoundNodeFlusher  = errors.New("not found flusher node")
)

Functions

func NewDriver

func NewDriver() *driver

Types

type Driver

type Driver interface {
	shard.NodeAware
	Start()
	Stop()
	String() string
}

type DriverFactory

type DriverFactory = func(id uint64) NodeDriver

type NodeDriver

type NodeDriver interface {
	GetId() uint64
	FlushNode(id uint64) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL