Package org.sensorhub.api.database
Interface IObsSystemDbAutoPurgePolicy
public interface IObsSystemDbAutoPurgePolicy
Interface for policies used to automatically purge historical data.
The criteria used for purging is up to the implementation (e.g. time of
oldest records, total number of records, size of the DB file, etc...)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
trimStorage
(IObsSystemDatabase db, org.slf4j.Logger log, Collection<String> systemUIDs) Implementation of this method executes whatever actions are necessary for this aging policy
-
Method Details
-
trimStorage
Implementation of this method executes whatever actions are necessary for this aging policy- Parameters:
db
-log
-systemUIDs
-
-