Klasse SystemStatusService

java.lang.Object
de.delinkedde.areashopreborn.application.SystemStatusService

public final class SystemStatusService extends Object
Aggregates database and main-thread adapter health without blocking command execution.
  • Konstruktordetails

    • SystemStatusService

      public SystemStatusService(Database database, ThreadBridge threads, WorldGuardGateway worldGuard, EconomyGateway economy)
      Creates the operational status service.
      Parameter:
      database - SQLite owner
      threads - main-thread bridge
      worldGuard - WorldGuard adapter
      economy - Vault economy adapter
  • Methodendetails

    • inspect

      public CompletableFuture<SystemStatus> inspect()
      Performs a full non-mutating operational inspection.
      Gibt zurück:
      future containing the aggregated status
    • migrations

      public CompletableFuture<DatabaseStatus> migrations()
      Inspects only installed and expected migration versions.
      Gibt zurück:
      future containing database migration status