public static MetricQueryService createMetricQueryService ( RpcService rpcService , ResourceID resourceID , long maximumFrameSize ) { String endpointId = resourceID == null ? METRIC_QUERY_SERVICE_NAME : METRIC_QUERY_SERVICE_NAME + "_" + resourceID . getResourceIdString ( ) ; return new MetricQueryService ( rpcService , endpointId , maximumFrameSize ) ; }
Starts the MetricQueryService actor in the given actor system .