public interface LogEntryProcessor
LogFileEventPoller. Whenever the LogFileEventPoller's poll() method
detects new lines have been appended to the log file is is tailing, it calls the
processLines(java.io.BufferedReader) method, passing it a buffered reader containing the new lines.| Modifier and Type | Method and Description |
|---|---|
Set<org.rhq.core.domain.event.Event> |
processLines(BufferedReader bufferedReader)
Processes the specified lines from a log file, and returns a set of Events if appropriate, or otherwise, null.
|
@Nullable Set<org.rhq.core.domain.event.Event> processLines(BufferedReader bufferedReader) throws IOException
bufferedReader - a buffered reader from which the lines can be readIOException - if reading lines from the supplied buffer reader failsCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.