com.worxbend.cobalt.LifecycleResult
See theLifecycleResult companion object
final case class LifecycleResult(command: String, from: RunState, status: ConsumerStatus, changed: Boolean)
The outcome of a lifecycle command.
Carries the state before as well as after, because "pause" applied to an already-paused consumer and "pause" applied to a running one are both successes and an operator needs to know which one happened — particularly when the command was issued twice because the first response was slow.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article