@Singleton
public class DBCleanTask
extends com.djrapitops.plugin.task.AbsRunnable
Constructor and Description |
---|
DBCleanTask(PlanConfig config,
Locale locale,
DBSystem dbSystem,
QuerySvc queryService,
ServerInfo serverInfo,
com.djrapitops.plugin.logging.console.PluginLogger logger,
com.djrapitops.plugin.logging.error.ErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
int |
cleanOldPlayers(Database database) |
void |
run() |
@Inject public DBCleanTask(PlanConfig config, Locale locale, DBSystem dbSystem, QuerySvc queryService, ServerInfo serverInfo, com.djrapitops.plugin.logging.console.PluginLogger logger, com.djrapitops.plugin.logging.error.ErrorHandler errorHandler)
public void run()
public int cleanOldPlayers(Database database)