Class ProbeRecordingOptions

    • Constructor Detail

      • ProbeRecordingOptions

        public ProbeRecordingOptions()
        Create a new instance with the default options described above.
    • Method Detail

      • events

        public ProbeRecordingOptions events​(boolean events)
        Determines whether single events should be recorded for the "Events" view of the probe. This setting has no effect when used with a probe that does not have an event view. The default is false.
        Parameters:
        events - the new value
        Returns:
        this instance
      • connectionLeaks

        public ProbeRecordingOptions connectionLeaks​(boolean connectionLeaks)
        Determines whether connection leaks should be recorded for the JDBC probe. This setting has no effect when used with other probes. The default is false.
        Parameters:
        connectionLeaks - the new value
        Returns:
        this instance
      • isEvents

        public boolean isEvents()
        Returns if single events are recorded for the "Events" view of the probe.
        Returns:
        the value
      • isConnectionLeaks

        public boolean isConnectionLeaks()
        Returns if connection leaks are recorded for the JDBC probe.
        Returns:
        the value
      • freeze

        public ProbeRecordingOptions freeze()
        Make these recording options unmodifiable. Further modification attempts will result in a UnsupportedOperationException.
        Returns:
        this instance