Class/Object

com.rbmhtechnology.eventuate.crdt

ORSet

Related Docs: object ORSet | package crdt

Permalink

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

Operation-based OR-Set CRDT. Versioned entries are uniquely identified with vector timestamps.

A

Entry value type.

versionedEntries

Versioned entries.

See also

A comprehensive study of Convergent and Commutative Replicated Data Types, specification 15

Linear Supertypes
Product, Equals, CRDTFormat, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ORSet
  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 ORSet(versionedEntries: Set[Versioned[A]] = Set.empty[Versioned[A]])

    Permalink

    versionedEntries

    Versioned entries.

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. def add(entry: A, timestamp: VectorTime): ORSet[A]

    Permalink

    Adds a Versioned entry from entry, identified by timestamp, and returns an updated ORSet.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  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. def prepareRemove(entry: A): Set[VectorTime]

    Permalink

    Collects all timestamps of given entry.

  15. def remove(timestamps: Set[VectorTime]): ORSet[A]

    Permalink

    Removes all Versioned entries identified by given timestamps and returns an updated ORSet.

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

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

    Permalink

    Returns all entries, masking duplicates of different version.

  18. val versionedEntries: Set[Versioned[A]]

    Permalink

    Versioned entries.

  19. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. 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