partition_server

package
v0.0.0-...-6aa601a Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PartitionServer

type PartitionServer struct {
	utils.SafeMutex //protect rangePartitions

	PSID uint64
	// contains filtered or unexported fields
}

func NewPartitionServer

func NewPartitionServer(smURLs []string, etcdURLs []string, PSID uint64, advertiseURL string, listenURL string, mustSync bool) *PartitionServer

func (*PartitionServer) Batch

func (*PartitionServer) Delete

func (*PartitionServer) Get

func (*PartitionServer) Init

func (ps *PartitionServer) Init()

func (*PartitionServer) Put

func (*PartitionServer) Range

func (*PartitionServer) ServeGRPC

func (ps *PartitionServer) ServeGRPC() error

func (*PartitionServer) Shutdown

func (ps *PartitionServer) Shutdown()

func (*PartitionServer) SplitPart

type PartitionServerConfig

type PartitionServerConfig struct {
	ListenURL string
	SmURLs    []string
	EtcdURLs  []string
	MustSync  bool
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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