public interface StreamStartableComponent
Minimal lifecycle contract for components that can be started and stopped on demand.
Consumers typically call start during initialization and stop when tearing down resources or responding to lifecycle events.
abstract Result<Unit>
start()
stop()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abstract Result<Unit> start()
Starts the component.
subscriptionManager.start() .onFailure { cause -> logger.e(cause) { "Unable to start monitor" } }
abstract Result<Unit> stop()
Stops the component.
subscriptionManager.stop() .onFailure { cause -> logger.w(cause) { "Unable to stop monitor" } }