Package org.kiwiproject.dropwizard.util.startup
-
Interface Summary Interface Description ExecutionStrategy Defines a strategy used inSystemExecutioner
to terminate the JVM. -
Class Summary Class Description AllowablePortRange Defines the allowable port range for a service to bind to, for situations where there is a restriction.ExecutionStrategies Factory forExecutionStrategy
instances.ExecutionStrategies.ExitFlaggingExecutionStrategy Implementation ofExecutionStrategy
that "flags" a call toExecutionStrategies.ExitFlaggingExecutionStrategy.exit()
but does not actually exit the JVM.ExecutionStrategies.NoOpExecutionStrategy Implementation ofExecutionStrategy
that does nothing.ExecutionStrategies.SystemExitExecutionStrategy Implementation ofExecutionStrategy
that usesSystem.exit(int)
.PortAssigner Finds open ports and sets up the application and admin connectors with those ports.StartupLocker Utility to acquire and release a lock from ZooKeeper during startup of a Dropwizard service.StartupLockInfo A value class that contains information about a startup lock, such as whether a lock was successfully acquired, the lock path, the lock itself, as well as information when any exception occurs.SystemExecutioner Wrapper aroundSystem.exit(int)
for situations in which the JVM must be exited. -
Enum Summary Enum Description PortAssigner.PortAssignment PortAssigner.PortSecurity StartupLockInfo.LockState