add InternalStableApi annotation (#26949)
This commit is contained in:
parent
14d070298d
commit
a4a61649f6
3 changed files with 49 additions and 20 deletions
|
|
@ -20,6 +20,7 @@ import akka.actor.Props
|
|||
import akka.actor.Stash
|
||||
import akka.actor.Terminated
|
||||
import akka.actor.Timers
|
||||
import akka.annotation.InternalStableApi
|
||||
import akka.cluster.Cluster
|
||||
import akka.cluster.ddata.ORSet
|
||||
import akka.cluster.ddata.ORSetKey
|
||||
|
|
@ -495,6 +496,7 @@ private[akka] class Shard(
|
|||
getOrCreateEntity(id).tell(payload, snd)
|
||||
}
|
||||
|
||||
@InternalStableApi
|
||||
def getOrCreateEntity(id: EntityId): ActorRef = {
|
||||
val name = URLEncoder.encode(id, "utf-8")
|
||||
context.child(name) match {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue