public abstract class AbstractFSConsumer extends FileResourceConsumer
ELAPSED_MILLIS, IO_IS, IO_OS, LOG, OOM, PARSE_ERR, PARSE_EX, TIMED_OUT| Constructor and Description |
|---|
AbstractFSConsumer(java.util.concurrent.ArrayBlockingQueue<FileResource> fileQueue) |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.InputStream |
getInputStream(FileResource fileResource) |
protected java.io.OutputStream |
getOutputStream(OutputStreamFactory fsOSFactory,
FileResource fileResource)
Use this for consistent logging of exceptions.
|
call, checkForTimedOutMillis, close, flushAndClose, getCurrentFile, getNumHandledExceptions, getNumResourcesConsumed, getXMLifiedLogMsg, getXMLifiedLogMsg, incrementHandledExceptions, isStillActive, parse, pleaseShutdown, processFileResourcepublic AbstractFSConsumer(java.util.concurrent.ArrayBlockingQueue<FileResource> fileQueue)
protected java.io.OutputStream getOutputStream(OutputStreamFactory fsOSFactory, FileResource fileResource)
fsOSFactory - factory that creates the outputstreamfileResource - used by the OSFactory to create the streamprotected java.io.InputStream getInputStream(FileResource fileResource)
fileResource -