Search in sources :

Example 1 with DataPurge

use of com.serotonin.m2m2.rt.maint.DataPurge in project ma-core-public by infiniteautomation.

the class SystemSettingsDwr method purgeNow.

@DwrPermission(admin = true)
public void purgeNow() {
    DataPurge dataPurge = new DataPurge();
    dataPurge.execute(Common.timer.currentTimeMillis());
}
Also used : DataPurge(com.serotonin.m2m2.rt.maint.DataPurge) DwrPermission(com.serotonin.m2m2.web.dwr.util.DwrPermission)

Aggregations

DataPurge (com.serotonin.m2m2.rt.maint.DataPurge)1 DwrPermission (com.serotonin.m2m2.web.dwr.util.DwrPermission)1