org.alfresco.bm.event
Class EventWork
java.lang.Object
org.alfresco.bm.event.EventWork
- All Implemented Interfaces:
- Runnable
public class EventWork
- extends Object
- implements Runnable
A unit of work that can be executed by the event processing threads.
It delegates to the
event processor,
which does not need to know anything about the events or event recording.
- Since:
- 1.0
- Author:
- Derek Hulley
|
Method Summary |
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventWork
public EventWork(String serverId,
String testRunFqn,
Event event,
EventProcessor processor,
EventService eventService,
ResultService resultService)
- Construct work to be executed by a thread
- Parameters:
serverId - the identifier of the server process handling the eventtestRunFqn - the fully qualified name of the test run initiating the workevent - the event to be processedprocessor - the component that will do the actual processingeventService - the queue events that will be updated with new eventsresultService - the service to store results of the execution
run
public void run()
- Specified by:
run in interface Runnable
Copyright © 2012. All Rights Reserved.