01: package biz.hammurapi.metrics;
02:
03: /**
04: * Classes which collect measurement can implement this interface. Collectors pass measurement to consumers.
05: * @author Pavel Vlasov
06: *
07: */
08: public interface MeasurementCollector {
09:
10: /**
11: * Sets measurement consumer to pass measurements to.
12: * @param measurementConsumer
13: */
14: void setMeasurementConsumer(MeasurementConsumer measurementConsumer);
15:
16: }
|