Package io.sentry

Class DuplicateEventDetectionEventProcessor

  • All Implemented Interfaces:
    EventProcessor

    public final class DuplicateEventDetectionEventProcessor
    extends java.lang.Object
    implements EventProcessor
    Deduplicates events containing throwable that has been already processed.
    • Constructor Detail

      • DuplicateEventDetectionEventProcessor

        public DuplicateEventDetectionEventProcessor​(@NotNull
                                                     @NotNull SentryOptions options)
    • Method Detail

      • process

        @Nullable
        public @Nullable SentryEvent process​(@NotNull
                                             @NotNull SentryEvent event,
                                             @Nullable
                                             @Nullable java.lang.Object 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