final case class SnapshotOnly(kvStore: KeyValueStore, codecs: ExecutorBinaryCodecs) extends PersistentState with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SnapshotOnly
- Serializable
- Product
- Equals
- PersistentState
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SnapshotOnly(kvStore: KeyValueStore, codecs: ExecutorBinaryCodecs)
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 codecs: ExecutorBinaryCodecs
- def createPersister(id: FlowId): ZIO[Any, Nothing, Persister]
Creates a persister used to save state changes
Creates a persister used to save state changes
- Definition Classes
- SnapshotOnly → PersistentState
- def delete(id: FlowId): ZIO[Any, ExecutorError, Option[DurablePromise[Either[ExecutorError, DynamicValue], FlowResult]]]
Deletes all persisted state for a flow
Deletes all persisted state for a flow
- Definition Classes
- SnapshotOnly → PersistentState
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val kvStore: KeyValueStore
- def load(id: FlowId): IO[ExecutorError, Option[State[_, _]]]
Loads a persisted executor state
Loads a persisted executor state
- Definition Classes
- SnapshotOnly → PersistentState
- def loadUsingSnapshot(id: FlowId, snapshot: State[_, _]): IO[ExecutorError, State[_, _]]
Loads a persisted executor state, reusing an already read latest snapshot.
Loads a persisted executor state, reusing an already read latest snapshot.
This is an optimization to avoid reading the snapshot table twice in case it was already read by enumerating all running states.
- Definition Classes
- SnapshotOnly → PersistentState
- 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 productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()