LifecycleResult

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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product