Search Results for

    Show / Hide Table of Contents

    Interface IActorSystemDependentAllocationStrategy

    Shard allocation strategy where start is called by the shard coordinator before any calls to rebalance or allocate shard. This is much like the [[StartableAllocationStrategy]] but will get access to the actor system when started, for example to interact with extensions.

    Inherited Members
    IShardAllocationStrategy.AllocateShard(IActorRef, string, IImmutableDictionary<IActorRef, IImmutableList<string>>)
    IShardAllocationStrategy.Rebalance(IImmutableDictionary<IActorRef, IImmutableList<string>>, IImmutableSet<string>)
    Namespace: Akka.Cluster.Sharding
    Assembly: Akka.Cluster.Sharding.dll
    Syntax
    public interface IActorSystemDependentAllocationStrategy : IShardAllocationStrategy, INoSerializationVerificationNeeded

    Methods

    | Edit this page View Source

    Start(ActorSystem)

    Called before any calls to allocate/rebalance. Do not block. If asynchronous actions are required they can be started here and delay the Futures returned by allocate/rebalance.

    Declaration
    void Start(ActorSystem system)
    Parameters
    Type Name Description
    ActorSystem system

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET