Class CAMaintenanceService
java.lang.Object
com.io7m.cardant.server.service.maintenance.CAMaintenanceService
- All Implemented Interfaces:
com.io7m.repetoir.core.RPServiceType,AutoCloseable
public final class CAMaintenanceService
extends Object
implements com.io7m.repetoir.core.RPServiceType, AutoCloseable
A service that performs nightly database maintenance.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static CAMaintenanceServicecreate(CAServerClock clock, CAServerTelemetryServiceType telemetry, CAConfigurationService configuration, CATLSContextServiceType tlsContexts, CADatabaseType database) A service that performs nightly maintenance.toString()
-
Method Details
-
create
public static CAMaintenanceService create(CAServerClock clock, CAServerTelemetryServiceType telemetry, CAConfigurationService configuration, CATLSContextServiceType tlsContexts, CADatabaseType 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
-