com.eg.agent.android.measurement.consumer.BaseMeasurementConsumer Maven / Gradle / Ivy
package com.eg.agent.android.measurement.consumer;
/*import com.newrelic.agent.android.harvest.HarvestAdapter;
import com.newrelic.agent.android.measurement.Measurement;
import com.newrelic.agent.android.measurement.MeasurementType;*/
import com.eg.agent.android.harvest.HarvestAdapter;
import com.eg.agent.android.measurement.Measurement;
import com.eg.agent.android.measurement.MeasurementType;
import java.util.Collection;
public class BaseMeasurementConsumer extends HarvestAdapter implements MeasurementConsumer {
private final MeasurementType measurementType;
public BaseMeasurementConsumer(MeasurementType measurementType) {
this.measurementType = measurementType;
}
public MeasurementType getMeasurementType() {
return this.measurementType;
}
public void consumeMeasurement(Measurement measurement) {
}
public void consumeMeasurements(Collection measurements) {
for (Measurement measurement : measurements) {
consumeMeasurement(measurement);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy