Object

com.ccadllc.cedi.dtrace

TraceIO

Related Doc: package dtrace

Permalink

object TraceIO

Companion to the TraceIO[A] type alias - provides the TraceT smart constructors with the effectful program F fixed as IO.

Source
dtrace.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TraceIO
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Par[A] = TraceT[cats.effect.IO.Par, A]

    Permalink

    Type alias provided for convenience when using an IO.Par as the type of cats.effect.Parallel or cats.effect.NonEmptyParallel effectful program being traced.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Par

    Permalink
  5. def apply[A](a: ⇒ A): TraceIO[A]

    Permalink

    Lifts the non-strict, possibly impure expression computing A into a TraceIO[A] context.

    Lifts the non-strict, possibly impure expression computing A into a TraceIO[A] context.

    a

    - the non-strict expression computing A to lift into a TraceIO context.

    returns

    a non-strict expression which computes A lifted into a TraceIO.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def ask: TraceIO[TraceContext[IO]]

    Permalink

    Ask for the current TraceContext[IO] in a TraceIO.

    Ask for the current TraceContext[IO] in a TraceIO.

    returns

    a TraceContext[IO], describing the environment of the active trace, wrapped in a TraceIO.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. def contextShift(ec: ExecutionContext)(implicit F: Monad[IO]): ContextShift[TraceIO]

    Permalink

    Creates a cats.effect.ContextShift[TraceIO] given an ExecutionContext.

    Creates a cats.effect.ContextShift[TraceIO] given an ExecutionContext. The context shift provides the means of evaluating an expression on a given execution context (e.g., thread pool) and switching back after the evaluation is completed.

    ec

    - an ExecutionContext used to switch back to after the ContextShift.evalOn finishes.

    returns

    a ContextShift[TraceIO]

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def pure[A](a: A): TraceIO[A]

    Permalink

    Lifts a value A into a TraceIO[A] context.

    Lifts a value A into a TraceIO[A] context.

    a

    - the pure value A to lift into a TraceIO context.

    returns

    a pure value A wrapped in a TraceIO.

  19. def raiseError[A](t: Throwable): TraceIO[A]

    Permalink

    Creates a TraceIO indicating a failure has occurred during execution of the Span.

    Creates a TraceIO indicating a failure has occurred during execution of the Span.

    t

    - the Throwable with which to fail the underlying program.

    returns

    the TraceIO[A] in a failed state.

  20. def suspend[A](t: ⇒ IO[A]): TraceIO[A]

    Permalink

    Lifts the non-strict, possibly impure expression computing a TraceIO[A] into a TraceIO[A] The expression is suspended until the outer TraceIO returned is run.

    Lifts the non-strict, possibly impure expression computing a TraceIO[A] into a TraceIO[A] The expression is suspended until the outer TraceIO returned is run.

    t

    - the non-strict expression computing TraceIO[A] to lift into a TraceIO context suspended until the outer TraceIO is run.

    returns

    a non-strict expression which computes TraceIO[A] lifted into a TraceIO in a suspended state until the outer TraceIO is run.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def toTraceIO[A](io: IO[A]): TraceIO[A]

    Permalink
  24. def unit: TraceIO[Unit]

    Permalink

    An alias for TraceIO.pure(()) provided for convenience.

    An alias for TraceIO.pure(()) provided for convenience.

    returns

    a pure unit () value.

  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped