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 TypeMethodDescriptionvoidclose()static IdMaintenanceServicecreate(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:
descriptionin interfacecom.io7m.repetoir.core.RPServiceType
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
toString
-