Package io.sentry.transport
Class NoOpEnvelopeCache
- java.lang.Object
-
- io.sentry.transport.NoOpEnvelopeCache
-
- All Implemented Interfaces:
IEnvelopeCache,java.lang.Iterable<SentryEnvelope>
public final class NoOpEnvelopeCache extends java.lang.Object implements IEnvelopeCache
-
-
Constructor Summary
Constructors Constructor Description NoOpEnvelopeCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddiscard(@NotNull SentryEnvelope envelope)static NoOpEnvelopeCachegetInstance()@NotNull java.util.Iterator<SentryEnvelope>iterator()voidstore(@NotNull SentryEnvelope envelope, @Nullable java.lang.Object hint)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.sentry.cache.IEnvelopeCache
store
-
-
-
-
Method Detail
-
getInstance
public static NoOpEnvelopeCache getInstance()
-
store
public void store(@NotNull @NotNull SentryEnvelope envelope, @Nullable @Nullable java.lang.Object hint)- Specified by:
storein interfaceIEnvelopeCache
-
discard
public void discard(@NotNull @NotNull SentryEnvelope envelope)- Specified by:
discardin interfaceIEnvelopeCache
-
iterator
@NotNull public @NotNull java.util.Iterator<SentryEnvelope> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<SentryEnvelope>
-
-