Class ActorMonitoring
Akka.Actor.ActorSystem extension designed to provide singleton access to the underlying monitoring system.
Inheritance
System.Object
ActorMonitoring
Namespace:Phobos.Monitoring.Actor
Assembly:Phobos.Monitoring.Actor.dll
Syntax
public class ActorMonitoring : IExtension
Constructors
ActorMonitoring(IMonitor)
Declaration
public ActorMonitoring(IMonitor monitor)
Parameters
Type | Name | Description |
---|---|---|
IMonitor | monitor |
Properties
Monitor
The IMonitor instance used for logging inside this Akka.Actor.ActorSystem
Declaration
public IMonitor Monitor { get; }
Property Value
Type | Description |
---|---|
IMonitor |
Methods
For(ActorSystem)
Gets an instance of the underlying ActorMonitoring unique to this Akka.Actor.ActorSystem.
Declaration
public static ActorMonitoring For(ActorSystem system)
Parameters
Type | Name | Description |
---|---|---|
Akka.Actor.ActorSystem | system | The actor system we want to use. |
Returns
Type | Description |
---|---|
ActorMonitoring | A singleton instance of the ActorMonitoring. |