Class LocalScope
This class represents a binding of an actor deployment to a local system.
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public class LocalScope : Scope, IEquatable<Scope>, ISurrogated
Properties
| Edit this page View SourceInstance
The singleton instance of this scope.
Declaration
public static LocalScope Instance { get; }
Property Value
| Type | Description |
|---|---|
| LocalScope |
Methods
| Edit this page View SourceCopy()
Creates a copy of the current instance.
note
This method returns the singleton instance of this scope.
Declaration
public override Scope Copy()
Returns
| Type | Description |
|---|---|
| Scope | The singleton instance of this scope |
Overrides
| Edit this page View SourceToSurrogate(ActorSystem)
Creates a surrogate representation of the current LocalScope.
Declaration
public ISurrogate ToSurrogate(ActorSystem system)
Parameters
| Type | Name | Description |
|---|---|---|
| ActorSystem | system | The actor system that owns this router. |
Returns
| Type | Description |
|---|---|
| ISurrogate | The surrogate representation of the current LocalScope. |
WithFallback(Scope)
Creates a new Scope from this scope using another Scope to backfill options that might be missing from this scope.
note
This method ignores the given scope and returns the singleton instance of this scope.
Declaration
public override Scope WithFallback(Scope other)
Parameters
| Type | Name | Description |
|---|---|---|
| Scope | other | The Scope used for fallback configuration. |
Returns
| Type | Description |
|---|---|
| Scope | The singleton instance of this scope |
Edit this page