object UnlessShutdown extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnlessShutdown
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type AbortedDueToShutdown = AbortedDueToShutdown.type
  2. final case class Outcome[+A](result: A) extends UnlessShutdown[A] with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. implicit val catsStdInstsUnlessShutdown: Traverse[UnlessShutdown] with Monad[UnlessShutdown]

    Cats traverse and monad instance for UnlessShutdown.

    Cats traverse and monad instance for UnlessShutdown.

    AbortedDueToShutdown propagates.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def failOnShutdownToAbortException[A](x: Try[UnlessShutdown[A]], action: String): Try[A]

    Converts com.digitalasset.canton.lifecycle.UnlessShutdown.AbortedDueToShutdowns into an internal exception so that shutdowns can tunnel through APIs that expect a plain scala.util.Try Must be used together with com.digitalasset.canton.lifecycle.UnlessShutdown.recoverFromAbortException to turn the internal exception back into com.digitalasset.canton.lifecycle.UnlessShutdown.AbortedDueToShutdown.

  10. def fromOption[A](x: Option[A]): UnlessShutdown[A]
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. implicit def monoidUnlessShutdown[A](implicit monoid: Monoid[A]): Monoid[UnlessShutdown[A]]

    Lift a cats.Monoid on outcomes to UnlessShutdown.

    Lift a cats.Monoid on outcomes to UnlessShutdown. AbortedDueToShutdown cancels.

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. def recoverFromAbortException[A](x: Try[A]): Try[UnlessShutdown[A]]
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. val unit: UnlessShutdown[Unit]
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. case object AbortedDueToShutdown extends UnlessShutdown[Nothing] with Product with Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped