use of org.spf4j.perf.impl.acc.DirectStoreMultiAccumulator in project spf4j by zolyfarkas.
the class RecorderFactory method createDirectRecorder.
public static MultiMeasurementRecorder createDirectRecorder(final Object measuredEntity, final String description, final String[] measurementNames, final String[] measurementUnits) {
Aggregation[] aggs = new Aggregation[measurementNames.length];
Arrays.fill(aggs, Aggregation.UNKNOWN);
DirectStoreMultiAccumulator mr = new DirectStoreMultiAccumulator(new MeasurementsInfoImpl(measuredEntity, description, measurementNames, measurementUnits, aggs, MeasurementType.UNTYPED), MEASUREMENT_STORE);
mr.registerJmx();
return mr;
}
use of org.spf4j.perf.impl.acc.DirectStoreMultiAccumulator in project spf4j by zolyfarkas.
the class RecorderFactory method createDirectRecorder.
public static MultiMeasurementRecorder createDirectRecorder(final Object measuredEntity, final String description, final String[] measurementNames, final String[] measurementUnits, final MeasurementType type) {
Aggregation[] aggs = new Aggregation[measurementNames.length];
Arrays.fill(aggs, Aggregation.UNKNOWN);
DirectStoreMultiAccumulator mr = new DirectStoreMultiAccumulator(new MeasurementsInfoImpl(measuredEntity, description, measurementNames, measurementUnits, aggs, type), MEASUREMENT_STORE);
mr.registerJmx();
return mr;
}
Aggregations