public class DocumentDescription
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_rcsid |
protected java.lang.String |
documentIdentifier |
protected java.lang.String |
documentIdentifierHash |
protected int |
failRetryCount |
protected long |
failTime |
protected java.lang.Long |
id |
protected java.lang.Long |
jobID |
Constructor and Description |
---|
DocumentDescription(java.lang.Long id,
java.lang.Long jobID,
java.lang.String documentIdentifierHash,
java.lang.String documentIdentifier)
Constructor.
|
DocumentDescription(java.lang.Long id,
java.lang.Long jobID,
java.lang.String documentIdentifierHash,
java.lang.String documentIdentifier,
long failTime,
int failRetryCount)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDocumentIdentifier()
Get document identifier.
|
java.lang.String |
getDocumentIdentifierHash()
Get document identifier hash (primary key).
|
int |
getFailRetryCount()
Get the hard fail retry count.
|
long |
getFailTime()
Get the hard fail time.
|
java.lang.Long |
getID()
Get the job queue id.
|
java.lang.Long |
getJobID()
Get the job identifier.
|
public static final java.lang.String _rcsid
protected final java.lang.Long id
protected final java.lang.Long jobID
protected final java.lang.String documentIdentifierHash
protected final java.lang.String documentIdentifier
protected final long failTime
protected final int failRetryCount
public DocumentDescription(java.lang.Long id, java.lang.Long jobID, java.lang.String documentIdentifierHash, java.lang.String documentIdentifier)
id
- is the record id.jobID
- is the job identifier for a document to be processed.documentIdentifierHash
- is the document identifier hash (primary key).documentIdentifier
- is the document identifier.public DocumentDescription(java.lang.Long id, java.lang.Long jobID, java.lang.String documentIdentifierHash, java.lang.String documentIdentifier, long failTime, int failRetryCount)
id
- is the record id.jobID
- is the job identifier for a document to be processed.documentIdentifierHash
- is the document identifier hash (primary key).documentIdentifier
- is the document identifier.failTime
- is the time beyond which a failed fetch will be considered a hard error.public java.lang.Long getID()
public java.lang.Long getJobID()
public java.lang.String getDocumentIdentifierHash()
public java.lang.String getDocumentIdentifier()
public long getFailTime()
public int getFailRetryCount()