org.universAAL.context.che.database
Class Cleaner

Package class diagram package Cleaner
java.lang.Object
  extended by java.util.TimerTask
      extended by org.universAAL.context.che.database.Cleaner
All Implemented Interfaces:
Runnable

public class Cleaner
extends TimerTask

This class is used to remove events from the store periodically, to avoid the uncontrolled growth of the history.

Author:
Alvaro Fides Valero

Constructor Summary
Cleaner(Backend dbstore)
          Main constructor.
 
Method Summary
 void run()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cleaner

public Cleaner(Backend dbstore)
Main constructor.

Parameters:
dbstore - The store
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimerTask


Copyright © 2014 universAAL Consortium. All Rights Reserved.