org.rhq.plugins.perftest.event
Class PerfTestEventPoller
java.lang.Object
org.rhq.plugins.perftest.event.PerfTestEventPoller
- All Implemented Interfaces:
- EventPoller
public class PerfTestEventPoller
- extends Object
- implements EventPoller
Emits events when polled. Set the following system properties to define behavior:
rhq.perftest.events.polling-interval (in seconds; if this is not set, this poller object will never be created)
rhq.perftest.events.count (default is "1")
rhq.perftest.events.severity (default is "INFO")
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PERFTEST_EVENT_TYPE
public static final String PERFTEST_EVENT_TYPE
- See Also:
- Constant Field Values
SYSPROP_EVENTS_POLLING_INTERVAL
public static final String SYSPROP_EVENTS_POLLING_INTERVAL
- See Also:
- Constant Field Values
SYSPROP_EVENTS_COUNT
public static final String SYSPROP_EVENTS_COUNT
- See Also:
- Constant Field Values
SYSPROP_EVENTS_SEVERITY
public static final String SYSPROP_EVENTS_SEVERITY
- See Also:
- Constant Field Values
PerfTestEventPoller
public PerfTestEventPoller(ResourceContext resourceContext)
getEventType
public String getEventType()
- Specified by:
getEventType in interface EventPoller
poll
public Set<org.rhq.core.domain.event.Event> poll()
- Specified by:
poll in interface EventPoller
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.