org.rhq.plugins.platform.win
Class Win32EventLogDelegate
java.lang.Object
org.rhq.plugins.platform.win.Win32EventLogDelegate
- All Implemented Interfaces:
- EventPoller
public class Win32EventLogDelegate
- extends java.lang.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(Configuration config)
open
public void open()
close
public void close()
checkForNewEvents
@Nullable
public java.util.Set<Event> checkForNewEvents()
handleEvent
public Event handleEvent(org.hyperic.sigar.win32.EventLogRecord event)
getEventType
@NotNull
public java.lang.String getEventType()
- Specified by:
getEventType in interface EventPoller
poll
@Nullable
public java.util.Set<Event> poll()
- Specified by:
poll in interface EventPoller
getEventsChecked
public int getEventsChecked()
getEventsFired
public int getEventsFired()
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.