public final class ShutdownHookIntegration extends java.lang.Object implements Integration
Hub
when main thread shuts down.Constructor and Description |
---|
ShutdownHookIntegration() |
ShutdownHookIntegration(@NotNull java.lang.Runtime runtime) |
Modifier and Type | Method and Description |
---|---|
void |
register(@NotNull IHub hub,
@NotNull SentryOptions options)
Registers an integration
|
@TestOnly public ShutdownHookIntegration(@NotNull @NotNull java.lang.Runtime runtime)
public ShutdownHookIntegration()
public void register(@NotNull @NotNull IHub hub, @NotNull @NotNull SentryOptions options)
Integration
register
in interface Integration
hub
- the Huboptions
- the options