/// <summary> /// Remove a <see cref="IActorMonitoringClient"/> implementation from the active set /// </summary> /// <returns>true if the client was successfully removed, false otherwise</returns> public bool RemoveMonitor(AbstractActorMonitoringClient client) { return _activeClients.TryRemove(client); }
/// <summary> /// Add a new <see cref="IActorMonitoringClient"/> monitoring implementation to be used /// when reporting Actor metrics /// </summary> /// <returns>true if the client was successfully added, false otherwise</returns> public bool AddMonitor(AbstractActorMonitoringClient client) { return _activeClients.TryAdd(client); }