Package dk.netarkivet.common.lifecycle
-
Interface Summary Interface Description ComponentLifeCycle Extends the default construction -> deconstruction object life cycle with addition steps, giving users ofComponentLifeCycle
better control over the component startup and shutdown phases. -
Class Summary Class Description LifeCycleComponent Takes care of the lifecycling of subcomponents(children).PeriodicTaskExecutor This class wraps aScheduledThreadPoolExecutor
, allowing to periodically run one or severalRunnable
tasks (fixed rate execution).PeriodicTaskExecutor.PeriodicTask Represents a periodic task.