Interface ResultHandler<T>
- Type Parameters:
T- Type of the request entries.
@PublicEvolving
public interface ResultHandler<T>
Interface to handle the result of a
AsyncSinkWriter request.-
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete()Mark the in-flight request as completed successfully.voidFail job with fatal exception.voidretryForEntries(List<T> requestEntriesToRetry) Requeue Failed entries to retry.
-
Method Details
-
complete
void complete()Mark the in-flight request as completed successfully. -
completeExceptionally
Fail job with fatal exception. -
retryForEntries
Requeue Failed entries to retry.
-