Package io.sentry

Class ShutdownHookIntegration

java.lang.Object
io.sentry.ShutdownHookIntegration
All Implemented Interfaces:
Integration, Closeable, AutoCloseable

public final class ShutdownHookIntegration extends Object implements Integration, Closeable
Registers hook that flushes Hub when main thread shuts down.
  • Constructor Details

    • ShutdownHookIntegration

      @TestOnly public ShutdownHookIntegration(@NotNull @NotNull Runtime runtime)
    • ShutdownHookIntegration

      public ShutdownHookIntegration()
  • Method Details