Package io.sentry
Class MainEventProcessor
- java.lang.Object
-
- io.sentry.MainEventProcessor
-
- All Implemented Interfaces:
EventProcessor,java.io.Closeable,java.lang.AutoCloseable
@Internal public final class MainEventProcessor extends java.lang.Object implements EventProcessor, java.io.Closeable
-
-
Constructor Summary
Constructors Constructor Description MainEventProcessor(@NotNull SentryOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()@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 Detail
-
MainEventProcessor
public MainEventProcessor(@NotNull @NotNull SentryOptions options)
-
-
Method Detail
-
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
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-