Enum Class DeadLetterDocument.FailureStage
java.lang.Object
java.lang.Enum<DeadLetterDocument.FailureStage>
org.alfresco.elasticsearch.batchindexing.model.DeadLetterDocument.FailureStage
- All Implemented Interfaces:
Serializable,Comparable<DeadLetterDocument.FailureStage>,Constable
- Enclosing class:
- DeadLetterDocument
Stage of the pipeline that produced the skip event.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEmitted directly byContentTransformDirectWriterwhen the ACS transform endpoint returns a non-retryable error (e.g.SkipListener.onSkipInWrite(S, java.lang.Throwable).Emitted directly byElasticsearchPathWriterafter its internal retry loop; never fires through Spring Batch skip.SkipListener.onSkipInProcess(T, java.lang.Throwable).Reader-side failure. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static DeadLetterDocument.FailureStage[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READER
Reader-side failure. Item never materialised — the whole page failed before a row could be mapped. Produced byDlqPageReadFailureListener, wired from reindexing'sAbstractAlfrescoNodeReaderwhen a JDBC page throws (e.g. malformed row); the record is keyed by the failed time window (id shapewindow:<tsFrom>-<tsTo>) and carries a nulldbId. Not produced through Spring Batch'sSkipListener#onSkipInRead: the paging reader would re-read the same failed page indefinitely rather than advance. -
PROCESSOR
SkipListener.onSkipInProcess(T, java.lang.Throwable). Item is the reader's output. -
METADATA_WRITER
SkipListener.onSkipInWrite(S, java.lang.Throwable). Item is the processor's output. Sub-writer is not distinguished because the composite writer swallows that context. Covers the metadata bulk writer's per-item failures too. -
PATH_WRITER
Emitted directly byElasticsearchPathWriterafter its internal retry loop; never fires through Spring Batch skip. Reserved forPathBulkItemFailureListenerbridges. -
CONTENT_WRITER
Emitted directly byContentTransformDirectWriterwhen the ACS transform endpoint returns a non-retryable error (e.g. 4xx). Never fires through Spring Batch skip; the writer swallows the failure by design and this stage is populated by theContentTransformFailureListenerbridge.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-