Class

com.rbmhtechnology.eventuate.crdt.pure.CRDTTypes

CausalRedundancy

Related Doc: package CRDTTypes

Permalink

case class CausalRedundancy(r: Redundancy, r0: Redundancy_, r1: Redundancy_) extends Product with Serializable

A triple containing the data type specific relations R, R0 and R1 used by a CRDT for causal redundancy.

r

"defines whether the delivered operation is itself redundant and does not need to be added itself to the PO-Log."

r0

"is used when the new delivered operation is discarded being redundant."

r1

"is used if the new delivered operation is added to the PO-Log."

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CausalRedundancy
  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 CausalRedundancy(r: Redundancy, r0: Redundancy_)

    Permalink

    For most data types, the relations r0 and r1 will be equal

  2. new CausalRedundancy(r: Redundancy, r0: Redundancy_, r1: Redundancy_)

    Permalink

    r

    "defines whether the delivered operation is itself redundant and does not need to be added itself to the PO-Log."

    r0

    "is used when the new delivered operation is discarded being redundant."

    r1

    "is used if the new delivered operation is added to the PO-Log."

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  9. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  10. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  12. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  13. val r: Redundancy

    Permalink

    "defines whether the delivered operation is itself redundant and does not need to be added itself to the PO-Log."

  14. val r0: Redundancy_

    Permalink

    "is used when the new delivered operation is discarded being redundant."

  15. val r1: Redundancy_

    Permalink

    "is used if the new delivered operation is added to the PO-Log."

  16. def redundancyFilter(redundant: Boolean): Redundancy_

    Permalink

    Returns the Redundancy_ relation that should be used to prune the POLog and the stable state, depending on wether the newly delivered operation was redundant or not.

    Returns the Redundancy_ relation that should be used to prune the POLog and the stable state, depending on wether the newly delivered operation was redundant or not.

    redundant

    a flag that indicates if the newly delivered operation was marked redundant by the CausalRedundancy.r relation (hence not added to the POLog)

    returns

    the redundancy relation to use

  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped