Package com.djrapitops.plan.gathering
Class ServerShutdownSave
- java.lang.Object
-
- com.djrapitops.plan.gathering.ServerShutdownSave
-
- Direct Known Subclasses:
BukkitServerShutdownSave
,NukkitServerShutdownSave
,SpongeServerShutdownSave
public abstract class ServerShutdownSave extends java.lang.Object
Class in charge of performing save operations when the server shuts down.
-
-
Field Summary
Fields Modifier and Type Field Description protected net.playeranalytics.plugin.server.PluginLogger
logger
-
Constructor Summary
Constructors Modifier Constructor Description protected
ServerShutdownSave(Locale locale, DBSystem dbSystem, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract boolean
checkServerShuttingDownStatus()
java.util.Optional<java.util.concurrent.Future<?>>
performSave()
void
serverIsKnownToBeShuttingDown()
-
-
-
Constructor Detail
-
ServerShutdownSave
protected ServerShutdownSave(Locale locale, DBSystem dbSystem, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
-
-