Class DBCleanTask

  • All Implemented Interfaces:
    java.lang.Runnable

    @Singleton
    public class DBCleanTask
    extends TaskSystem.Task
    Task for cleaning the active database.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int cleanOldPlayers​(Database database)  
      void register​(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory)  
      void run()  
      • Methods inherited from class net.playeranalytics.plugin.scheduling.PluginRunnable

        cancel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • run

        public void run()
      • register

        public void register​(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory)
        Specified by:
        register in class TaskSystem.Task
      • cleanOldPlayers

        public int cleanOldPlayers​(Database database)