public class DocumentDescription extends Object
Modifier and Type | Field and Description |
---|---|
static String |
_rcsid |
protected String |
documentIdentifier |
protected String |
documentIdentifierHash |
protected int |
failRetryCount |
protected long |
failTime |
protected Long |
id |
protected Long |
jobID |
Constructor and Description |
---|
DocumentDescription(Long id,
Long jobID,
String documentIdentifierHash,
String documentIdentifier)
Constructor.
|
DocumentDescription(Long id,
Long jobID,
String documentIdentifierHash,
String documentIdentifier,
long failTime,
int failRetryCount)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDocumentIdentifier()
Get document identifier.
|
String |
getDocumentIdentifierHash()
Get document identifier hash (primary key).
|
int |
getFailRetryCount()
Get the hard fail retry count.
|
long |
getFailTime()
Get the hard fail time.
|
Long |
getID()
Get the job queue id.
|
Long |
getJobID()
Get the job identifier.
|
public static final String _rcsid
protected final Long id
protected final Long jobID
protected final String documentIdentifierHash
protected final String documentIdentifier
protected final long failTime
protected final int failRetryCount
public DocumentDescription(Long id, Long jobID, String documentIdentifierHash, 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(Long id, Long jobID, String documentIdentifierHash, 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 Long getID()
public Long getJobID()
public String getDocumentIdentifierHash()
public String getDocumentIdentifier()
public long getFailTime()
public int getFailRetryCount()