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
Click to show internal directories.
Click to hide internal directories.