Class DBCleanTask
java.lang.Object
net.playeranalytics.plugin.scheduling.PluginRunnable
com.djrapitops.plan.TaskSystem.Task
com.djrapitops.plan.storage.upkeep.DBCleanTask
- All Implemented Interfaces:
Runnable
Task for cleaning the active database.
-
Constructor Summary
ConstructorDescriptionDBCleanTask
(PlanConfig config, Locale locale, DBSystem dbSystem, QuerySvc queryService, ServerInfo serverInfo, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger) -
Method Summary
Modifier and TypeMethodDescriptionint
cleanOldPlayers
(Database database) void
register
(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory) void
run()
Methods inherited from class net.playeranalytics.plugin.scheduling.PluginRunnable
cancel
-
Constructor Details
-
DBCleanTask
@Inject public DBCleanTask(PlanConfig config, Locale locale, DBSystem dbSystem, QuerySvc queryService, ServerInfo serverInfo, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
-
-
Method Details
-
run
public void run() -
register
public void register(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory) - Specified by:
register
in classTaskSystem.Task
-
cleanOldPlayers
-