Package com.djrapitops.plan.gathering
Class ShutdownDataPreservation
java.lang.Object
net.playeranalytics.plugin.scheduling.PluginRunnable
com.djrapitops.plan.TaskSystem.Task
com.djrapitops.plan.gathering.ShutdownDataPreservation
- All Implemented Interfaces:
Runnable
-
Constructor Summary
ConstructorDescriptionShutdownDataPreservation(PlanFiles files, Locale locale, DBSystem dbSystem, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
-
Method Summary
Methods inherited from class net.playeranalytics.plugin.scheduling.PluginRunnable
cancel
-
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 classTaskSystem.Task
-
preserveSessionsInCache
public void preserveSessionsInCache()
-