@ApiStatus.Internal public final class SessionCache extends java.lang.Object implements IEnvelopeCache
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX_CURRENT_SESSION_FILE |
Constructor and Description |
---|
SessionCache(@NotNull SentryOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
discard(@NotNull SentryEnvelope envelope) |
@NotNull java.util.Iterator<SentryEnvelope> |
iterator() |
void |
store(@NotNull SentryEnvelope envelope,
@Nullable java.lang.Object hint) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
store
public static final java.lang.String PREFIX_CURRENT_SESSION_FILE
public SessionCache(@NotNull @NotNull SentryOptions options)
public void store(@NotNull @NotNull SentryEnvelope envelope, @Nullable @Nullable java.lang.Object hint)
store
in interface IEnvelopeCache
public void discard(@NotNull @NotNull SentryEnvelope envelope)
discard
in interface IEnvelopeCache
@NotNull public @NotNull java.util.Iterator<SentryEnvelope> iterator()
iterator
in interface java.lang.Iterable<SentryEnvelope>