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

@ -10,6 +10,7 @@ import scala.annotation.tailrec
import scala.collection.immutable
import scala.util.control.NonFatal
import akka.actor.{ ActorRef, ExtendedActorSystem }
import akka.annotation.InternalStableApi
import akka.event.{ Logging, LoggingAdapter }
import akka.util.{ unused, OptionVal }
import akka.util.ccompat._
@ -327,6 +328,7 @@ private[remote] object RemoteInstruments {
def getKey(kl: Int): Byte = (kl >>> 26).toByte
def getLength(kl: Int): Int = kl & lengthMask
@InternalStableApi
def create(system: ExtendedActorSystem, @unused log: LoggingAdapter): Vector[RemoteInstrument] = {
val c = system.settings.config
val path = "akka.remote.artery.advanced.instruments"