BEA Systems, Inc.

com.connecterra.util.event
Class PeriodicEvent

java.lang.Object
  extended by com.connecterra.util.event.PeriodicEvent

public abstract class PeriodicEvent
extends Object

Like Event, except used as the base class for periodically executed event handlers.

See Also:
AbstractEventProcessor.doPeriodic(com.connecterra.util.event.AbstractEventProcessor.PeriodicEventHandle, long, com.connecterra.util.event.PeriodicEvent)

Constructor Summary
PeriodicEvent()
           
 
Method Summary
abstract  void handle()
          When the PeriodicEvent is handled on the AbstractEventProcessor's Scheduler, this method is called on the Scheduler's thread.
 void stop()
          When this method is invoked, the periodic event will be cancelled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeriodicEvent

public PeriodicEvent()
Method Detail

handle

public abstract void handle()
When the PeriodicEvent is handled on the AbstractEventProcessor's Scheduler, this method is called on the Scheduler's thread.

See Also:
Event.handle()

stop

public void stop()
When this method is invoked, the periodic event will be cancelled.


Documentation is available at
${DOCSWEBROOT}
Copyright 2007 BEA Systems Inc.