Class FatalExceptionClassifier
- java.lang.Object
-
- org.apache.flink.connector.base.sink.throwable.FatalExceptionClassifier
-
@Internal public class FatalExceptionClassifier extends Object
Classifier class for retryable exceptions on request submission failure.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FatalExceptionClassifiercreateChain(FatalExceptionClassifier... classifiers)booleanisFatal(Throwable err, Consumer<Exception> throwableConsumer)static FatalExceptionClassifierwithRootCauseOfType(Class<? extends Throwable> type, Function<Throwable,Exception> mapper)
-
-
-
Method Detail
-
withRootCauseOfType
public static FatalExceptionClassifier withRootCauseOfType(Class<? extends Throwable> type, Function<Throwable,Exception> mapper)
-
createChain
public static FatalExceptionClassifier createChain(FatalExceptionClassifier... classifiers)
-
-