remove deprecated method in AeronErrorLog (#2055)
* remove deprecated method in AeronErrorLog * Update remove-deprecated-methods.excludes
This commit is contained in:
parent
629b7d74fe
commit
19d4fd1bfa
2 changed files with 3 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue