object ZFlowExecutor
- Alphabetic
- By Inheritance
- ZFlowExecutor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val default: ZLayer[KeyValueStore with IndexedStore with PersistentState with ExecutorBinaryCodecs with Configuration, Throwable, ZFlowExecutor]
- val defaultInMemoryJson: ZLayer[Configuration, Throwable, ZFlowExecutor]
- val defaultInMemoryProtobuf: ZLayer[Configuration, Throwable, ZFlowExecutor]
- val defaultJson: ZLayer[KeyValueStore with IndexedStore with PersistentState with Configuration, Throwable, ZFlowExecutor]
- val defaultProtobuf: ZLayer[KeyValueStore with IndexedStore with PersistentState with Configuration, Throwable, ZFlowExecutor]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def forceGarbageCollection(): ZIO[ZFlowExecutor, Nothing, Unit]
Force a GC run manually
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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.
- 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.
- 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.
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()