package coordination

import "github.com/ydb-platform/ydb-go-sdk/v3/coordination"

Index

Types

type Config

type Config struct {
	Path                     string
	SelfCheckPeriodMillis    uint32
	SessionGracePeriodMillis uint32
	ReadConsistencyMode      ConsistencyMode
	AttachConsistencyMode    ConsistencyMode
	RateLimiterCountersMode  RateLimiterCountersMode
}

type ConsistencyMode

type ConsistencyMode uint
const (
	ConsistencyModeUnset ConsistencyMode = iota
	ConsistencyModeStrict
	ConsistencyModeRelaxed
)

func (ConsistencyMode) String

func (t ConsistencyMode) String() string

func (ConsistencyMode) To

type RateLimiterCountersMode

type RateLimiterCountersMode uint
const (
	RateLimiterCountersModeUnset RateLimiterCountersMode = iota
	RateLimiterCountersModeAggregated
	RateLimiterCountersModeDetailed
)

func (RateLimiterCountersMode) String

func (t RateLimiterCountersMode) String() string

func (RateLimiterCountersMode) To

Source Files

config.go

Version
v3.0.2
Published
Oct 22, 2021
Platform
linux/amd64
Imports
1 packages
Last checked
9 minutes ago

Tools for package owners.