diff --git a/remote/src/main/java/org/apache/pekko/remote/artery/aeron/AeronErrorLog.java b/remote/src/main/java/org/apache/pekko/remote/artery/aeron/AeronErrorLog.java index 21c32a3a6c..fd4ca15cd8 100644 --- a/remote/src/main/java/org/apache/pekko/remote/artery/aeron/AeronErrorLog.java +++ b/remote/src/main/java/org/apache/pekko/remote/artery/aeron/AeronErrorLog.java @@ -23,6 +23,7 @@ import org.agrona.IoUtil; import org.agrona.concurrent.AtomicBuffer; import org.agrona.concurrent.errors.ErrorLogReader; +import org.apache.pekko.annotation.InternalApi; import org.apache.pekko.event.LoggingAdapter; import org.apache.pekko.util.Helpers; @@ -37,15 +38,11 @@ import java.util.concurrent.atomic.AtomicLong; * by media driver in shared memory. This application reads the cnc file and prints the distinct * errors. Layout of the cnc file is described in {@link io.aeron.CncFileDescriptor}. */ +@InternalApi public class AeronErrorLog { final MappedByteBuffer cncByteBuffer; final AtomicBuffer buffer; - @Deprecated - public AeronErrorLog(File cncFile) { - this(cncFile, NoLogging.getInstance()); - } - public AeronErrorLog(File cncFile, LoggingAdapter log) { cncByteBuffer = IoUtil.mapExistingFile(cncFile, "cnc"); final DirectBuffer cncMetaDataBuffer = CncFileDescriptor.createMetaDataBuffer(cncByteBuffer); diff --git a/remote/src/main/mima-filters/2.0.x.backwards.excludes/remove-deprecated-methods.excludes b/remote/src/main/mima-filters/2.0.x.backwards.excludes/remove-deprecated-methods.excludes index 20e6c4a16d..de1e1fda4c 100644 --- a/remote/src/main/mima-filters/2.0.x.backwards.excludes/remove-deprecated-methods.excludes +++ b/remote/src/main/mima-filters/2.0.x.backwards.excludes/remove-deprecated-methods.excludes @@ -23,6 +23,7 @@ ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.remote.Quar ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.remote.QuarantinedEvent.uid") ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.remote.QuarantinedEvent.this") ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.remote.QuarantinedEvent.tupled") +ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.remote.artery.aeron.AeronErrorLog.this") ProblemFilters.exclude[MissingClassProblem]("org.apache.pekko.remote.serialization.ByteStringSerializer") ProblemFilters.exclude[MissingClassProblem]("org.apache.pekko.remote.serialization.IntSerializer") ProblemFilters.exclude[MissingClassProblem]("org.apache.pekko.remote.serialization.LongSerializer")