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 void
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
-
-
-
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: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
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-