org.rhq.plugins.platform.win
Class Win32EventLogDelegate
java.lang.Object
org.rhq.plugins.platform.win.Win32EventLogDelegate
- All Implemented Interfaces:
- EventPoller
public class Win32EventLogDelegate
- extends Object
- implements EventPoller
A delegate for reading windows event logs and returning them as RHQ events. Supports
filtering by regular expression of the content, as well as minimum severity.
- Author:
- Greg Hinkle, Jay Shaughnessy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Win32EventLogDelegate
public Win32EventLogDelegate(org.rhq.core.domain.configuration.Configuration config)
open
public void open()
close
public void close()
checkForNewEvents
@Nullable
public Set<org.rhq.core.domain.event.Event> checkForNewEvents()
handleEvent
public org.rhq.core.domain.event.Event handleEvent(org.hyperic.sigar.win32.EventLogRecord event)
getEventType
@NotNull
public String getEventType()
- Specified by:
getEventType in interface EventPoller
poll
@Nullable
public Set<org.rhq.core.domain.event.Event> poll()
- Specified by:
poll in interface EventPoller
getEventsChecked
public int getEventsChecked()
getEventsFired
public int getEventsFired()
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.