Interface LogArchiver

All Known Implementing Classes:
AppenderArchiver, JMXClientJob, PollingLogArchiver, RemoteLogPoller, WebClientJob

public interface LogArchiver
A LogArchiver is something which has archived away log messages for different components. A components archived log messages are identified by an archive name so that just messages for a component (or archive) can be retrieved.
  • Field Details

  • Method Details

    • addLogListener

      void addLogListener(LogListener l, Object component, LogLevel level, long last, int max)
      Add a listener to the archiver which will receive all missed events. The idea of receiving only missed events is to minimise network traffic when used remotely.

      Event numbers begin at 0. To receive all events, last must be -1.

      Parameters:
      l - The logListener which will receive the events.
      level - The level of events required.
      last - The last event number received. The LogArchive will not send messages from before this number.
      max - The maximum messages to send up to the most recent.
      archive - The archive to receive events for.
    • removeLogListener

      void removeLogListener(LogListener l, Object component)
      Remove the LogListener.
      Parameters:
      l - The LogListener.