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 void
discard(@NotNull SentryEnvelope envelope)
static NoOpEnvelopeCache
getInstance()
@NotNull java.util.Iterator<SentryEnvelope>
iterator()
void
store(@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:
store
in interfaceIEnvelopeCache
-
discard
public void discard(@NotNull @NotNull SentryEnvelope envelope)
- Specified by:
discard
in interfaceIEnvelopeCache
-
iterator
@NotNull public @NotNull java.util.Iterator<SentryEnvelope> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<SentryEnvelope>
-
-