Class ErrorNotifierShutdownServiceImpl

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.AutoCloseable, ErrorNotifier

    public class ErrorNotifierShutdownServiceImpl
    extends java.lang.Object
    implements ErrorNotifier
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void triggerError​(java.lang.Throwable th)  
      void waitForError()  
      • Methods inherited from class java.lang.Object

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

      • ErrorNotifierShutdownServiceImpl

        public ErrorNotifierShutdownServiceImpl​(org.apache.pulsar.broker.ShutdownService shutdownService)
    • Method Detail

      • triggerError

        public void triggerError​(java.lang.Throwable th)
        Specified by:
        triggerError in interface ErrorNotifier
      • waitForError

        public void waitForError()
                          throws java.lang.Exception
        Specified by:
        waitForError in interface ErrorNotifier
        Throws:
        java.lang.Exception
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface ErrorNotifier