Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ReconcileInterval time.Duration Workers WorkerConfig }
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager schedules replication workers.
func NewManager ¶
func NewManager(e *storage.Engine, queue *storage.IndexNotificationQueue, conn *grpc.ClientConn, cfg Config) *Manager
NewManager constructs a new replication Manager out of tables.Manager, dragonboat.NodeHost and replication API grpc.ClientConn.
func (*Manager) Close ¶
func (m *Manager) Close()
Close will stop replication goroutine - could be called just once.
func (*Manager) Collect ¶
func (m *Manager) Collect(metrics chan<- prometheus.Metric)
func (*Manager) Describe ¶
func (m *Manager) Describe(descs chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.