Package io.sentry
Class MainEventProcessor
java.lang.Object
io.sentry.MainEventProcessor
- All Implemented Interfaces:
EventProcessor,Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()@NotNull SentryTransactionprocess(@NotNull SentryTransaction transaction, @NotNull Hint hint) May mutate or drop a SentryTransaction@NotNull SentryEventprocess(@NotNull SentryEvent event, @NotNull Hint hint) May mutate or drop a SentryEvent
-
Constructor Details
-
MainEventProcessor
-
-
Method Details
-
process
@NotNull public @NotNull SentryEvent process(@NotNull @NotNull SentryEvent event, @NotNull @NotNull Hint hint) Description copied from interface:EventProcessorMay mutate or drop a SentryEvent- Specified by:
processin interfaceEventProcessor- Parameters:
event- the SentryEventhint- the Hint- Returns:
- the event itself, a mutated SentryEvent or null
-
process
@NotNull public @NotNull SentryTransaction process(@NotNull @NotNull SentryTransaction transaction, @NotNull @NotNull Hint hint) Description copied from interface:EventProcessorMay mutate or drop a SentryTransaction- Specified by:
processin interfaceEventProcessor- Parameters:
transaction- the SentryTransactionhint- the Hint- Returns:
- the event itself, a mutated SentryTransaction or null
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-