Packages

object ZFlowExecutor

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

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. val default: ZLayer[KeyValueStore with IndexedStore with PersistentState with ExecutorBinaryCodecs with Configuration, Throwable, ZFlowExecutor]
  7. val defaultInMemoryJson: ZLayer[Configuration, Throwable, ZFlowExecutor]
  8. val defaultInMemoryProtobuf: ZLayer[Configuration, Throwable, ZFlowExecutor]
  9. val defaultJson: ZLayer[KeyValueStore with IndexedStore with PersistentState with Configuration, Throwable, ZFlowExecutor]
  10. val defaultProtobuf: ZLayer[KeyValueStore with IndexedStore with PersistentState with Configuration, Throwable, ZFlowExecutor]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. def forceGarbageCollection(): ZIO[ZFlowExecutor, Nothing, Unit]

    Force a GC run manually

  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def poll(id: FlowId): ZIO[ZFlowExecutor, ExecutorError, Option[Either[Either[ExecutorError, DynamicValue], DynamicValue]]]

    Poll currently running and complete workflows.

    Poll currently running and complete workflows.

    If the workflow with the provided id is completed, it will be returned.

  22. def restartAll(): ZIO[ZFlowExecutor, ExecutorError, Unit]

    Restart all known persisted running flows after recreating an executor.

    Restart all known persisted running flows after recreating an executor.

    Executors with no support for persistence should do nothing.

  23. def run[E, A](id: FlowId, flow: ZFlow[Any, E, A])(implicit arg0: Schema[E], arg1: Schema[A]): ZIO[ZFlowExecutor, E, A]

    Submits a flow to be executed, and waits for it to complete.

    Submits a flow to be executed, and waits for it to complete.

    If the executor is already running a flow with the given ID, that flow's result will be awaited.

  24. def start[E, A](id: FlowId, flow: ZFlow[Any, E, A]): ZIO[ZFlowExecutor, ExecutorError, DurablePromise[Either[ExecutorError, DynamicValue], FlowResult]]

    Submits a flow to be executed and returns a durable promise that will complete when the flow completes.

    Submits a flow to be executed and returns a durable promise that will complete when the flow completes.

    If the executor is already running a flow with the given ID, the existing flow's durable promise will be returned

  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped