Class/Object

com.rbmhtechnology.eventuate

ConcurrentVersionsList

Related Docs: object ConcurrentVersionsList | package eventuate

Permalink

class ConcurrentVersionsList[A] extends ConcurrentVersions[A, A]

A ConcurrentVersions implementation that shall be used if updates replace current versioned values (= full updates). ConcurrentVersionsList is an immutable data structure.

Linear Supertypes
ConcurrentVersions[A, A], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConcurrentVersionsList
  2. ConcurrentVersions
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConcurrentVersionsList(vs: List[Versioned[A]], owner: String = "")

    Permalink

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 all: List[Versioned[A]]

    Permalink

    Returns all (un-resolved) concurrent versions.

    Returns all (un-resolved) concurrent versions.

    Definition Classes
    ConcurrentVersionsListConcurrentVersions
  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. def conflict: Boolean

    Permalink

    Returns true if there is more than one version available i.e.

    Returns true if there is more than one version available i.e. if there are multiple concurrent (= conflicting) versions.

    Definition Classes
    ConcurrentVersions
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getAll: List[Versioned[A]]

    Permalink

    Java API of all.

    Java API of all.

    Definition Classes
    ConcurrentVersions
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. val owner: String

    Permalink

    Owner of versioned values.

    Owner of versioned values.

    Definition Classes
    ConcurrentVersionsListConcurrentVersions
  19. def resolve(selectedTimestamp: VectorTime, vectorTimestamp: VectorTime, systemTimestamp: Long = 0L): ConcurrentVersionsList[A]

    Permalink

    Resolves multiple concurrent versions to a single version.

    Resolves multiple concurrent versions to a single version. For the resolution to be successful, one of the concurrent versions must have a vectorTimestamp that is equal to selectedTimestamp. Only those concurrent versions with a vectorTimestamp less than the given vectorTimestamp participate in the resolution process (which allows for resolutions to be concurrent to other updates).

    Definition Classes
    ConcurrentVersionsListConcurrentVersions
  20. def resolve(selectedTimestamp: VectorTime): ConcurrentVersions[A, A]

    Permalink

    Experimental ...

    Experimental ...

    Definition Classes
    ConcurrentVersions
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def update(na: A, vectorTimestamp: VectorTime, systemTimestamp: Long = 0L, creator: String = ""): ConcurrentVersionsList[A]

    Permalink

    Updates that Versioned value with b that is a predecessor of vectorTimestamp.

    Updates that Versioned value with b that is a predecessor of vectorTimestamp. If there is no such predecessor, a new concurrent version is created (optionally derived from an older entry in the version history, in case of incremental updates).

    Definition Classes
    ConcurrentVersionsListConcurrentVersions
  24. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def withOwner(owner: String): ConcurrentVersionsList[A]

    Permalink

    Updates the owner.

    Updates the owner.

    Definition Classes
    ConcurrentVersionsListConcurrentVersions

Inherited from ConcurrentVersions[A, A]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped