Class ErrorNotifierImpl
- java.lang.Object
-
- org.apache.pulsar.functions.worker.ErrorNotifierImpl
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.AutoCloseable,ErrorNotifier
public class ErrorNotifierImpl extends java.lang.Object implements ErrorNotifier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorNotifierImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidtriggerError(java.lang.Throwable th)voidwaitForError()
-
-
-
Method Detail
-
triggerError
public void triggerError(java.lang.Throwable th)
- Specified by:
triggerErrorin interfaceErrorNotifier
-
waitForError
public void waitForError() throws java.lang.Exception- Specified by:
waitForErrorin interfaceErrorNotifier- Throws:
java.lang.Exception
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfaceErrorNotifier
-
-