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);
	}
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.

@param rpcService The rpcService running the MetricQueryService
@param resourceID resource ID to disambiguate the actor name
@return actor reference to the MetricQueryService