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

29 lines
814 B
Java

package io.sentry.transport;
import io.sentry.Hint;
import io.sentry.SentryEnvelope;
import io.sentry.cache.IEnvelopeCache;
import java.util.Collections;
import java.util.Iterator;
/* loaded from: classes3.dex */
public final class NoOpEnvelopeCache implements IEnvelopeCache {
private static final NoOpEnvelopeCache instance = new NoOpEnvelopeCache();
public static NoOpEnvelopeCache getInstance() {
return instance;
}
@Override // io.sentry.cache.IEnvelopeCache
public void discard(SentryEnvelope sentryEnvelope) {
}
@Override // io.sentry.cache.IEnvelopeCache
public void store(SentryEnvelope sentryEnvelope, Hint hint) {
}
@Override // java.lang.Iterable
public Iterator<SentryEnvelope> iterator() {
return Collections.emptyIterator();
}
}