disthash

package
v0.0.0-...-3c0e61c Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 15

Documentation

Index

Constants

View Source
const (
	PartitionActivatorActorName = "partition-activator"
)

Variables

This section is empty.

Functions

func New

func New() cluster.IdentityLookup

Types

type GrainMeta

type GrainMeta struct {
	ID  *clustering.ClusterIdentity
	PID *actor.PID
}

type IdentityLookup

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

func (*IdentityLookup) Get

func (p *IdentityLookup) Get(clusterIdentity *cluster.ClusterIdentity) *actor.PID

func (*IdentityLookup) RemovePid

func (p *IdentityLookup) RemovePid(clusterIdentity *cluster.ClusterIdentity, pid *actor.PID)

func (*IdentityLookup) Setup

func (p *IdentityLookup) Setup(cluster *cluster.Cluster, kinds []string, isClient bool)

func (*IdentityLookup) Shutdown

func (p *IdentityLookup) Shutdown()

type Manager

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

func (*Manager) Get

func (pm *Manager) Get(identity *clustering.ClusterIdentity) *actor.PID

func (*Manager) PidOfActivatorActor

func (pm *Manager) PidOfActivatorActor(addr string) *actor.PID

func (*Manager) Start

func (pm *Manager) Start()

func (*Manager) Stop

func (pm *Manager) Stop()

Jump to

Keyboard shortcuts

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