Interface HandlesDocumentTimeout


  • public interface HandlesDocumentTimeout
    Interfaces for any subclass of BaseDocumentTransformer to implement if they need to perform specialized cleanup in the event of a document timeout.
    • Method Detail

      • handleDocumentTimeout

        void handleDocumentTimeout​(IngestDocument doc,
                                   long timeoutPeriod,
                                   java.lang.Exception ex)
        Method called when a timeout occurs.
        Parameters:
        doc - The document that timed out
        timeoutPeriod - the period of time configured on the component for the timeout
        ex - the exception that was triggered as a result of the timeout. Usually this is a {TimeoutException}.