public class LogFileEventPoller extends Object implements EventPoller
| Constructor and Description |
|---|
LogFileEventPoller(EventContext eventContext,
String eventType,
File logFile,
LogEntryProcessor entryProcessor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEventType()
Returns the type of event (i.e.
|
String |
getSourceLocation() |
protected void |
init()
This performs any initialization that requires using the EventContext.
|
Set<org.rhq.core.domain.event.Event> |
poll()
Poll for new Events (i.e.
|
public LogFileEventPoller(EventContext eventContext, String eventType, File logFile, LogEntryProcessor entryProcessor)
@NotNull public String getEventType()
EventPollerEventDefinition name) that this poller
checks for.getEventType in interface EventPollerEventDefinition name) that this poller
checks for@NotNull public String getSourceLocation()
@Nullable public Set<org.rhq.core.domain.event.Event> poll()
EventPollerpoll in interface EventPollerprotected void init()
poll() on the first
invocation of that method, at which point the PC will be initialized.Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.