Packages

c

org.apache.spark.sql.delta.fuzzer

ExecutionPhaseLock

case class ExecutionPhaseLock(name: String, entryBarrier: AtomicBarrier = new AtomicBarrier(), exitBarrier: AtomicBarrier = new AtomicBarrier()) extends Product with Serializable

An ExecutionPhaseLock is an abstraction to keep multiple transactions moving in a pre-selected lock-step sequence.

In order to pass a phase, we first wait on the entryBarrier. Once we are allowed to pass there, we can execute the code that belongs to this phase, and then we unblock the exitBarrier.

name

human readable name for debugging

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExecutionPhaseLock
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExecutionPhaseLock(name: String, entryBarrier: AtomicBarrier = new AtomicBarrier(), exitBarrier: AtomicBarrier = new AtomicBarrier())

    name

    human readable name for debugging

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( ... ) @native()
  6. val entryBarrier: AtomicBarrier
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def execute[T](f: ⇒ T): T

    Wait to enter this phase, then execute f, and leave before returning the result of f.

    Wait to enter this phase, then execute f, and leave before returning the result of f.

    returns

    the result of evaluating f

  9. val exitBarrier: AtomicBarrier
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hasEntered: Boolean
  13. def hasLeft: Boolean
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def leave(): Unit

    Unblock the next dependent phase.

  16. val name: String
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def passThrough(): Unit

    If there is nothing that needs to be done in this phase, we can leave immediately after entering.

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. def waitToEnter(): Unit

    Blocks at this point until the phase has been entered.

  26. def waitToLeave(): Unit

    Blocks at this point until the phase has been left.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped