Package com.yahoo.search.logging
Class AbstractSpoolingLogger
java.lang.Object
com.yahoo.search.logging.AbstractSpoolingLogger
Abstract class that deals with storing event entries on disk and making sure all stored
entries are eventually sent
- Author:
- hmusum
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
dequeue
(LoggerEntry entry) protected boolean
enqueue
(LoggerEntry entry) void
run()
boolean
send
(LoggerEntry entry) void
shutdown()
abstract boolean
transport
(LoggerEntry entry) Actually transports the entry to it's destination
-
Field Details
-
log
-
spooler
-
executor
protected final com.yahoo.search.logging.AbstractThreadedLogger.WorkerThreadExecutor executor
-
-
Constructor Details
-
AbstractSpoolingLogger
public AbstractSpoolingLogger() -
AbstractSpoolingLogger
-
-
Method Details