hu.midori.kosmos.server
Class ServiceResultUpdaterJob

java.lang.Object
  extended by org.springframework.scheduling.quartz.QuartzJobBean
      extended by hu.midori.kosmos.server.ServiceResultUpdaterJob
All Implemented Interfaces:
org.quartz.Job, org.quartz.StatefulJob

public class ServiceResultUpdaterJob
extends org.springframework.scheduling.quartz.QuartzJobBean
implements org.quartz.StatefulJob

Quartz job for scheduled updates of the content of the cache. It is stateful to avoid expensive concurrent updates.

Version:
$Id$
Author:
Aron Gombas

Constructor Summary
ServiceResultUpdaterJob()
           
 
Method Summary
protected  void executeInternal(org.quartz.JobExecutionContext executionContext)
          Updates the content of the cache, triggered by an external scheduler.
 void setCache(net.sf.ehcache.Cache cache)
           
 
Methods inherited from class org.springframework.scheduling.quartz.QuartzJobBean
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.quartz.Job
execute
 

Constructor Detail

ServiceResultUpdaterJob

public ServiceResultUpdaterJob()
Method Detail

setCache

public void setCache(net.sf.ehcache.Cache cache)

executeInternal

protected void executeInternal(org.quartz.JobExecutionContext executionContext)
Updates the content of the cache, triggered by an external scheduler.

Specified by:
executeInternal in class org.springframework.scheduling.quartz.QuartzJobBean