still finding some stray akka refs (#441)
This commit is contained in:
parent
eea42b8741
commit
279d65a7fa
5 changed files with 8 additions and 8 deletions
|
|
@ -230,7 +230,7 @@ final class ORMap[A, B <: ReplicatedData] private[pekko] (
|
|||
|
||||
/**
|
||||
* Adds an entry to the map
|
||||
* @see [[ORMap#put(node:akka\.cluster\.ddata\.SelfUniqueAddress*]]
|
||||
* @see [[ORMap#put(node:org\.apache\.pekko\.cluster\.ddata\.SelfUniqueAddress*]]
|
||||
*/
|
||||
def :+(entry: (A, B))(implicit node: SelfUniqueAddress): ORMap[A, B] = {
|
||||
val (key, value) = entry
|
||||
|
|
@ -249,13 +249,13 @@ final class ORMap[A, B <: ReplicatedData] private[pekko] (
|
|||
* on other nodes and the outcome depends on what `ReplicatedData`
|
||||
* type that is used.
|
||||
*
|
||||
* Consider using [[ORMap#updated(node:akka\.cluster\.ddata\.SelfUniqueAddress*]]
|
||||
* Consider using [[ORMap#updated(node:org\.apache\.pekko\.cluster\.ddata\.SelfUniqueAddress*]]
|
||||
* instead of `put` if you want modify existing entry.
|
||||
*
|
||||
* `IllegalArgumentException` is thrown if you try to replace an existing `ORSet`
|
||||
* value, because important history can be lost when replacing the `ORSet` and
|
||||
* undesired effects of merging will occur. Use [[ORMultiMap]] or
|
||||
* [[ORMap#updated(node:akka\.cluster\.ddata\.SelfUniqueAddress*]] instead.
|
||||
* [[ORMap#updated(node:org\.apache\.pekko\.cluster\.ddata\.SelfUniqueAddress*]] instead.
|
||||
*/
|
||||
def put(node: SelfUniqueAddress, key: A, value: B): ORMap[A, B] = put(node.uniqueAddress, key, value)
|
||||
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ final class ORMultiMap[A, B] private[pekko] (
|
|||
|
||||
/**
|
||||
* Convenience for put. Requires an implicit SelfUniqueAddress.
|
||||
* @see [[ORMultiMap#put(node:akka\.cluster\.ddata\.SelfUniqueAddress,key:A,value:Set*]]
|
||||
* @see [[ORMultiMap#put(node:org\.apache\.pekko\.cluster\.ddata\.SelfUniqueAddress,key:A,value:Set*]]
|
||||
*/
|
||||
def :+(entry: (A, Set[B]))(implicit node: SelfUniqueAddress): ORMultiMap[A, B] = {
|
||||
val (key, value) = entry
|
||||
|
|
@ -207,7 +207,7 @@ final class ORMultiMap[A, B] private[pekko] (
|
|||
|
||||
/**
|
||||
* Convenience for remove. Requires an implicit Cluster.
|
||||
* @see [[ORMultiMap#remove(node:akka\.cluster\.ddata\.SelfUniqueAddress*]]
|
||||
* @see [[ORMultiMap#remove(node:org\.apache\.pekko\.cluster\.ddata\.SelfUniqueAddress*]]
|
||||
*/
|
||||
@deprecated("Use `remove` that takes a `SelfUniqueAddress` parameter instead.", since = "Akka 2.5.20")
|
||||
def -(key: A)(implicit node: Cluster): ORMultiMap[A, B] = remove(node.selfUniqueAddress, key)
|
||||
|
|
|
|||
|
|
@ -417,7 +417,7 @@ final class ORSet[A] private[pekko] (
|
|||
/**
|
||||
* Removes all elements from the set, but keeps the history.
|
||||
* This has the same result as using
|
||||
* [[ORSet#remove(node:akka\.cluster\.ddata\.SelfUniqueAddress*]]
|
||||
* [[ORSet#remove(node:org\.apache\.pekko\.cluster\.ddata\.SelfUniqueAddress*]]
|
||||
* for each element, but it is more efficient.
|
||||
*/
|
||||
def clear(@unused node: SelfUniqueAddress): ORSet[A] = clear()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue