Lifecycle

final case class Lifecycle(postStart: Option[LifecycleHandler], preStop: Option[LifecycleHandler])

Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.

Source:
Lifecycle.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

if postStart has a value, transforms to the result of function

if postStart has a value, transforms to the result of function

Source:
Lifecycle.scala

if preStop has a value, transforms to the result of function

if preStop has a value, transforms to the result of function

Source:
Lifecycle.scala

Returns a new data with postStart set to new value

Returns a new data with postStart set to new value

Source:
Lifecycle.scala

Returns a new data with preStop set to new value

Returns a new data with preStop set to new value

Source:
Lifecycle.scala

Inherited methods

Inherited from:
Product