#806 Create period cleanup task and implement cleanup for session records
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user