Class DisabledWatchdog
java.lang.Object
ua.mcchickenstudio.opencreative.managers.stability.DisabledWatchdog
- All Implemented Interfaces:
Manager,StabilityManager,Startable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull StabilityStateReturns stability state of database connection.@NotNull StabilityStateReturns stability state of memory.@NotNull StringgetName()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.voidstart()Does tasks on start.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ua.mcchickenstudio.opencreative.managers.stability.StabilityManager
isFine, isVeryBad
-
Constructor Details
-
DisabledWatchdog
public DisabledWatchdog()
-
-
Method Details
-
start
public void start()Description copied from interface:StartableDoes tasks on start. -
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
Description copied from interface:ManagerReturns name of manager, that will be displayed by request in the logs. -
getState
Description copied from interface:StabilityManagerReturns stability state of all systems.- Specified by:
getStatein interfaceStabilityManager- Returns:
- state of plugin
-