final class ORMultiMap[A] extends ReplicatedData with ReplicatedDataSerialization with RemovedNodePruning

An immutable multi-map implementation. This class wraps an ORMap with an ORSet for the map's value.

This class is immutable, i.e. "modifying" methods return a new instance.

Annotations
@SerialVersionUID()
Source
ORMultiMap.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ORMultiMap
  2. RemovedNodePruning
  3. ReplicatedDataSerialization
  4. Serializable
  5. Serializable
  6. ReplicatedData
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type T = ORMultiMap[A]

    The type of the concrete implementation, e.g.

    The type of the concrete implementation, e.g. GSet[A]. To be specified by subclass.

    Definition Classes
    ORMultiMapReplicatedData

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(entry: (String, Set[A]))(implicit node: Cluster): ORMultiMap[A]

    Convenience for put.

    Convenience for put. Requires an implicit Cluster.

    See also

    #put

  4. def -(key: String)(implicit node: Cluster): ORMultiMap[A]

    Convenience for remove.

    Convenience for remove. Requires an implicit Cluster.

    See also

    #remove

  5. def ->[B](y: B): (ORMultiMap[A], B)
    Implicit
    This member is added by an implicit conversion from ORMultiMap[A] to ArrowAssoc[ORMultiMap[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def addBinding(node: Cluster, key: String, element: A): ORMultiMap[A]

    Java API: Add an element to a set associated with a key.

    Java API: Add an element to a set associated with a key. If there is no existing set then one will be initialised.

  8. def addBinding(key: String, element: A)(implicit node: Cluster): ORMultiMap[A]

    Scala API: Add an element to a set associated with a key.

    Scala API: Add an element to a set associated with a key. If there is no existing set then one will be initialised.

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def contains(key: String): Boolean
  12. def ensuring(cond: (ORMultiMap[A]) ⇒ Boolean, msg: ⇒ Any): ORMultiMap[A]
    Implicit
    This member is added by an implicit conversion from ORMultiMap[A] to Ensuring[ORMultiMap[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (ORMultiMap[A]) ⇒ Boolean): ORMultiMap[A]
    Implicit
    This member is added by an implicit conversion from ORMultiMap[A] to Ensuring[ORMultiMap[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): ORMultiMap[A]
    Implicit
    This member is added by an implicit conversion from ORMultiMap[A] to Ensuring[ORMultiMap[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): ORMultiMap[A]
    Implicit
    This member is added by an implicit conversion from ORMultiMap[A] to Ensuring[ORMultiMap[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def entries: Map[String, Set[A]]

    Scala API: All entries of a multimap where keys are strings and values are sets.

  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(o: Any): Boolean
    Definition Classes
    ORMultiMap → AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ORMultiMap[A] to StringFormat[ORMultiMap[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. def get(key: String): Option[Set[A]]

    Get the set associated with the key if there is one.

  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  23. def getEntries(): Map[String, Set[A]]

    Java API: All entries of a multimap where keys are strings and values are sets.

  24. def getOrElse(key: String, default: ⇒ Set[A]): Set[A]

    Scala API: Get the set associated with the key if there is one, else return the given default.

  25. def hashCode(): Int
    Definition Classes
    ORMultiMap → AnyRef → Any
  26. def isEmpty: Boolean
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def merge(that: T): T

    Monotonic merge function.

    Monotonic merge function.

    Definition Classes
    ORMultiMapReplicatedData
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def needPruningFrom(removedNode: UniqueAddress): Boolean

    Does it have any state changes from a specific node, which has been removed from the cluster.

    Does it have any state changes from a specific node, which has been removed from the cluster.

    Definition Classes
    ORMultiMapRemovedNodePruning
  31. final def notify(): Unit
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  33. def prune(removedNode: UniqueAddress, collapseInto: UniqueAddress): T

    When the removed node has been removed from the cluster the state changes from that node will be pruned by collapsing the data entries to another node.

    When the removed node has been removed from the cluster the state changes from that node will be pruned by collapsing the data entries to another node.

    Definition Classes
    ORMultiMapRemovedNodePruning
  34. def pruningCleanup(removedNode: UniqueAddress): T

    Remove data entries from a node that has been removed from the cluster and already been pruned.

    Remove data entries from a node that has been removed from the cluster and already been pruned.

    Definition Classes
    ORMultiMapRemovedNodePruning
  35. def put(node: Cluster, key: String, value: Set[A]): ORMultiMap[A]

    Java API: Associate an entire set with the key while retaining the history of the previous replicated data set.

  36. def put(node: Cluster, key: String, value: Set[A]): ORMultiMap[A]

    Scala API: Associate an entire set with the key while retaining the history of the previous replicated data set.

  37. def remove(node: Cluster, key: String): ORMultiMap[A]

    Remove an entire set associated with the key.

  38. def removeBinding(node: Cluster, key: String, element: A): ORMultiMap[A]

    Java API: Remove an element of a set associated with a key.

    Java API: Remove an element of a set associated with a key. If there are no more elements in the set then the entire set will be removed.

  39. def removeBinding(key: String, element: A)(implicit node: Cluster): ORMultiMap[A]

    Scala API: Remove an element of a set associated with a key.

    Scala API: Remove an element of a set associated with a key. If there are no more elements in the set then the entire set will be removed.

  40. def replaceBinding(key: String, oldElement: A, newElement: A)(implicit node: Cluster): ORMultiMap[A]

    Replace an element of a set associated with a key with a new one if it is different.

    Replace an element of a set associated with a key with a new one if it is different. This is useful when an element is removed and another one is added within the same Update. The order of addition and removal is important in order to retain history for replicated data.

  41. def size: Int
  42. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    ORMultiMap → AnyRef → Any
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def [B](y: B): (ORMultiMap[A], B)
    Implicit
    This member is added by an implicit conversion from ORMultiMap[A] to ArrowAssoc[ORMultiMap[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ORMultiMap[A] to any2stringadd[ORMultiMap[A]] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (oRMultiMap: any2stringadd[ORMultiMap[A]]).+(other)
    Definition Classes
    any2stringadd

Inherited from RemovedNodePruning

Inherited from Serializable

Inherited from Serializable

Inherited from ReplicatedData

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ORMultiMap[A] to any2stringadd[ORMultiMap[A]]

Inherited by implicit conversion StringFormat from ORMultiMap[A] to StringFormat[ORMultiMap[A]]

Inherited by implicit conversion Ensuring from ORMultiMap[A] to Ensuring[ORMultiMap[A]]

Inherited by implicit conversion ArrowAssoc from ORMultiMap[A] to ArrowAssoc[ORMultiMap[A]]

Ungrouped