Package io.sentry
Class MainEventProcessor
java.lang.Object
io.sentry.MainEventProcessor
- All Implemented Interfaces:
EventProcessor
,Closeable
,AutoCloseable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
@NotNull SentryTransaction
process
(@NotNull SentryTransaction transaction, @NotNull Hint hint) May mutate or drop a SentryTransaction@NotNull SentryEvent
process
(@NotNull SentryEvent event, @NotNull Hint hint) May mutate or drop a SentryEvent@NotNull SentryReplayEvent
process
(@NotNull SentryReplayEvent 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: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
-
process
@NotNull public @NotNull SentryTransaction process(@NotNull @NotNull SentryTransaction transaction, @NotNull @NotNull Hint hint) Description copied from interface:EventProcessor
May mutate or drop a SentryTransaction- Specified by:
process
in interfaceEventProcessor
- Parameters:
transaction
- the SentryTransactionhint
- the Hint- Returns:
- the event itself, a mutated SentryTransaction or null
-
process
@NotNull public @NotNull SentryReplayEvent process(@NotNull @NotNull SentryReplayEvent 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
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-