Interface LogSupervisor

All Known Implementing Classes:
DefaultLogSupervisor

public interface LogSupervisor
A supervisor can be used to specify custom supervising activities (such as flushing to disk, recycling, etc) for the log writer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    start(Runnable runnable)
    Starts the flush policy
    void
    Stops the policy
  • Method Details

    • start

      void start(Runnable runnable)
      Starts the flush policy
      Parameters:
      runnable - the code to be executed by the log supervisor
    • stop

      void stop()
      Stops the policy