Rabbit-R1/switch port/java/sources/io/sentry/NoOpSentryClient.java

74 lines
2 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
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();
}
}