/** * Utility method to notify a MetricQueryService of an added metric. * * @param service MetricQueryService to notify * @param metric added metric * @param metricName metric name * @param group group the metric was added on */ public static void notifyOfAddedMetric(ActorRef service, Metric metric, String metricName, AbstractMetricGroup group) { service.tell(new AddMetric(metricName, metric, group), null); }
/** * Utility method to notify a MetricQueryService of an added metric. * * @param service MetricQueryService to notify * @param metric added metric * @param metricName metric name * @param group group the metric was added on */ public static void notifyOfAddedMetric(ActorRef service, Metric metric, String metricName, AbstractMetricGroup group) { service.tell(new AddMetric(metricName, metric, group), null); }
/** * Utility method to notify a MetricQueryService of an added metric. * * @param service MetricQueryService to notify * @param metric added metric * @param metricName metric name * @param group group the metric was added on */ public static void notifyOfAddedMetric(ActorRef service, Metric metric, String metricName, AbstractMetricGroup group) { service.tell(new AddMetric(metricName, metric, group), null); }
/** * Utility method to notify a MetricQueryService of an added metric. * * @param service MetricQueryService to notify * @param metric added metric * @param metricName metric name * @param group group the metric was added on */ public static void notifyOfAddedMetric(ActorRef service, Metric metric, String metricName, AbstractMetricGroup group) { service.tell(new AddMetric(metricName, metric, group), null); }