Class ShutdownDataPreservation

java.lang.Object
net.playeranalytics.plugin.scheduling.PluginRunnable
com.djrapitops.plan.TaskSystem.Task
com.djrapitops.plan.gathering.ShutdownDataPreservation
All Implemented Interfaces:
Runnable

@Singleton public class ShutdownDataPreservation extends TaskSystem.Task
  • Constructor Details

    • ShutdownDataPreservation

      @Inject public ShutdownDataPreservation(PlanFiles files, Locale locale, DBSystem dbSystem, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
  • Method Details

    • storePreviouslyPreservedSessions

      public void storePreviouslyPreservedSessions()
    • run

      public void run()
    • register

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

      public void preserveSessionsInCache()