eu.reservoir.monitoring.core
Interface ProbeFilter


public interface ProbeFilter

This interface is used to define a filter for a Probe. The filter is called if a filter has been set and filtering is turned on. The filter() method of the ProbeFilter is applied by the Probe to values that are collected. If the filter passes the value then it is reported otherwise the value is not reported.


Method Summary
 boolean filter(Probe p, Measurement m)
          Filter a number.
 java.lang.String getName()
          Get the name of the filter.
 

Method Detail

getName

java.lang.String getName()
Get the name of the filter.


filter

boolean filter(Probe p,
               Measurement m)
Filter a number. Gets passed the Forwarder this is a filter for. Returns true on success, false if the filtering fails.



RESERVOIR Monitoring 0.6.4