public class MetricsEmittingQueryRunner<T> extends Object implements QueryRunner<T>
Constructor and Description |
---|
MetricsEmittingQueryRunner(com.metamx.emitter.service.ServiceEmitter emitter,
com.google.common.base.Function<Query<T>,com.metamx.emitter.service.ServiceMetricEvent.Builder> builderFn,
QueryRunner<T> queryRunner) |
MetricsEmittingQueryRunner(com.metamx.emitter.service.ServiceEmitter emitter,
com.google.common.base.Function<Query<T>,com.metamx.emitter.service.ServiceMetricEvent.Builder> builderFn,
QueryRunner<T> queryRunner,
long creationTime,
String metricName,
Map<String,String> userDimensions) |
MetricsEmittingQueryRunner(com.metamx.emitter.service.ServiceEmitter emitter,
com.google.common.base.Function<Query<T>,com.metamx.emitter.service.ServiceMetricEvent.Builder> builderFn,
QueryRunner<T> queryRunner,
String metricName,
Map<String,String> userDimensions) |
Modifier and Type | Method and Description |
---|---|
com.metamx.common.guava.Sequence<T> |
run(Query<T> query,
Map<String,Object> responseContext) |
MetricsEmittingQueryRunner<T> |
withWaitMeasuredFromNow() |
public MetricsEmittingQueryRunner(com.metamx.emitter.service.ServiceEmitter emitter, com.google.common.base.Function<Query<T>,com.metamx.emitter.service.ServiceMetricEvent.Builder> builderFn, QueryRunner<T> queryRunner)
public MetricsEmittingQueryRunner(com.metamx.emitter.service.ServiceEmitter emitter, com.google.common.base.Function<Query<T>,com.metamx.emitter.service.ServiceMetricEvent.Builder> builderFn, QueryRunner<T> queryRunner, long creationTime, String metricName, Map<String,String> userDimensions)
public MetricsEmittingQueryRunner(com.metamx.emitter.service.ServiceEmitter emitter, com.google.common.base.Function<Query<T>,com.metamx.emitter.service.ServiceMetricEvent.Builder> builderFn, QueryRunner<T> queryRunner, String metricName, Map<String,String> userDimensions)
Copyright © 2011–2015. All rights reserved.