Class IdMaintenanceService
java.lang.Object
com.io7m.idstore.server.service.maintenance.IdMaintenanceService
- All Implemented Interfaces:
com.io7m.repetoir.core.RPServiceType
,AutoCloseable
public final class IdMaintenanceService
extends Object
implements com.io7m.repetoir.core.RPServiceType, AutoCloseable
A service that performs nightly database maintenance.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static IdMaintenanceService
create
(IdServerClock clock, IdServerTelemetryServiceType telemetry, IdServerConfigurationService configuration, IdTLSContextServiceType tlsContexts, IdDatabaseType database) A service that performs nightly maintenance.toString()
-
Method Details
-
create
public static IdMaintenanceService create(IdServerClock clock, IdServerTelemetryServiceType telemetry, IdServerConfigurationService configuration, IdTLSContextServiceType tlsContexts, IdDatabaseType database) A service that performs nightly maintenance.- Parameters:
clock
- The clocktelemetry
- The telemetry serviceconfiguration
- The configuration servicetlsContexts
- The TLS contextsdatabase
- The database- Returns:
- The service
-
description
- Specified by:
description
in interfacecom.io7m.repetoir.core.RPServiceType
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
toString
-