Package com.yahoo.search.logging
Class Spooler
java.lang.Object
com.yahoo.search.logging.Spooler
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processFiles
(Function<LoggerEntry, Boolean> transport) void
processFiles
(List<File> files, Function<LoggerEntry, Boolean> transport)
-
Constructor Details
-
Spooler
-
Spooler
-
Spooler
-
-
Method Details
-
processFiles
- Throws:
IOException
-
processFiles
-
processingPath
-
readyPath
-
successesPath
-
failuresPath
-