allocationmap

package
v0.0.0-...-b112479 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllAllocationIds

func GetAllAllocationIds() []model.AllocationID

GetAllAllocationIds returns all registered allocation ids.

func GetAllocation

func GetAllocation(allocationID model.AllocationID) *actor.Ref

GetAllocation returns allocation actor by allocation id.

func InitAllocationMap

func InitAllocationMap()

InitAllocationMap initializes the global allocation_id -> allocation actor map.

func RegisterAllocation

func RegisterAllocation(allocationID model.AllocationID, ref *actor.Ref)

RegisterAllocation inserts the new allocation into the map.

func UnregisterAllocation

func UnregisterAllocation(allocationID model.AllocationID)

UnregisterAllocation deletes an allocation from the map.

Types

This section is empty.

Jump to

Keyboard shortcuts

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