Package io.sentry
Class DeduplicateMultithreadedEventProcessor
java.lang.Object
io.sentry.DeduplicateMultithreadedEventProcessor
- All Implemented Interfaces:
EventProcessor
An event processor that deduplicates crash events of the same type that are simultaneously from
multiple threads. This can be the case for OutOfMemory errors or CursorWindowAllocationException,
basically any error related to allocating memory when it's low.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable SentryEvent
process
(@NotNull SentryEvent event, @NotNull Hint hint) May mutate or drop a SentryEventMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.sentry.EventProcessor
process, process
-
Constructor Details
-
DeduplicateMultithreadedEventProcessor
-
-
Method Details
-
process
@Nullable public @Nullable SentryEvent process(@NotNull @NotNull SentryEvent event, @NotNull @NotNull Hint hint) Description copied from interface:EventProcessor
May mutate or drop a SentryEvent- Specified by:
process
in interfaceEventProcessor
- Parameters:
event
- the SentryEventhint
- the Hint- Returns:
- the event itself, a mutated SentryEvent or null
-