Class/Object

com.rbmhtechnology.eventuate.crdt

MVRegister

Related Docs: object MVRegister | package crdt

Permalink

case class MVRegister[A](versioned: Set[Versioned[A]] = Set.empty[Versioned[A]]) extends CRDTFormat with Product with Serializable

Operation-based MV-Register CRDT. Has several Versioned values assigned in case of concurrent assignments, otherwise, a single Versioned value. Concurrent assignments can be reduced to a single assignment by assigning a Versioned value with a vector timestamp that is greater than those of the currently assigned Versioned values.

A

Assigned value type.

versioned

Assigned values. Initially empty.

See also

A comprehensive study of Convergent and Commutative Replicated Data Types

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

Instance Constructors

  1. new MVRegister(versioned: Set[Versioned[A]] = Set.empty[Versioned[A]])

    Permalink

    versioned

    Assigned values. Initially empty.

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 assign(v: A, vectorTimestamp: VectorTime, systemTimestamp: Long = 0L, emitterId: String = ""): MVRegister[A]

    Permalink

    Assigns a Versioned value from v and vectorTimestamp and returns an updated MV-Register.

    Assigns a Versioned value from v and vectorTimestamp and returns an updated MV-Register.

    v

    value to assign.

    vectorTimestamp

    vector timestamp of the value to assign.

    systemTimestamp

    system timestamp of the value to assign.

    emitterId

    id of the value emitter.

  6. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  14. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  15. def value: Set[A]

    Permalink
  16. val versioned: Set[Versioned[A]]

    Permalink

    Assigned values.

    Assigned values. Initially empty.

  17. final def wait(): Unit

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

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

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

Inherited from Product

Inherited from Equals

Inherited from CRDTFormat

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped