Interface IProbe<E>

    • Method Detail

      • getLastMeasurementOf

        Measurement<E> getLastMeasurementOf​(Object who)
        Returns the latest measurement caused by the given trigger.
        Parameters:
        who - the trigger
        Returns:
        the most recent measurement caused by the given trigger, or null, if there is no such measurement.
      • getMeasuringPoint

        MeasuringPoint<E> getMeasuringPoint()
        Returns:
        the measuring point this probe is attached to.
      • nullProbe

        static <E> IProbe<E> nullProbe​(E element,
                                       String property,
                                       Object... contexts)
        Constructs and returns a probe without any actual behaviour. Can be used as a replacement for null.
        Returns:
        the constructed null probe.
      • enableCaching

        void enableCaching()
      • disableCaching

        void disableCaching()