Package 

Interface IOtelCrashHandler


  • 
    public interface IOtelCrashHandler
    
                        

    Platform-agnostic crash handler interface. This should be initialized as early as possible and be independent of service architecture.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit initialize() Initialize the crash handler.
      abstract Unit unregister() Unregisters this crash handler, restoring the previous default handler.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • initialize

         abstract Unit initialize()

        Initialize the crash handler. This should be called as early as possible, before any other initialization that might crash.

      • unregister

         abstract Unit unregister()

        Unregisters this crash handler, restoring the previous default handler. Safe to call even if initialize was never called (no-op in that case).