Show / Hide Table of Contents

Class PhobosActorRefProvider

Used to instrument an Akka.NET ActorSystem with monitoring instrumentation.

Inheritance
object
WrappedActorRefProvider
PhobosActorRefProvider
PhobosRemoteActorRefProvider
Implements
IActorRefProvider
IPhobosActorRefProvider
Inherited Members
WrappedActorRefProvider.Initialized
WrappedActorRefProvider.Underlying
WrappedActorRefProvider.Log
WrappedActorRefProvider.RootGuardianAt(Address)
WrappedActorRefProvider.TempPath()
WrappedActorRefProvider.RegisterTempActor(IInternalActorRef, ActorPath)
WrappedActorRefProvider.UnregisterTempActor(ActorPath)
WrappedActorRefProvider.ResolveActorRef(string)
WrappedActorRefProvider.ResolveActorRef(ActorPath)
WrappedActorRefProvider.GetExternalAddressFor(Address)
WrappedActorRefProvider.RootGuardian
WrappedActorRefProvider.Guardian
WrappedActorRefProvider.SystemGuardian
WrappedActorRefProvider.DeadLetters
WrappedActorRefProvider.RootPath
WrappedActorRefProvider.Settings
WrappedActorRefProvider.Deployer
WrappedActorRefProvider.TempContainer
WrappedActorRefProvider.TerminationTask
WrappedActorRefProvider.DefaultAddress
WrappedActorRefProvider.SerializationInformation
WrappedActorRefProvider.IgnoreRef
WrappedActorRefProvider.Filtering
WrappedActorRefProvider.PhobosSettings
WrappedActorRefProvider.PhobosDeployer
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phobos.Actor
Assembly: Phobos.Actor.dll
Syntax
public class PhobosActorRefProvider : WrappedActorRefProvider, IActorRefProvider, IPhobosActorRefProvider

Constructors

PhobosActorRefProvider(string, Settings, EventStream)

Declaration
public PhobosActorRefProvider(string systemName, Settings settings, EventStream eventStream)
Parameters
Type Name Description
string systemName
Settings settings
EventStream eventStream

Properties

AskTracingFilter

INTERNAL API

Declaration
protected virtual FilteringEngine AskTracingFilter { get; }
Property Value
Type Description
FilteringEngine
Remarks

Needs to be overrideable so implementations such as Akka.Cluster can enable additional noise-cancelling around Ask{T} operations.

Monitor

Declaration
public override Meter Monitor { get; protected set; }
Property Value
Type Description
Meter
Overrides
WrappedActorRefProvider.Monitor

Tracer

Declaration
public override Tracer Tracer { get; protected set; }
Property Value
Type Description
Tracer
Overrides
WrappedActorRefProvider.Tracer

Methods

ActorOf(ActorSystemImpl, Props, IInternalActorRef, ActorPath, bool, Deploy, bool, bool)

Actor factory with create-only semantics: will create an actor as described by props with the given supervisor and path (may be different in case of remote supervision). If systemService is true, deployment is bypassed (local-only). If a value fordeploy is passed in, it should be regarded as taking precedence over the nominally applicable settings, but it should be overridable from external configuration; the lookup of the latter can be suppressed by setting "lookupDeploy" to "false".

Declaration
public override IInternalActorRef ActorOf(ActorSystemImpl system, Props props, IInternalActorRef supervisor, ActorPath path, bool systemService, Deploy deploy, bool lookupDeploy, bool async)
Parameters
Type Name Description
ActorSystemImpl system

TBD

Props props

TBD

IInternalActorRef supervisor

TBD

ActorPath path

TBD

bool systemService

TBD

Deploy deploy

TBD

bool lookupDeploy

TBD

bool async

TBD

Returns
Type Description
IInternalActorRef

TBD

Overrides
WrappedActorRefProvider.ActorOf(ActorSystemImpl, Props, IInternalActorRef, ActorPath, bool, Deploy, bool, bool)

CreateFutureRef<T>(TaskCompletionSource<T>)

Automatically generates a FutureActorRef<T> with a temporary path.

Declaration
public override FutureActorRef<T> CreateFutureRef<T>(TaskCompletionSource<T> tcs)
Parameters
Type Name Description
TaskCompletionSource<T> tcs

A typed TaskCompletionSource<TResult>

Returns
Type Description
FutureActorRef<T>

A new, single-use FutureActorRef<T> instance.

Type Parameters
Name Description
T

The type of output this FutureActorRef<T> expects.

Overrides
WrappedActorRefProvider.CreateFutureRef<T>(TaskCompletionSource<T>)
Remarks

Does not call RegisterTempActor(IInternalActorRef, ActorPath) or UnregisterTempActor(ActorPath).

CreateLog(IActorRefProvider, EventStream)

Declaration
protected override ILoggingAdapter CreateLog(IActorRefProvider underlying, EventStream stream = null)
Parameters
Type Name Description
IActorRefProvider underlying
EventStream stream
Returns
Type Description
ILoggingAdapter
Overrides
WrappedActorRefProvider.CreateLog(IActorRefProvider, EventStream)

CreateUnderlying(string, Settings, EventStream)

Declaration
protected override IActorRefProvider CreateUnderlying(string systemName, Settings settings, EventStream eventStream)
Parameters
Type Name Description
string systemName
Settings settings
EventStream eventStream
Returns
Type Description
IActorRefProvider
Overrides
WrappedActorRefProvider.CreateUnderlying(string, Settings, EventStream)

Init(ActorSystemImpl)

Initialization of an ActorRefProvider happens in two steps: first construction of the object with settings, eventStream, etc. and then—when the ActorSystem is constructed—the second phase during which actors may be created (e.g. the guardians).

Declaration
public override void Init(ActorSystemImpl system)
Parameters
Type Name Description
ActorSystemImpl system

TBD

Overrides
WrappedActorRefProvider.Init(ActorSystemImpl)

LocalDeploy(ActorSystemImpl, Props, IInternalActorRef, ActorPath, bool, Deploy, bool, bool)

Declaration
protected IInternalActorRef LocalDeploy(ActorSystemImpl system, Props props, IInternalActorRef supervisor, ActorPath path, bool systemService, Deploy deploy, bool lookupDeploy, bool async)
Parameters
Type Name Description
ActorSystemImpl system
Props props
IInternalActorRef supervisor
ActorPath path
bool systemService
Deploy deploy
bool lookupDeploy
bool async
Returns
Type Description
IInternalActorRef

Implements

IActorRefProvider
IPhobosActorRefProvider
In this article

Phobos®

APM for Akka.NET Applications

© 2025 Petabridge®

All rights reserved

Product
  • Purchase Phobos
  • Contact Sales
  • Phobos Quick Start Guide
  • Phobos Features
  • API Documentation
  • Release Notes
Resources
  • Akka.NET Documentation
  • Petabridge Blog
  • Akka.NET Support Plans
  • Akka.NET Consulting Services
  • Akka.NET Training
Connect
  • Petabridge Website
  • GitHub
  • Twitter
  • LinkedIn
  • YouTube
  • Contact Us
Privacy Policy
Built with ♥ by Petabridge