#806 Create period cleanup task and implement cleanup for session records

This commit is contained in:
ljacqu
2016-08-06 23:20:30 +02:00
parent eef314b965
commit f2d7fe908e
4 changed files with 62 additions and 1 deletions
@@ -0,0 +1,14 @@
package fr.xephi.authme.initialization;
/**
* Common interface for types which have data that becomes outdated
* and that can be cleaned up periodically.
*/
public interface HasCleanup {
/**
* Performs the cleanup action.
*/
void performCleanup();
}