Rabbit-R1/switch port/java/sources/io/sentry/NoOpSentryClient.java
2024-05-21 17:08:36 -04:00

73 lines
2 KiB
Java

package io.sentry;
import io.sentry.metrics.NoopMetricsAggregator;
import io.sentry.protocol.SentryId;
import io.sentry.protocol.SentryTransaction;
import io.sentry.transport.RateLimiter;
/* loaded from: classes3.dex */
final class NoOpSentryClient implements ISentryClient {
private static final NoOpSentryClient instance = new NoOpSentryClient();
public static NoOpSentryClient getInstance() {
return instance;
}
@Override // io.sentry.ISentryClient
public void captureSession(Session session, Hint hint) {
}
@Override // io.sentry.ISentryClient
public void captureUserFeedback(UserFeedback userFeedback) {
}
@Override // io.sentry.ISentryClient
public void close() {
}
@Override // io.sentry.ISentryClient
public void close(boolean z) {
}
@Override // io.sentry.ISentryClient
public void flush(long j) {
}
@Override // io.sentry.ISentryClient
public RateLimiter getRateLimiter() {
return null;
}
@Override // io.sentry.ISentryClient
public boolean isEnabled() {
return false;
}
private NoOpSentryClient() {
}
@Override // io.sentry.ISentryClient
public SentryId captureEvent(SentryEvent sentryEvent, IScope iScope, Hint hint) {
return SentryId.EMPTY_ID;
}
@Override // io.sentry.ISentryClient
public SentryId captureEnvelope(SentryEnvelope sentryEnvelope, Hint hint) {
return SentryId.EMPTY_ID;
}
@Override // io.sentry.ISentryClient
public SentryId captureTransaction(SentryTransaction sentryTransaction, TraceContext traceContext, IScope iScope, Hint hint, ProfilingTraceData profilingTraceData) {
return SentryId.EMPTY_ID;
}
@Override // io.sentry.ISentryClient
public SentryId captureCheckIn(CheckIn checkIn, IScope iScope, Hint hint) {
return SentryId.EMPTY_ID;
}
@Override // io.sentry.ISentryClient
public IMetricsAggregator getMetricsAggregator() {
return NoopMetricsAggregator.getInstance();
}
}