org.gcube.informationsystem.collector.impl.xmlstorage.backup
Class Scheduler

java.lang.Object
  extended by org.gcube.informationsystem.collector.impl.xmlstorage.backup.Scheduler
All Implemented Interfaces:
java.lang.Runnable

public abstract class Scheduler
extends java.lang.Object
implements java.lang.Runnable

Scheduler for periodic XMLStorage backups

Author:
Manuele Simi (ISTI-CNR)

Constructor Summary
Scheduler()
           
Scheduler(int intervalInHours)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scheduler

public Scheduler(int intervalInHours)
Parameters:
intervalInHours - the interval expressed in hours between two backups

Scheduler

public Scheduler()
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable