Package org.ehcache.spi.service
Interface MaintainableService
-
- All Superinterfaces:
Service
- All Known Subinterfaces:
PersistableResourceService
public interface MaintainableService extends Service
Serviceinterface that indicates that implementing services participate inMAINTENANCEmode.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMaintainableService.MaintenanceScopeDefines Maintenance scope
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidstartForMaintenance(ServiceProvider<? super MaintainableService> serviceProvider, MaintainableService.MaintenanceScope maintenanceScope)Start this service for maintenance, based on its default configuration.
-
-
-
Method Detail
-
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 servicesmaintenanceScope- the scope of the maintenance
-
-