public interface Service
Implementation of this interface must be thread-safe.
CacheManagers can be closed and initialized again,
Service implementations should support
multiple start/stop cycles. Failure to do so will limit the init/close cycles at the
void start(ServiceProvider<Service> serviceProvider)
The service provider allows a service to retrieve and use other services.
Service retrieved at this stage may not yet be started. The recommended usage pattern therefore, is to keep a
reference to the dependent
Service but use it only when specific methods are invoked on subtypes.
serviceProvider- the service provider