Class Spooler

java.lang.Object
com.yahoo.search.logging.Spooler

public class Spooler extends Object
Spooler that will write an entry to a file and read files that are ready to be sent. Files are written in JSON Lines text file format.
Author:
hmusum
  • Constructor Details

    • Spooler

      public Spooler(Clock clock)
    • Spooler

      public Spooler(Clock clock, boolean keepSuccessFiles, int maxFailures)
    • Spooler

      public Spooler(Path spoolPath, int maxEntriesPerFile, Clock clock, boolean keepSuccessFiles, int maxFailures)
  • Method Details