Class ServerShutdownSave

java.lang.Object
com.djrapitops.plan.gathering.ServerShutdownSave
Direct Known Subclasses:
BukkitServerShutdownSave, FabricServerShutdownSave, NukkitServerShutdownSave, SpongeServerShutdownSave

public abstract class ServerShutdownSave extends Object
Class in charge of performing save operations when the server shuts down.
  • Field Details

    • logger

      protected final net.playeranalytics.plugin.server.PluginLogger logger
  • Constructor Details

    • ServerShutdownSave

      protected ServerShutdownSave(Locale locale, DBSystem dbSystem, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
  • Method Details

    • checkServerShuttingDownStatus

      protected abstract boolean checkServerShuttingDownStatus()
    • getAfkTracker

      public abstract Optional<AFKTracker> getAfkTracker()
    • serverIsKnownToBeShuttingDown

      public void serverIsKnownToBeShuttingDown()
    • performSave

      public Optional<Future<?>> performSave()