mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
243 lines
5.9 KiB
Java
243 lines
5.9 KiB
Java
package io.sentry;
|
|
|
|
import io.sentry.metrics.LocalMetricsAggregator;
|
|
import io.sentry.protocol.Contexts;
|
|
import io.sentry.protocol.SentryId;
|
|
import io.sentry.protocol.TransactionNameSource;
|
|
import java.util.Collections;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class NoOpTransaction implements ITransaction {
|
|
private static final NoOpTransaction instance = new NoOpTransaction();
|
|
|
|
public static NoOpTransaction getInstance() {
|
|
return instance;
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public void finish() {
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public void finish(SpanStatus spanStatus) {
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public void finish(SpanStatus spanStatus, SentryDate sentryDate) {
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public void finish(SpanStatus spanStatus, SentryDate sentryDate, boolean z, Hint hint) {
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public void forceFinish(SpanStatus spanStatus, boolean z, Hint hint) {
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public Object getData(String str) {
|
|
return null;
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public String getDescription() {
|
|
return null;
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public Span getLatestActiveSpan() {
|
|
return null;
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public LocalMetricsAggregator getLocalMetricsAggregator() {
|
|
return null;
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public String getName() {
|
|
return "";
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public String getOperation() {
|
|
return "";
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public TracesSamplingDecision getSamplingDecision() {
|
|
return null;
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public SpanStatus getStatus() {
|
|
return null;
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public String getTag(String str) {
|
|
return null;
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public Throwable getThrowable() {
|
|
return null;
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public boolean isFinished() {
|
|
return true;
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public boolean isNoOp() {
|
|
return true;
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public Boolean isProfileSampled() {
|
|
return null;
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public Boolean isSampled() {
|
|
return null;
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public void scheduleFinish() {
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public void setContext(String str, Object obj) {
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public void setData(String str, Object obj) {
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public void setDescription(String str) {
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public void setMeasurement(String str, Number number) {
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public void setMeasurement(String str, Number number, MeasurementUnit measurementUnit) {
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public void setName(String str) {
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public void setName(String str, TransactionNameSource transactionNameSource) {
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public void setOperation(String str) {
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public void setStatus(SpanStatus spanStatus) {
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public void setTag(String str, String str2) {
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public void setThrowable(Throwable th) {
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public BaggageHeader toBaggageHeader(List<String> list) {
|
|
return null;
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public boolean updateEndDate(SentryDate sentryDate) {
|
|
return false;
|
|
}
|
|
|
|
private NoOpTransaction() {
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public TransactionNameSource getTransactionNameSource() {
|
|
return TransactionNameSource.CUSTOM;
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public ISpan startChild(String str) {
|
|
return NoOpSpan.getInstance();
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public ISpan startChild(String str, String str2, SpanOptions spanOptions) {
|
|
return NoOpSpan.getInstance();
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public ISpan startChild(String str, String str2, SentryDate sentryDate, Instrumenter instrumenter) {
|
|
return NoOpSpan.getInstance();
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public ISpan startChild(String str, String str2, SentryDate sentryDate, Instrumenter instrumenter, SpanOptions spanOptions) {
|
|
return NoOpSpan.getInstance();
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public ISpan startChild(String str, String str2) {
|
|
return NoOpSpan.getInstance();
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public List<Span> getSpans() {
|
|
return Collections.emptyList();
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public ISpan startChild(String str, String str2, SentryDate sentryDate) {
|
|
return NoOpSpan.getInstance();
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public SentryId getEventId() {
|
|
return SentryId.EMPTY_ID;
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public SentryTraceHeader toSentryTrace() {
|
|
return new SentryTraceHeader(SentryId.EMPTY_ID, SpanId.EMPTY_ID, false);
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public TraceContext traceContext() {
|
|
return new TraceContext(SentryId.EMPTY_ID, "");
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public SpanContext getSpanContext() {
|
|
return new SpanContext(SentryId.EMPTY_ID, SpanId.EMPTY_ID, "op", null, null);
|
|
}
|
|
|
|
@Override // io.sentry.ITransaction
|
|
public Contexts getContexts() {
|
|
return new Contexts();
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public SentryDate getStartDate() {
|
|
return new SentryNanotimeDate();
|
|
}
|
|
|
|
@Override // io.sentry.ISpan
|
|
public SentryDate getFinishDate() {
|
|
return new SentryNanotimeDate();
|
|
}
|
|
}
|