shardthread

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShardThread

type ShardThread struct {
	// contains filtered or unexported fields
}

func NewShardThread

func NewShardThread(id int, gec chan error, evictionStrategy dstore.EvictionStrategy) *ShardThread

NewShardThread creates a new ShardThread instance with the given shard id and error channel.

func (*ShardThread) Start

func (shard *ShardThread) Start(ctx context.Context)

Start starts the shard thread, listening for incoming requests.

func (*ShardThread) Store

func (shard *ShardThread) Store() *dstore.Store

Jump to

Keyboard shortcuts

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