public class HadoopEventAndCalltimeDelegate extends Log4JLogEntryProcessor
MultiLineLogEntryProcessor.LogEntry, MultiLineLogEntryProcessor.ParseExceptiondateFormat, eventType, includesPattern, log, logFile, minimumSeverity| Constructor and Description |
|---|
HadoopEventAndCalltimeDelegate(String eventType,
File logFile) |
| Modifier and Type | Method and Description |
|---|---|
Set<JobSummary> |
drainAccumulatedJobs() |
Set<org.rhq.core.domain.event.Event> |
processLines(BufferedReader bufferedReader)
This does the very same thing as the super class method but the method is synchronized
so that accumulated calltime data can be drained without race conditions using the
drainAccumulatedJobs() method. |
protected MultiLineLogEntryProcessor.LogEntry |
processPrimaryLine(Matcher matcher) |
getDefaultDateFormat, getPattern, parseDateStringprocessLine, setDateFormat, setDateIfNotSet, setIncludesPattern, setMinimumSeveritypublic Set<JobSummary> drainAccumulatedJobs()
public Set<org.rhq.core.domain.event.Event> processLines(BufferedReader bufferedReader) throws IOException
drainAccumulatedJobs() method.processLines in interface LogEntryProcessorprocessLines in class MultiLineLogEntryProcessorIOExceptionprotected MultiLineLogEntryProcessor.LogEntry processPrimaryLine(Matcher matcher) throws MultiLineLogEntryProcessor.ParseException
processPrimaryLine in class Log4JLogEntryProcessorMultiLineLogEntryProcessor.ParseExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.