org.universAAL.context.che.database
Class Cleaner
java.lang.Object
java.util.TimerTask
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
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cleaner
public Cleaner(Backend dbstore)
- Main constructor.
- Parameters:
dbstore
- The store
run
public void run()
- Specified by:
run
in interface Runnable
- Specified by:
run
in class TimerTask
Copyright © 2014 universAAL Consortium. All Rights Reserved.