c
izumi.distage.testkit.services.dstest.DistageTestRunner
MemoizationTree
Companion object MemoizationTree
final class MemoizationTree[F[_]] extends AnyRef
Structure for creation, storage and traversing over memoization levels. To support the memoization level we should create a memoization tree first, where every node will contain a unique part of the memoization plan. For better performance we are going to use mutable structures. Mutate this tree only in case when you KNOW what you doing. Every change in tree structure may lead to test failed across all childs of the corrupted node.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MemoizationTree
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
- def add(memoizationTree: MemoizationTree[F]): Unit
- def addGroup(group: MemoizationLevelGroup[F]): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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 getAllTests: Seq[PreparedTest[F]]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getGroups: List[MemoizationLevelGroup[F]]
- 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()
- val plan: Plan
- def stateMap[A, E](initialState: A)(m: (A, MemoizationTree[F]) => Either[List[E], (A, MemoizationTree[F])]): Either[List[E], MemoizationTree[F]]
Remap tree with function (mapedParentNode, thisNode) => thisNodeMaped
Remap tree with function (mapedParentNode, thisNode) => thisNodeMaped
- Annotations
- @inline()
- def stateTraverseLifecycle[State](initialState: State)(func: (State, MemoizationTree[F]) => distage.Lifecycle[F, State])(recover: (MemoizationTree[F]) => (F[Unit]) => F[Unit])(implicit F: QuasiIO[F]): F[Unit]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- MemoizationTree → AnyRef → Any
- Annotations
- @inline()
- 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()