Package com.linkedin.alpini.base.registry
package com.linkedin.alpini.base.registry
-
ClassDescriptionA simplified implementation of a
ShutdownableResource.A registry to manageShutdownableresources.ResourceRegistry.Factory<R extends ShutdownableResource>Factories must implement this interface.Resources which implementResourceRegistry.ShutdownFirstwill be shut down during the first phase.Resources which implementResourceRegistry.ShutdownLastwill be shut down during the last phase.Resources which implementResourceRegistry.Syncwill be shut down after preceding resources have finished shutting down and further resources will shut down after it has completed shutting down.AnExecutorServiceinterface which also extends theShutdownableinterface.AScheduledExecutorServiceinterface which also extends theShutdownableinterface.