Documentation ¶
Index ¶
- Variables
- type Driver
- type KvPair
- type KvPairs
- type Scanner
- type ZStore
- func (s *ZStore) Begin() (kv.Transaction, error)
- func (s *ZStore) BeginWithRawKV(startTS uint64) (kv.Transaction, error)
- func (s *ZStore) BeginWithStartTS(startTS uint64) (kv.Transaction, error)
- func (s *ZStore) CheckRegionInScattering(regionID uint64) (bool, error)
- func (s *ZStore) Close() error
- func (s *ZStore) Describe() string
- func (s *ZStore) EtcdAddrs() []string
- func (s *ZStore) GetRawClient() *tikv.RawKVClient
- func (s *ZStore) Name() string
- func (s *ZStore) SplitRegions(ctx context.Context, splitKey [][]byte, scatter bool) (regionID []uint64, err error)
- func (s *ZStore) StartGCWorker() error
- func (s *ZStore) TLSConfig() *tls.Config
- func (s *ZStore) WaitScatterRegionFinish(ctx context.Context, regionID uint64, backOff int) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GrpcConnectionCount = 4 GrpcKeepAliveTime = 10 GrpcKeepAliveTimeout = 3 )
Functions ¶
This section is empty.
Types ¶
type ZStore ¶
ZStore xxxxx
func (*ZStore) BeginWithRawKV ¶
func (s *ZStore) BeginWithRawKV(startTS uint64) (kv.Transaction, error)
func (*ZStore) BeginWithStartTS ¶
func (s *ZStore) BeginWithStartTS(startTS uint64) (kv.Transaction, error)
BeginWithStartTS begins transaction with startTS.
func (*ZStore) CheckRegionInScattering ¶
func (*ZStore) GetRawClient ¶
func (s *ZStore) GetRawClient() *tikv.RawKVClient
func (*ZStore) SplitRegions ¶
func (*ZStore) StartGCWorker ¶
Click to show internal directories.
Click to hide internal directories.