Class ErrorMemorisingInterceptor

    • Constructor Detail

      • ErrorMemorisingInterceptor

        public ErrorMemorisingInterceptor()
        Creates an interceptor that stores all data it receives. The amount of lines is bounded with SystemProperty.LOG_LINES_FOR_NOTIFICATIONS most recent lines. If you want to store large amounts of data in this interceptor (and you're aware that it may cause out of memory errors on your instance and agents, use the bounded variant of the constructor.
      • ErrorMemorisingInterceptor

        public ErrorMemorisingInterceptor​(int limit)
        Creates interceptor that stores the most recent "limit" lines it receives.