Class JobSeedingRecord
- java.lang.Object
-
- org.apache.manifoldcf.crawler.interfaces.JobRecord
-
- org.apache.manifoldcf.crawler.interfaces.JobSeedingRecord
-
public class JobSeedingRecord extends JobRecord
This class is a paper object which contains a job ID and a last job start time (0 if none).
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsidprotected intfailRetryCountThe fail count, or -1 if noneprotected longfailTimeThe fail time, or -1L if noneprotected java.lang.StringseedingVersionStringThe last seeding version-
Fields inherited from class org.apache.manifoldcf.crawler.interfaces.JobRecord
jobID, wasStarted
-
-
Constructor Summary
Constructors Constructor Description JobSeedingRecord(java.lang.Long jobID, java.lang.String seedingVersionString, long failTime, int failRetryCount)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFailRetryCount()Get the hard fail retry count.longgetFailTime()Get the hard fail time.java.lang.StringgetSeedingVersionString()Get the seeding version string.-
Methods inherited from class org.apache.manifoldcf.crawler.interfaces.JobRecord
getJobID, noteStarted, wasStarted
-
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
seedingVersionString
protected final java.lang.String seedingVersionString
The last seeding version
-
failTime
protected final long failTime
The fail time, or -1L if none
-
failRetryCount
protected final int failRetryCount
The fail count, or -1 if none
-
-
Method Detail
-
getSeedingVersionString
public java.lang.String getSeedingVersionString()
Get the seeding version string.- Returns:
- the string.
-
getFailTime
public long getFailTime()
Get the hard fail time.- Returns:
- the fail time in ms since epoch, or -1L if none.
-
getFailRetryCount
public int getFailRetryCount()
Get the hard fail retry count.- Returns:
- the fail retry count, or -1 if none.
-
-