Package com.linkedin.alpini.base.registry
-
Interface Summary Interface Description ResourceRegistry.Factory<R extends ShutdownableResource> Factories must implement this interface.ResourceRegistry.ShutdownFirst Resources which implementResourceRegistry.ShutdownFirst
will be shut down during the first phase.ResourceRegistry.ShutdownLast Resources which implementResourceRegistry.ShutdownLast
will be shut down during the last phase.ResourceRegistry.Sync 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.Shutdownable ShutdownableExecutors ShutdownableExecutorService AnExecutorService
interface which also extends theShutdownable
interface.ShutdownableResource ShutdownableScheduledExecutorService AScheduledExecutorService
interface which also extends theShutdownable
interface.SyncShutdownable -
Class Summary Class Description AbstractShutdownableResource<R> A simplified implementation of aShutdownableResource
.ResourceRegistry A registry to manageShutdownable
resources.SyncResourceRegistry SyncShutdownableAdapter