shard

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aware

type Aware interface {
	ShardCreated(id uint64)
	ShardDeleted(id uint64)
	OnStats(stats interface{})
}

type ItemsToCheckpointStat

type ItemsToCheckpointStat struct {
	ShardID uint64
	Count   int
}

type Node

type Node interface {
	GetId() uint64
}

type NodeAware

type NodeAware interface {
	Aware
	ShardNodeCreated(shardId, nodeID uint64)
	ShardNodeDeleted(shardId, nodeID uint64)
}

Jump to

Keyboard shortcuts

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