Class BaseRecording

    • Constructor Detail

      • BaseRecording

        public BaseRecording​(boolean enabled)
    • Method Detail

      • isEnabled

        public final boolean isEnabled()
        This should not be overridden to keep the isEnabled checks as cheap as possible.
        Specified by:
        isEnabled in interface InvocationRecording
        Returns:
        true if the recording is enabled. If producing a value is costly, the caller should check whether the recording is enabled before producing the value to keep tracing overhead down.