Uses of Interface
dev.mccue.guava.concurrent.Service
-
Uses of Service in dev.mccue.guava.concurrent
Classes in dev.mccue.guava.concurrent that implement ServiceModifier and TypeClassDescriptionclassBase class for services that can implementAbstractExecutionThreadService.startUp(),AbstractExecutionThreadService.run()andAbstractExecutionThreadService.shutDown()methods.classBase class for services that do not need a thread while "running" but may need one during startup and shutdown.classBase class for services that can implementAbstractScheduledService.startUp()andAbstractScheduledService.shutDown()but while in the "running" state need to perform a periodic task.classBase class for implementing services that can handleAbstractService.doStart()andAbstractService.doStop()requests, responding to them withAbstractService.notifyStarted()andAbstractService.notifyStopped()callbacks.Methods in dev.mccue.guava.concurrent that return ServiceModifier and TypeMethodDescriptionfinal ServiceAbstractExecutionThreadService.startAsync()final ServiceAbstractIdleService.startAsync()final ServiceAbstractScheduledService.startAsync()final ServiceAbstractService.startAsync()Service.startAsync()If the service state isService.State.NEW, this initiates service startup and returns immediately.final ServiceAbstractExecutionThreadService.stopAsync()final ServiceAbstractIdleService.stopAsync()final ServiceAbstractScheduledService.stopAsync()final ServiceAbstractService.stopAsync()Service.stopAsync()Methods in dev.mccue.guava.concurrent that return types with arguments of type ServiceModifier and TypeMethodDescriptiondev.mccue.guava.collect.ImmutableSetMultimap<Service.State,Service> ServiceManager.servicesByState()Provides a snapshot of the current state of all the services under management.ServiceManager.startupDurations()Returns the service load times.ServiceManager.startupTimes()Returns the service load times.Methods in dev.mccue.guava.concurrent with parameters of type ServiceConstructor parameters in dev.mccue.guava.concurrent with type arguments of type ServiceModifierConstructorDescriptionServiceManager(Iterable<? extends Service> services) Constructs a new instance for managing the given services.