Class ShutdownManager
java.lang.Object
com.soulfiremc.server.util.structs.ShutdownManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
shutdown()
void
shutdownSoftware
(boolean explicitExit) Shuts down the software if it is running.
-
Constructor Details
-
ShutdownManager
-
-
Method Details
-
shutdownSoftware
public void shutdownSoftware(boolean explicitExit) Shuts down the software if it is running.- Parameters:
explicitExit
- whether the user explicitly shut down the software
-
awaitShutdown
public void awaitShutdown() -
shutdown
public boolean shutdown()
-