Package org.ehcache.spi.service
Interface MaintainableService
- All Superinterfaces:
Service
- All Known Subinterfaces:
PersistableResourceService
Service interface that indicates that implementing services participate in
MAINTENANCE mode.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumDefines Maintenance scope -
Method Summary
Modifier and TypeMethodDescriptionvoidstartForMaintenance(ServiceProvider<? super MaintainableService> serviceProvider, MaintainableService.MaintenanceScope maintenanceScope) Start this service for maintenance, based on its default configuration.
-
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 servicesmaintenanceScope- the scope of the maintenance
-