Class ActorCellScope
Encapsulates a OpenTracing.ISpan inside a scope that gets disposed when an actor is finished processing a message.
Inheritance
System.Object
ActorCellScope
Implements
OpenTracing.IScope
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phobos.Tracing.Scopes
Assembly: Phobos.Tracing.dll
Syntax
public class ActorCellScope : IScope, IDisposable
Constructors
ActorCellScope(IActorCellWithTrace, ISpan, Boolean)
Declaration
public ActorCellScope(IActorCellWithTrace actorContext, ISpan wrappedSpan, bool finishOnDispose)
Parameters
| Type | Name | Description |
|---|---|---|
| Phobos.Tracing.Impl.IActorCellWithTrace | actorContext | |
| OpenTracing.ISpan | wrappedSpan | |
| System.Boolean | finishOnDispose |
Properties
Span
Declaration
public ISpan Span { get; }
Property Value
| Type | Description |
|---|---|
| OpenTracing.ISpan |
Methods
Dispose()
Declaration
public void Dispose()
Implements
OpenTracing.IScope
System.IDisposable