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.ShutdownFirstwill be shut down during the first phase.ResourceRegistry.ShutdownLast Resources which implementResourceRegistry.ShutdownLastwill be shut down during the last phase.ResourceRegistry.Sync 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.Shutdownable ShutdownableExecutors ShutdownableExecutorService AnExecutorServiceinterface which also extends theShutdownableinterface.ShutdownableResource ShutdownableScheduledExecutorService AScheduledExecutorServiceinterface which also extends theShutdownableinterface.SyncShutdownable -
Class Summary Class Description AbstractShutdownableResource<R> A simplified implementation of aShutdownableResource.ResourceRegistry A registry to manageShutdownableresources.SyncResourceRegistry SyncShutdownableAdapter