Class DisabledWatchdog
java.lang.Object
ua.mcchickenstudio.opencreative.managers.stability.DisabledWatchdog
- All Implemented Interfaces:
Manager, StabilityManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull StabilityStateReturns stability state of database connection.@NotNull StabilityStateReturns stability state of memory.getName()Returns name of manager, that will be displayed by request in the logs.@NotNull StabilityStategetState()Returns stability state of all systems.@NotNull StabilityStateReturns stability state of storage.@NotNull StabilityStateReturns stability state of ticks.voidinit()Initialization of manager.booleanChecks if manager is ready to work.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface StabilityManager
isFine, isVeryBad
-
Constructor Details
-
DisabledWatchdog
public DisabledWatchdog()
-
-
Method Details
-
init
-
isEnabled
-
getDatabaseState
Description copied from interface:StabilityManagerReturns stability state of database connection.- Specified by:
getDatabaseStatein interfaceStabilityManager- Returns:
- state of database.
-
getMemoryState
Description copied from interface:StabilityManagerReturns stability state of memory.- Specified by:
getMemoryStatein interfaceStabilityManager- Returns:
- state of RAM.
-
getStorageState
Description copied from interface:StabilityManagerReturns stability state of storage.- Specified by:
getStorageStatein interfaceStabilityManager- Returns:
- state of storage.
-
getTicksState
Description copied from interface:StabilityManagerReturns stability state of ticks.- Specified by:
getTicksStatein interfaceStabilityManager- Returns:
- state of TPS.
-
getName
-
getState
Description copied from interface:StabilityManagerReturns stability state of all systems.- Specified by:
getStatein interfaceStabilityManager- Returns:
- state of plugin
-