Package com.yahoo.docproc
Class DocumentProcessor.Progress
java.lang.Object
com.yahoo.docproc.DocumentProcessor.Progress
- Direct Known Subclasses:
DocumentProcessor.LaterProgress
- Enclosing class:
- DocumentProcessor
An enumeration of possible results of calling a process method
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DocumentProcessor.Progress
Returned by a processor when it is done with a processingstatic final DocumentProcessor.Progress
Returned by a processor when a processing has failed and it should not be called again for this processing.static final DocumentProcessor.Progress
Returned by a processor when it should be called again later for the same processingstatic final DocumentProcessor.Progress
Returned by a processor when processing has permanently failed, so that the document processing service should disable itself until reconfigured or restarted. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static DocumentProcessor.Progress
later
(long delay) toString()
withReason
(String reason)
-
Field Details
-
DONE
Returned by a processor when it is done with a processing -
LATER
Returned by a processor when it should be called again later for the same processing -
FAILED
Returned by a processor when a processing has failed and it should not be called again for this processing. -
PERMANENT_FAILURE
Returned by a processor when processing has permanently failed, so that the document processing service should disable itself until reconfigured or restarted.
-
-
Constructor Details
-
Progress
-
Progress
-
-
Method Details