Package com.linkedin.alpini.base.registry
package com.linkedin.alpini.base.registry
-
ClassDescriptionA simplified implementation of a
ShutdownableResource
.A registry to manageShutdownable
resources.ResourceRegistry.Factory<R extends ShutdownableResource>Factories must implement this interface.Resources which implementResourceRegistry.ShutdownFirst
will be shut down during the first phase.Resources which implementResourceRegistry.ShutdownLast
will be shut down during the last phase.Resources which implementResourceRegistry.Sync
will be shut down after preceding resources have finished shutting down and further resources will shut down after it has completed shutting down.AnExecutorService
interface which also extends theShutdownable
interface.AScheduledExecutorService
interface which also extends theShutdownable
interface.