ostore.introspect
Class CollectorStage

java.lang.Object
  |
  +--ostore.introspect.CollectorStage
All Implemented Interfaces:
EventHandlerIF

public class CollectorStage
extends Object
implements EventHandlerIF

CollectorStage watches for events of certain type. The type is specified in the config file. To specify which events to watch for, add this arg to the config file:

events Event1 Event2 . . . EventN
where events 1 through N are the events you want to keep track of. First planning on creating the semantic relation table. Later add the temperature stuff.


Constructor Summary
CollectorStage()
           
 
Method Summary
 void destroy()
          Required by seda.sandStorem.api.EventHandlerIF interface.
 void handleEvent(QueueElementIF element)
           
 void handleEvents(QueueElementIF[] elemarr)
           
 void init(ConfigDataIF config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectorStage

public CollectorStage()
Method Detail

destroy

public void destroy()
             throws Exception
Required by seda.sandStorem.api.EventHandlerIF interface.

Specified by:
destroy in interface EventHandlerIF
Exception

handleEvents

public void handleEvents(QueueElementIF[] elemarr)
                  throws EventHandlerException
Specified by:
handleEvents in interface EventHandlerIF
EventHandlerException

handleEvent

public void handleEvent(QueueElementIF element)
                 throws EventHandlerException
Specified by:
handleEvent in interface EventHandlerIF
EventHandlerException

init

public void init(ConfigDataIF config)
          throws Exception
Specified by:
init in interface EventHandlerIF
Exception