Uses of Interface
io.karatelabs.common.Stoppable
Packages that use Stoppable
-
Uses of Stoppable in io.karatelabs.common
Methods in io.karatelabs.common that return StoppableModifier and TypeMethodDescriptionstatic StoppableKarateLifecycle.wrap(String name, String kind, ExecutorService executor) Adapt anExecutorServicetoStoppable, for a component whose only long-lived resource is its pool.Methods in io.karatelabs.common that return types with arguments of type StoppableModifier and TypeMethodDescriptionKarateLifecycle.running()Everything registered right now, in registration order.Methods in io.karatelabs.common with parameters of type StoppableModifier and TypeMethodDescriptionstatic voidAdd a component to the register — call once it is actually running (bound, connected, spawned), not while it is still being constructed.static voidKarateLifecycle.unregister(Stoppable stoppable) Remove a component from the register — call from the component's own stop path, so that something which stopped by itself (peer closed the socket, process exited) drops off too.