Akka.Routing.ConsistentHashingGroup.ToSurrogate C# (CSharp) Method

ToSurrogate() public method

Creates a surrogate representation of the current ConsistentHashingGroup.
public ToSurrogate ( ActorSystem system ) : ISurrogate
system ActorSystem The actor system that owns this router.
return ISurrogate
        public override ISurrogate ToSurrogate(ActorSystem system)
        {
            return new ConsistentHashingGroupSurrogate
            {
                Paths = Paths,
            };
        }
    }