Package io.sentry

Class DeduplicateMultithreadedEventProcessor

java.lang.Object
io.sentry.DeduplicateMultithreadedEventProcessor
All Implemented Interfaces:
EventProcessor

public final class DeduplicateMultithreadedEventProcessor extends Object implements 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 Details

    • DeduplicateMultithreadedEventProcessor

      public DeduplicateMultithreadedEventProcessor(@NotNull @NotNull SentryOptions options)
  • 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 interface EventProcessor
      Parameters:
      event - the SentryEvent
      hint - the Hint
      Returns:
      the event itself, a mutated SentryEvent or null