Interface MaintainableService

All Superinterfaces:
Service
All Known Subinterfaces:
PersistableResourceService

public interface MaintainableService extends Service
Service interface that indicates that implementing services participate in MAINTENANCE mode.
  • Method Details

    • startForMaintenance

      void startForMaintenance(ServiceProvider<? super MaintainableService> serviceProvider, MaintainableService.MaintenanceScope maintenanceScope)
      Start this service for maintenance, based on its default configuration.
      Parameters:
      serviceProvider - enables to depend on other maintainable services
      maintenanceScope - the scope of the maintenance