org.mmbase.applications.crontab
Class MMBaseCacheClearerJob

java.lang.Object
  extended by org.mmbase.applications.crontab.AbstractCronJob
      extended by org.mmbase.applications.crontab.MMBaseCacheClearerJob
All Implemented Interfaces:
Runnable, CronJob

public class MMBaseCacheClearerJob
extends AbstractCronJob

Periodically clears MMBase caches. The configuration string may be a comma-separated list of the names of the caches to be cleared. Otherwise all caches.

Since:
MMBase-1.9
Version:
$Id: MMBaseCacheClearerJob.java 42079 2010-05-03 09:06:58Z michiel $
Author:
Michiel Meeuwissen

Field Summary
protected  String[] caches
           
 
Fields inherited from class org.mmbase.applications.crontab.AbstractCronJob
cronEntry
 
Constructor Summary
MMBaseCacheClearerJob()
           
 
Method Summary
protected  void init()
          You can init by overriding this (no need to call super.init) This is called by AbstractCronJob.init(CronEntry)
 void run()
          Implement this.
 
Methods inherited from class org.mmbase.applications.crontab.AbstractCronJob
getEntry, init, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

caches

protected String[] caches
Constructor Detail

MMBaseCacheClearerJob

public MMBaseCacheClearerJob()
Method Detail

init

protected void init()
Description copied from class: AbstractCronJob
You can init by overriding this (no need to call super.init) This is called by AbstractCronJob.init(CronEntry)

Overrides:
init in class AbstractCronJob

run

public final void run()
Description copied from class: AbstractCronJob
Implement this.

Specified by:
run in interface Runnable
Specified by:
run in interface CronJob
Specified by:
run in class AbstractCronJob


MMBase 2.0-SNAPSHOT - null