Interface IMonitorContextSPI

  • All Superinterfaces:
    IMonitorContext

    public interface IMonitorContextSPI
    extends IMonitorContext
    Monitor context internal operations.
    Since:
    11.0.0
    Version:
    $Revision: 26156 $ $Date: 2024-01-13 10:26:46 -0300 (Sat, 13 Jan 2024) $
    • Method Detail

      • setEnabled

        void setEnabled​(boolean isEnabled)
        Sets whether the current monitor context is enabled.
        Parameters:
        isEnabled - whether the current monitor context is enabled.
        Since:
        11.0.0
      • getMonitoringValuesProvidersWithStacktraces

        java.util.Collection<Tuple2<IMonitorValuesProvider,​java.lang.Exception>> getMonitoringValuesProvidersWithStacktraces()
        Returns the monitoring values providers with their stacktraces (where they were added).
        Returns:
        the monitoring values providers with their stacktraces (where they were added).
        Since:
        16.1.0