org.sape.carbon.services.scheduler
Interface Schedulable

All Known Subinterfaces:
Cache, MRUCache, MultiGetCache
All Known Implementing Classes:
AbstractMRUCache, AbstractTotalCache, MultiGetMRUCache

public interface Schedulable

All FunctionalInterfaces of components called by the SchedulerService must impelment this interface. Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.8 $($Author: dvoet $ / $Date: 2003/05/05 21:21:33 $)
Author:
Douglas Voet, June 2002

Method Summary
 void runScheduledTask()
          This method is called by the SchedulerService when a task is executed
 

Method Detail

runScheduledTask

public void runScheduledTask()
                      throws Exception,
                             UnrecoverableTaskException
This method is called by the SchedulerService when a task is executed

Throws:
UnrecoverableTaskException - if an unrecoverable problem has occured. This will lead to the task being canceled. It will not run again unless is it rescheduled. These are logged as Errors
Exception - any other exception can be thrown. They are handled and logged as Warnings. The task will not be canceled.


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.