public interface MaintainableService extends Service
Service
interface that indicates that implementing services participate in
MAINTENANCE
mode.Modifier and Type | Interface and Description |
---|---|
static class |
MaintainableService.MaintenanceScope
Defines Maintenance scope
|
Modifier and Type | Method and Description |
---|---|
void |
startForMaintenance(ServiceProvider<? super MaintainableService> serviceProvider,
MaintainableService.MaintenanceScope maintenanceScope)
Start this service for maintenance, based on its default configuration.
|
void startForMaintenance(ServiceProvider<? super MaintainableService> serviceProvider, MaintainableService.MaintenanceScope maintenanceScope)
serviceProvider
- enables to depend on other maintainable servicesmaintenanceScope
- the scope of the maintenance