+
+ +

Class ShutdownDataPreservation

+
+
+
    +
  • java.lang.Object
  • +
  • + +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.lang.Runnable
    +
    +
    +
    @Singleton
    +public class ShutdownDataPreservation
    +extends TaskSystem.Task
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidpreserveSessionsInCache() 
      voidregister​(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory) 
      voidrun() 
      voidstorePreviouslyPreservedSessions() 
      +
        +
      • + + +

        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
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

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