Various internal stable markers (#27004)

This commit is contained in:
Christopher Batey 2019-05-29 07:09:12 +01:00 committed by GitHub
parent 31f6170c62
commit 28fbd28e7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 1 deletions

View file

@ -163,6 +163,7 @@ private[akka] object Shard {
*
* @see [[ClusterSharding$ ClusterSharding extension]]
*/
@InternalStableApi
private[akka] class Shard(
typeName: String,
shardId: ShardRegion.ShardId,
@ -381,6 +382,7 @@ private[akka] class Shard(
entityTerminated(ref)
}
@InternalStableApi
def entityTerminated(ref: ActorRef): Unit = {
val id = idByRef(ref)
idByRef -= ref