class TaskManagerMetricsHandler extends AbstractMetricsHandler {

	@Override
	protected Map<String, String> getMapFor(Map<String, String> pathParams, MetricStore metrics) {
		MetricStore.ComponentMetricStore taskManager = metrics.getTaskManagerMetricStore(pathParams.get(TaskManagersHandler.TASK_MANAGER_ID_KEY));
		if (taskManager == null) {
			return null;
		} else {
			return taskManager.metrics;
		}
	}

	public  TaskManagerMetricsHandler(Executor executor, MetricFetcher fetcher);

}