Class ShutdownDataPreservation

  • All Implemented Interfaces:
    java.lang.Runnable

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

      • ShutdownDataPreservation

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

      • 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()