Documentation ¶
Index ¶
- Variables
- type Client
- type Metrics
- func (s *Metrics) Equal(other *Metrics) bool
- func (s *Metrics) TotalErrors() uint64
- func (s *Metrics) TotalErrorsAtomic() uint64
- func (s *Metrics) TotalPanics() uint64
- func (s *Metrics) TotalPanicsAtomic() uint64
- func (s *Metrics) TotalResources() uint64
- func (s *Metrics) TotalResourcesAtomic() uint64
- type Option
- type Scheduler
- type Strategies
- type Strategy
- type SyncOption
- type SyncOptions
- type TableClientMetrics
Constants ¶
This section is empty.
Variables ¶
View Source
var AllSchedulerNames = [...]string{ StrategyDFS: "dfs", StrategyRoundRobin: "round-robin", }
View Source
var AllSchedulers = Strategies{StrategyDFS, StrategyRoundRobin}
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct {
TableClient map[string]map[string]*TableClientMetrics
}
Metrics is deprecated as we move toward open telemetry for tracing and metrics
func (*Metrics) TotalErrors ¶
func (*Metrics) TotalErrorsAtomic ¶
func (*Metrics) TotalPanics ¶
func (*Metrics) TotalPanicsAtomic ¶
func (*Metrics) TotalResources ¶
func (*Metrics) TotalResourcesAtomic ¶
type Option ¶
type Option func(*Scheduler)
func WithConcurrency ¶
func WithLogger ¶
func WithMaxDepth ¶
func WithSchedulerStrategy ¶
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
func NewScheduler ¶
func NewScheduler(client schema.ClientMeta, opts ...Option) *Scheduler
type Strategies ¶
type Strategies []Strategy
func (Strategies) String ¶
func (s Strategies) String() string
type SyncOption ¶
type SyncOption func(*SyncOptions)
func WithSyncDeterministicCQID ¶
func WithSyncDeterministicCQID(deterministicCQID bool) SyncOption
type SyncOptions ¶
type SyncOptions struct {
DeterministicCQID bool
}
type TableClientMetrics ¶
type TableClientMetrics struct { Resources uint64 Errors uint64 Panics uint64 StartTime time.Time EndTime time.Time }
func (*TableClientMetrics) Equal ¶
func (s *TableClientMetrics) Equal(other *TableClientMetrics) bool
Click to show internal directories.
Click to hide internal directories.