public AzureFunctionsController(ITemplatesManager templatesManager, ISettings settings, IDiagnosticsManager diagnosticsManager, TelemetryClient telemetryClient, IPassThroughRequestManager passThroughRequestManager) { _telemetryClient = telemetryClient; _templatesManager = templatesManager; _settings = settings; _diagnosticsManager = diagnosticsManager; _passThroughRequestManager = passThroughRequestManager; }
private void DisposeDiagnosticsManager() { if (this.diagnosticsManager != null) { this.diagnosticsManager.Dispose(); this.diagnosticsManager = null; } }
internal MockActorManager(ActorService actorService) { this.actorService = actorService; this.diagnosticsManager = new MockDiagnosticsManager(actorService); this.eventManager = new MockActorEventManager(actorService.ActorTypeInformation); this.remindersByActorId = new ConcurrentDictionary <ActorId, ConcurrentDictionary <string, ActorReminder> >(); this.traceSource = ActorEventSource.Instance; }
internal MockActorManager(ActorService actorService) { this.actorService = actorService; this.diagnosticsManager = new MockDiagnosticsManager(actorService); this.eventManager = new MockActorEventManager(actorService.ActorTypeInformation); this.remindersByActorId = new ConcurrentDictionary <ActorId, ConcurrentDictionary <string, ActorReminder> >(); this.traceSource = new FabricEvents.ExtensionsEvents(FabricEvents.Tasks.ActorFramework); }
internal ActorManager(ActorService actorService) { this.actorService = actorService; this.traceId = actorService.Context.TraceId; this.diagnosticsManager = new DiagnosticsManager(actorService); this.diagnosticsEventManager = this.diagnosticsManager.DiagnosticsEventManager; this.eventManager = new ActorEventManager(actorService.ActorTypeInformation); this.isClosed = false; this.activeActors = new ConcurrentDictionary <ActorId, ActorBase>(); this.remindersByActorId = new ConcurrentDictionary <ActorId, ConcurrentDictionary <string, ActorReminder> >(); this.reminderMethodContext = ActorMethodContext.CreateForReminder(ReceiveReminderMethodName); this.gcTimer = new Timer(this.RunGarbageCollection, null, Timeout.Infinite, Timeout.Infinite); }
public TracingService(IDiagnosticsManager observerManager, ILogger <TracingService> logger = null) { _observerManager = observerManager; _logger = logger; }
public DiagnosticServices(IDiagnosticsManager observerManager, ILogger <DiagnosticServices> logger = null) { _observerManager = observerManager; _logger = logger; }