Interface StabilityManager

All Superinterfaces:
Manager
All Known Implementing Classes:
DisabledWatchdog, Watchdog

public interface StabilityManager extends Manager
  • Method Details

    • getStorageState

      @NotNull @NotNull StabilityState getStorageState()
      Returns stability state of storage.
      Returns:
      state of storage.
    • getDatabaseState

      @NotNull @NotNull StabilityState getDatabaseState()
      Returns stability state of database connection.
      Returns:
      state of database.
    • getMemoryState

      @NotNull @NotNull StabilityState getMemoryState()
      Returns stability state of memory.
      Returns:
      state of RAM.
    • getTicksState

      @NotNull @NotNull StabilityState getTicksState()
      Returns stability state of ticks.
      Returns:
      state of TPS.
    • getState

      @NotNull @NotNull StabilityState getState()
      Returns stability state of all systems.
      Returns:
      state of plugin
    • isFine

      default boolean isFine()
      Checks if plugin's stability is fine.
      Returns:
      true - stability is fine, false - not stable.
    • isVeryBad

      default boolean isVeryBad()
      Checks if plugin's stability is very unstable.
      Returns:
      true - stability is bad, false - normal.