public interface IJobManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_rcsid |
static int |
ACTION_REMOVE |
static int |
ACTION_RESCAN |
static int |
DOCSTATE_NEVERPROCESSED |
static int |
DOCSTATE_OUTOFSCOPE |
static int |
DOCSTATE_PREVIOUSLYPROCESSED |
static int |
DOCSTATUS_DELETING |
static int |
DOCSTATUS_EXPIRING |
static int |
DOCSTATUS_HOPCOUNTEXCEEDED |
static int |
DOCSTATUS_INACTIVE |
static int |
DOCSTATUS_PROCESSING |
static int |
DOCSTATUS_READYFOREXPIRATION |
static int |
DOCSTATUS_READYFORPROCESSING |
static int |
DOCSTATUS_WAITINGFOREVER |
static int |
DOCSTATUS_WAITINGFOREXPIRATION |
static int |
DOCSTATUS_WAITINGFORPROCESSING |
static int |
STOP_ERRORABORT |
static int |
STOP_MANUALABORT |
static int |
STOP_MANUALPAUSE |
static int |
STOP_RESTART |
static int |
STOP_SCHEDULEPAUSE |
Modifier and Type | Method and Description |
---|---|
void |
addDocument(java.lang.String processID,
java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String docIDHash,
java.lang.String docID,
java.lang.String parentIdentifierHash,
java.lang.String relationshipType,
int hopcountMethod,
java.lang.String[] dataNames,
java.lang.Object[][] dataValues,
IPriorityCalculator priority,
java.lang.String[] prereqEventNames)
Add a document to the queue.
|
void |
addDocuments(java.lang.String processID,
java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String[] docIDHashes,
java.lang.String[] docIDs,
java.lang.String parentIdentifierHash,
java.lang.String relationshipType,
int hopcountMethod,
java.lang.String[][] dataNames,
java.lang.Object[][][] dataValues,
IPriorityCalculator[] priorities,
java.lang.String[][] prereqEventNames)
Add documents to the queue in bulk.
|
void |
addDocumentsInitial(java.lang.String processID,
java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String[] docIDHashes,
java.lang.String[] docIDs,
boolean overrideSchedule,
int hopcountMethod,
IPriorityCalculator[] documentPriorities,
java.lang.String[][] prereqEventNames)
Add an initial set of documents to the queue.
|
void |
addRemainingDocumentsInitial(java.lang.String processID,
java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String[] docIDHashes,
int hopcountMethod)
Add an initial set of remaining documents to the queue.
|
void |
assessMarkedJobs()
Assess jobs marked to be in need of assessment for connector status changes.
|
boolean |
beginEventSequence(java.lang.String processID,
java.lang.String eventName)
Begin an event sequence.
|
void |
carrydownChangeDocument(DocumentDescription documentDescription,
IPriorityCalculator docPriority)
Requeue a document because of carrydown changes.
|
void |
carrydownChangeDocumentMultiple(DocumentDescription[] documentDescriptions,
IPriorityCalculator[] docPriorities)
Requeue a document set because of carrydown changes.
|
boolean |
checkIfNotificationReference(java.lang.String connectionName)
See if there's a reference to a notification connection name.
|
boolean |
checkIfOutputReference(java.lang.String connectionName)
See if there's a reference to an output connection name.
|
boolean |
checkIfReference(java.lang.String connectionName)
See if there's a reference to a connection name.
|
boolean |
checkIfTransformationReference(java.lang.String connectionName)
See if there's a reference to a transformation connection name.
|
boolean |
checkJobActive(java.lang.Long jobID)
Verify that a specific job is indeed still active.
|
boolean |
checkJobBusy(java.lang.Long jobID)
Verify if a job is still processing documents, or no longer has any outstanding active documents
|
void |
cleanupProcessData()
Reset the job queue for all process IDs.
|
void |
cleanupProcessData(java.lang.String processID)
Reset the job queue for an individual process ID.
|
void |
clearAllDocumentPriorities()
Clear all document priorities, in preparation for reprioritization of all previously-prioritized documents.
|
void |
clearJobSeedingState(java.lang.Long jobID)
Clear job seeding state.
|
void |
completeEventSequence(java.lang.String eventName)
Complete an event sequence.
|
IJobDescription |
createJob()
Create a new job.
|
void |
deinstall()
Uninstall the job manager's tables.
|
void |
deleteIngestedDocumentIdentifiers(DocumentDescription[] identifiers)
Delete ingested document identifiers (as part of deleting the owning job).
|
void |
deleteJob(java.lang.Long id)
Delete a job.
|
void |
deleteJobsReadyForDelete()
Delete jobs in need of being deleted (which are marked "ready for delete").
|
void |
doneDocumentsInitial(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
boolean isPartial,
int hopcountMethod)
Signal that a seeding pass has been done.
|
boolean |
errorAbort(java.lang.Long jobID,
java.lang.String errorText)
Abort a running job due to a fatal error condition.
|
void |
exportConfiguration(java.io.OutputStream os)
Export configuration
|
boolean[] |
findHopCounts(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String[] docIDHashes,
java.lang.String linkType,
int limit,
int hopcountMethod)
Get the specified hop counts, with the limit as described.
|
IJobDescription[] |
findJobsForConnection(java.lang.String connectionName)
Get the job IDs associated with a given connection name.
|
DocumentDescription[] |
finishDocuments(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String[] parentIdentifierHashes,
int hopcountMethod)
Complete adding child documents to the queue, for a set of documents.
|
void |
finishJobResumes(long timestamp,
java.util.List<IJobDescription> modifiedJobs)
Complete the sequence that resumes jobs, either from a pause or from a scheduling window
wait.
|
void |
finishJobs()
Put all eligible jobs in the "shutting down" state.
|
void |
finishJobStops(long timestamp,
java.util.List<IJobDescription> modifiedJobs,
java.util.List<java.lang.Integer> stopNotificationTypes)
Complete the sequence that stops jobs, either for abort, pause, or because of a scheduling
window.
|
IResultSet |
genDocumentStatus(java.lang.String connectionName,
StatusFilterCriteria filterCriteria,
SortOrder sortOrder,
int startRow,
int rowCount)
Run a 'document status' report.
|
IResultSet |
genQueueStatus(java.lang.String connectionName,
StatusFilterCriteria filterCriteria,
SortOrder sortOrder,
BucketDescription idBucketDescription,
int startRow,
int rowCount)
Run a 'queue status' report.
|
IJobDescription[] |
getAllJobs()
Load a sorted list of job descriptions.
|
java.lang.String[] |
getAllSeeds(java.lang.Long jobID)
Get all the current seeds.
|
JobStatus[] |
getAllStatus()
Get a list of all jobs, and their status information.
|
JobStatus[] |
getAllStatus(boolean includeCounts)
Get a list of all jobs, and their status information.
|
JobStatus[] |
getAllStatus(boolean includeCounts,
int maxCount)
Get a list of all jobs, and their status information.
|
DocumentSetAndFlags |
getExpiredDocuments(java.lang.String processID,
int n,
long currentTime)
Get up to the next n documents to be expired.
|
JobStatus[] |
getFinishedJobs()
Get a list of completed jobs, and their statistics.
|
JobStatus[] |
getFinishedJobs(boolean includeCounts)
Get a list of completed jobs, and their statistics.
|
JobStatus[] |
getFinishedJobs(boolean includeCounts,
int maxCount)
Get a list of completed jobs, and their statistics.
|
JobNotifyRecord[] |
getJobsReadyForDelete(java.lang.String processID)
Find the list of jobs that need to have their connectors notified of job deletion.
|
JobDeleteRecord[] |
getJobsReadyForDeleteCleanup(java.lang.String processID)
Get the list of jobs that are ready for delete cleanup.
|
JobNotifyRecord[] |
getJobsReadyForInactivity(java.lang.String processID)
Find the list of jobs that need to have their connectors notified of job completion.
|
JobSeedingRecord[] |
getJobsReadyForSeeding(java.lang.String processID,
long currentTime)
Get the list of jobs that are ready for seeding.
|
JobStartRecord[] |
getJobsReadyForStartup(java.lang.String processID)
Get the list of jobs that are ready for startup.
|
DocumentSetAndFlags |
getNextCleanableDocuments(java.lang.String processID,
int n,
long currentTime)
Get list of cleanable document descriptions.
|
DocumentDescription[] |
getNextDeletableDocuments(java.lang.String processID,
int n,
long currentTime)
Get list of deletable document descriptions.
|
DocumentDescription[] |
getNextDocuments(java.lang.String processID,
int n,
long currentTime,
long interval,
BlockingDocuments blockingDocuments,
PerformanceStatistics statistics,
DepthStatistics scanRecord)
Get up to the next n document(s) to be fetched and processed.
|
DocumentDescription[] |
getNextNotYetProcessedReprioritizationDocuments(java.lang.String processID,
int n)
Get a list of not-yet-processed documents to reprioritize.
|
JobStatus[] |
getRunningJobs()
Get a list of running jobs.
|
JobStatus[] |
getRunningJobs(boolean includeCounts)
Get a list of running jobs.
|
JobStatus[] |
getRunningJobs(boolean includeCounts,
int maxCount)
Get a list of running jobs.
|
JobStatus |
getStatus(java.lang.Long jobID)
Get the status of a job.
|
JobStatus |
getStatus(java.lang.Long jobID,
boolean includeCounts)
Get the status of a job.
|
JobStatus |
getStatus(java.lang.Long jobID,
boolean includeCounts,
int maxCount)
Get the status of a job.
|
void |
importConfiguration(java.io.InputStream is)
Import configuration
|
void |
inactivateJob(java.lang.Long jobID)
Inactivate a job, from the notification state.
|
void |
install()
Install the job manager's tables.
|
IJobDescription |
load(java.lang.Long id)
Load a job for editing.
|
IJobDescription |
load(java.lang.Long id,
boolean readOnly)
Load a job.
|
void |
manualAbort(java.lang.Long jobID)
Manually abort a running job.
|
void |
manualAbortRestart(java.lang.Long jobID)
Manually restart a running job.
|
void |
manualAbortRestart(java.lang.Long jobID,
boolean requestMinimum)
Manually restart a running job.
|
void |
manualStart(java.lang.Long jobID)
Manually start a job.
|
void |
manualStart(java.lang.Long jobID,
boolean requestMinimum)
Manually start a job.
|
DocumentDescription[] |
markDocumentCleanedUp(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
DocumentDescription documentDescription,
int hopcountMethod)
Delete from queue as a result of cleaning up an unreachable document.
|
DocumentDescription[] |
markDocumentCleanedUpMultiple(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
DocumentDescription[] documentDescriptions,
int hopcountMethod)
Delete from queue as a result of cleaning up an unreachable document.
|
void |
markDocumentCompleted(DocumentDescription documentDescription)
Note completion of document processing by a job thread of a document.
|
void |
markDocumentCompletedMultiple(DocumentDescription[] documentDescriptions)
Note completion of document processing by a job thread of a document.
|
DocumentDescription[] |
markDocumentDeleted(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
DocumentDescription documentDescription,
int hopcountMethod)
Delete from queue as a result of processing of an active document.
|
DocumentDescription[] |
markDocumentDeletedMultiple(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
DocumentDescription[] documentDescriptions,
int hopcountMethod)
Delete from queue as a result of processing of an active document.
|
DocumentDescription[] |
markDocumentExpired(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
DocumentDescription documentDescription,
int hopcountMethod)
Delete from queue as a result of expiration of an active document.
|
DocumentDescription[] |
markDocumentExpiredMultiple(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
DocumentDescription[] documentDescriptions,
int hopcountMethod)
Delete from queue as a result of expiration of an active document.
|
DocumentDescription[] |
markDocumentHopcountRemoval(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
DocumentDescription documentDescription,
int hopcountMethod)
Mark hopcount removal from queue as a result of processing of an active document.
|
DocumentDescription[] |
markDocumentHopcountRemovalMultiple(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
DocumentDescription[] documentDescriptions,
int hopcountMethod)
Mark hopcount removal from queue as a result of processing of an active document.
|
void |
noteConnectionChange(java.lang.String connectionName)
Note a change in connection configuration.
|
void |
noteConnectorDeregistration(java.lang.String[] connectionNames)
Note the deregistration of a connector used by the specified connections.
|
void |
noteConnectorRegistration(java.lang.String[] connectionNames)
Note the registration of a connector used by the specified connections.
|
void |
noteJobDeleteStarted(java.lang.Long jobID,
long startTime)
Note job delete started.
|
void |
noteJobSeeded(java.lang.Long jobID,
java.lang.String seedingVersion)
Note job seeded.
|
void |
noteJobStarted(java.lang.Long jobID,
long startTime,
java.lang.String seedingVersion)
Note job started.
|
void |
noteNotificationConnectionChange(java.lang.String connectionName)
Note a change in notification connection configuration.
|
void |
noteNotificationConnectorDeregistration(java.lang.String[] connectionNames)
Note the deregistration of a notification connector used by the specified connections.
|
void |
noteNotificationConnectorRegistration(java.lang.String[] connectionNames)
Note the registration of a notification connector used by the specified connections.
|
void |
noteOutputConnectionChange(java.lang.String connectionName)
Note a change in output connection configuration.
|
void |
noteOutputConnectorDeregistration(java.lang.String[] connectionNames)
Note the deregistration of an output connector used by the specified connections.
|
void |
noteOutputConnectorRegistration(java.lang.String[] connectionNames)
Note the registration of an output connector used by the specified connections.
|
void |
noteTransformationConnectionChange(java.lang.String connectionName)
Note a change in transformation connection configuration.
|
void |
noteTransformationConnectorDeregistration(java.lang.String[] connectionNames)
Note the deregistration of a transformation connector used by the specified connections.
|
void |
noteTransformationConnectorRegistration(java.lang.String[] connectionNames)
Note the registration of a transformation connector used by the specified connections.
|
void |
pauseJob(java.lang.Long jobID)
Pause a job.
|
void |
prepareDeleteScan(java.lang.Long jobID)
Prepare for a delete scan.
|
void |
prepareForClusterStart()
Prepare to start the entire cluster.
|
void |
prepareJobScan(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
int hopcountMethod,
int connectorModel,
boolean continuousJob,
boolean fromBeginningOfTime,
boolean requestMinimum)
Prepare a job to be run.
|
void |
removeJob(java.lang.Long jobID)
Remove a job, from the notification state.
|
void |
requeueDocument(DocumentDescription documentDescription,
java.lang.Long executeTime,
int action)
Requeue a document for further processing in the future.
|
void |
requeueDocumentMultiple(DocumentDescription[] documentDescriptions,
java.lang.Long[] executeTimes,
int[] actions)
Requeue a document for further processing in the future.
|
void |
resetCleaningDocument(DocumentDescription documentDescription,
long checkTime)
Reset a cleaning document back to its former state.
|
void |
resetCleaningDocumentMultiple(DocumentDescription[] documentDescriptions,
long checkTime)
Reset a set of cleaning documents for further processing in the future.
|
void |
resetDeleteNotifyJob(java.lang.Long jobID)
Reset a job that is delete notifying back to "ready for delete notify"
state.
|
void |
resetDeleteStartupWorkerStatus(java.lang.String processID)
Reset as part of restoring delete startup threads.
|
void |
resetDeletingDocument(DocumentDescription documentDescription,
long checkTime)
Reset a deleting document back to its former state.
|
void |
resetDeletingDocumentMultiple(DocumentDescription[] documentDescriptions,
long checkTime)
Reset a set of deleting documents for further processing in the future.
|
void |
resetDocCleanupWorkerStatus(java.lang.String processID)
Reset as part of restoring doc cleanup threads.
|
void |
resetDocDeleteWorkerStatus(java.lang.String processID)
Reset as part of restoring doc delete threads.
|
void |
resetDocument(DocumentDescription documentDescription,
long executeTime,
int action,
long failTime,
int failCount)
Reset an active document back to its former state.
|
void |
resetDocumentMultiple(DocumentDescription[] documentDescriptions,
long executeTime,
int action,
long failTime,
int failCount)
Reset documents for further processing in the future.
|
void |
resetDocumentWorkerStatus(java.lang.String processID)
Reset as part of restoring document worker threads.
|
void |
resetJobs(long currentTime,
java.util.List<IJobDescription> resetJobs)
Reset eligible jobs either back to the "inactive" state, or make them active again.
|
void |
resetJobSchedule(java.lang.Long jobID)
Reset job schedule.
|
void |
resetNotificationWorkerStatus(java.lang.String processID)
Reset as part of restoring notification threads.
|
void |
resetNotifyJob(java.lang.Long jobID)
Reset a job that is notifying back to "ready for notify"
state.
|
void |
resetSeedingWorkerStatus(java.lang.String processID)
Reset as part of restoring seeding threads.
|
void |
resetSeedJob(java.lang.Long jobID)
Reset a seeding job back to "active" state.
|
void |
resetStartDeleteJob(java.lang.Long jobID)
Reset a job starting for delete back to "ready for delete"
state.
|
void |
resetStartupJob(java.lang.Long jobID)
Reset a starting job back to "ready for startup" state.
|
void |
resetStartupWorkerStatus(java.lang.String processID)
Reset as part of restoring startup threads.
|
void |
restartJob(java.lang.Long jobID)
Restart a paused job.
|
java.lang.String[] |
retrieveParentData(java.lang.Long jobID,
java.lang.String docIDHash,
java.lang.String dataName)
Retrieve specific parent data for a given document.
|
CharacterInput[] |
retrieveParentDataAsFiles(java.lang.Long jobID,
java.lang.String docIDHash,
java.lang.String dataName)
Retrieve specific parent data for a given document.
|
void |
retryDeleteNotification(JobNotifyRecord jnr,
long failTime,
int failCount)
Retry delete notification.
|
void |
retryNotification(JobNotifyRecord jobNotifyRecord,
long failTime,
int failRetryCount)
Retry notification.
|
void |
retrySeeding(JobSeedingRecord jobSeedingRecord,
long failTime,
int failRetryCount)
Retry seeding.
|
void |
retryStartup(JobStartRecord jobStartRecord,
long failTime,
int failRetryCount)
Retry startup.
|
void |
revertDocuments(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String[] parentIdentifierHashes)
Undo the addition of child documents to the queue, for a set of documents.
|
void |
save(IJobDescription jobDescription)
Save a job.
|
void |
startJobs(long currentTime,
java.util.List<java.lang.Long> unwaitList)
Start jobs based on schedule.
|
void |
waitJobs(long currentTime,
java.util.List<java.lang.Long> waitList)
Put active or paused jobs in wait state, if they've exceeded their window.
|
void |
writeDocumentPriorities(DocumentDescription[] descriptions,
IPriorityCalculator[] priorities)
Save a set of document priorities.
|
static final java.lang.String _rcsid
static final int ACTION_RESCAN
static final int ACTION_REMOVE
static final int DOCSTATE_NEVERPROCESSED
static final int DOCSTATE_PREVIOUSLYPROCESSED
static final int DOCSTATE_OUTOFSCOPE
static final int DOCSTATUS_INACTIVE
static final int DOCSTATUS_PROCESSING
static final int DOCSTATUS_EXPIRING
static final int DOCSTATUS_DELETING
static final int DOCSTATUS_READYFORPROCESSING
static final int DOCSTATUS_READYFOREXPIRATION
static final int DOCSTATUS_WAITINGFORPROCESSING
static final int DOCSTATUS_WAITINGFOREXPIRATION
static final int DOCSTATUS_WAITINGFOREVER
static final int DOCSTATUS_HOPCOUNTEXCEEDED
static final int STOP_ERRORABORT
static final int STOP_MANUALABORT
static final int STOP_MANUALPAUSE
static final int STOP_SCHEDULEPAUSE
static final int STOP_RESTART
void install() throws ManifoldCFException
ManifoldCFException
void deinstall() throws ManifoldCFException
ManifoldCFException
void exportConfiguration(java.io.OutputStream os) throws java.io.IOException, ManifoldCFException
java.io.IOException
ManifoldCFException
void importConfiguration(java.io.InputStream is) throws java.io.IOException, ManifoldCFException
java.io.IOException
ManifoldCFException
IJobDescription[] getAllJobs() throws ManifoldCFException
ManifoldCFException
IJobDescription createJob() throws ManifoldCFException
ManifoldCFException
void deleteJob(java.lang.Long id) throws ManifoldCFException
id
- is the job's identifier. This method will purge all the records belonging to the job from the database, as
well as remove all documents indexed by the job from the index.ManifoldCFException
IJobDescription load(java.lang.Long id) throws ManifoldCFException
id
- is the job's identifier.ManifoldCFException
IJobDescription load(java.lang.Long id, boolean readOnly) throws ManifoldCFException
id
- is the job's identifier.readOnly
- is true if a read-only object is desired.ManifoldCFException
void save(IJobDescription jobDescription) throws ManifoldCFException
jobDescription
- is the job description.ManifoldCFException
boolean checkIfReference(java.lang.String connectionName) throws ManifoldCFException
connectionName
- is the name of the connection.ManifoldCFException
boolean checkIfNotificationReference(java.lang.String connectionName) throws ManifoldCFException
connectionName
- is the name of the connection.ManifoldCFException
boolean checkIfOutputReference(java.lang.String connectionName) throws ManifoldCFException
connectionName
- is the name of the connection.ManifoldCFException
boolean checkIfTransformationReference(java.lang.String connectionName) throws ManifoldCFException
connectionName
- is the name of the connection.ManifoldCFException
IJobDescription[] findJobsForConnection(java.lang.String connectionName) throws ManifoldCFException
connectionName
- is the name of the connection.ManifoldCFException
void clearJobSeedingState(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job ID.ManifoldCFException
void cleanupProcessData(java.lang.String processID) throws ManifoldCFException
processID
- is the process ID of the node we want to clean up after.ManifoldCFException
void cleanupProcessData() throws ManifoldCFException
ManifoldCFException
void prepareForClusterStart() throws ManifoldCFException
ManifoldCFException
void resetDocumentWorkerStatus(java.lang.String processID) throws ManifoldCFException
processID
- is the current process ID.ManifoldCFException
void resetSeedingWorkerStatus(java.lang.String processID) throws ManifoldCFException
ManifoldCFException
void resetDocDeleteWorkerStatus(java.lang.String processID) throws ManifoldCFException
processID
- is the current process ID.ManifoldCFException
void resetDocCleanupWorkerStatus(java.lang.String processID) throws ManifoldCFException
processID
- is the current process ID.ManifoldCFException
void resetDeleteStartupWorkerStatus(java.lang.String processID) throws ManifoldCFException
processID
- is the current process ID.ManifoldCFException
void resetNotificationWorkerStatus(java.lang.String processID) throws ManifoldCFException
processID
- is the current process ID.ManifoldCFException
void resetStartupWorkerStatus(java.lang.String processID) throws ManifoldCFException
processID
- is the current process ID.ManifoldCFException
void clearAllDocumentPriorities() throws ManifoldCFException
ManifoldCFException
DocumentDescription[] getNextNotYetProcessedReprioritizationDocuments(java.lang.String processID, int n) throws ManifoldCFException
processID
- is the process that requests the reprioritization documents.n
- is the maximum number of document descriptions desired.ManifoldCFException
void writeDocumentPriorities(DocumentDescription[] descriptions, IPriorityCalculator[] priorities) throws ManifoldCFException
descriptions
- are the document descriptions.priorities
- are the desired priorities.ManifoldCFException
DocumentSetAndFlags getExpiredDocuments(java.lang.String processID, int n, long currentTime) throws ManifoldCFException
processID
- is the current process ID.n
- is the maximum number of records desired.currentTime
- is the current time.ManifoldCFException
DocumentDescription[] getNextDocuments(java.lang.String processID, int n, long currentTime, long interval, BlockingDocuments blockingDocuments, PerformanceStatistics statistics, DepthStatistics scanRecord) throws ManifoldCFException
processID
- is the current process ID.n
- is the number of documents desired.currentTime
- is the current time; some fetches do not occur until a specific time.interval
- is the number of milliseconds that this set of documents should represent (for throttling).blockingDocuments
- is the place to record documents that were encountered, are eligible for reprioritization,
but could not be queued due to throttling considerations.statistics
- are the current performance statistics per connection, which are used to balance the queue stuffing
so that individual connections are not overwhelmed.scanRecord
- retains the bins from all documents encountered from the query, even those that were skipped due
to being overcommitted.ManifoldCFException
boolean checkJobActive(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job identifier.ManifoldCFException
boolean checkJobBusy(java.lang.Long jobID) throws ManifoldCFException
ManifoldCFException
void markDocumentCompletedMultiple(DocumentDescription[] documentDescriptions) throws ManifoldCFException
documentDescriptions
- are the description objects for the documents that were processed.ManifoldCFException
void markDocumentCompleted(DocumentDescription documentDescription) throws ManifoldCFException
documentDescription
- is the description object for the document that was processed.ManifoldCFException
DocumentDescription[] markDocumentDeletedMultiple(java.lang.Long jobID, java.lang.String[] legalLinkTypes, DocumentDescription[] documentDescriptions, int hopcountMethod) throws ManifoldCFException
documentDescriptions
- are the set of description objects for the documents that were processed.hopcountMethod
- describes how to handle deletions for hopcount purposes.ManifoldCFException
DocumentDescription[] markDocumentDeleted(java.lang.Long jobID, java.lang.String[] legalLinkTypes, DocumentDescription documentDescription, int hopcountMethod) throws ManifoldCFException
documentDescription
- is the description object for the document that was processed.hopcountMethod
- describes how to handle deletions for hopcount purposes.ManifoldCFException
DocumentDescription[] markDocumentHopcountRemovalMultiple(java.lang.Long jobID, java.lang.String[] legalLinkTypes, DocumentDescription[] documentDescriptions, int hopcountMethod) throws ManifoldCFException
documentDescriptions
- are the set of description objects for the documents that were processed.hopcountMethod
- describes how to handle deletions for hopcount purposes.ManifoldCFException
DocumentDescription[] markDocumentHopcountRemoval(java.lang.Long jobID, java.lang.String[] legalLinkTypes, DocumentDescription documentDescription, int hopcountMethod) throws ManifoldCFException
documentDescription
- is the description object for the document that was processed.hopcountMethod
- describes how to handle deletions for hopcount purposes.ManifoldCFException
DocumentDescription[] markDocumentExpiredMultiple(java.lang.Long jobID, java.lang.String[] legalLinkTypes, DocumentDescription[] documentDescriptions, int hopcountMethod) throws ManifoldCFException
documentDescriptions
- are the set of description objects for the documents that were processed.hopcountMethod
- describes how to handle deletions for hopcount purposes.ManifoldCFException
DocumentDescription[] markDocumentExpired(java.lang.Long jobID, java.lang.String[] legalLinkTypes, DocumentDescription documentDescription, int hopcountMethod) throws ManifoldCFException
documentDescription
- is the description object for the document that was processed.hopcountMethod
- describes how to handle deletions for hopcount purposes.ManifoldCFException
DocumentDescription[] markDocumentCleanedUpMultiple(java.lang.Long jobID, java.lang.String[] legalLinkTypes, DocumentDescription[] documentDescriptions, int hopcountMethod) throws ManifoldCFException
documentDescriptions
- are the set of description objects for the documents that were processed.hopcountMethod
- describes how to handle deletions for hopcount purposes.ManifoldCFException
DocumentDescription[] markDocumentCleanedUp(java.lang.Long jobID, java.lang.String[] legalLinkTypes, DocumentDescription documentDescription, int hopcountMethod) throws ManifoldCFException
documentDescription
- is the description object for the document that was processed.hopcountMethod
- describes how to handle deletions for hopcount purposes.ManifoldCFException
void carrydownChangeDocumentMultiple(DocumentDescription[] documentDescriptions, IPriorityCalculator[] docPriorities) throws ManifoldCFException
documentDescriptions
- is the set of description objects for the documents that have had their parent carrydown information changed.docPriorities
- are the document priorities to assign to the documents, if needed.ManifoldCFException
void carrydownChangeDocument(DocumentDescription documentDescription, IPriorityCalculator docPriority) throws ManifoldCFException
documentDescription
- is the description object for the document that has had its parent carrydown information changed.docPriority
- is the document priority to assign to the document, if needed.ManifoldCFException
void requeueDocumentMultiple(DocumentDescription[] documentDescriptions, java.lang.Long[] executeTimes, int[] actions) throws ManifoldCFException
documentDescriptions
- is the set of description objects for the document that was processed.executeTimes
- are the times that the documents should be rescanned. Null indicates "never".actions
- are what should be done when the time arrives. Choices are ACTION_RESCAN or ACTION_REMOVE.ManifoldCFException
void requeueDocument(DocumentDescription documentDescription, java.lang.Long executeTime, int action) throws ManifoldCFException
documentDescription
- is the description object for the document that was processed.executeTime
- is the time that the document should be rescanned. Null indicates "never".action
- is what should be done when the time arrives. Choices include ACTION_RESCAN or ACTION_REMOVE.ManifoldCFException
void resetDocumentMultiple(DocumentDescription[] documentDescriptions, long executeTime, int action, long failTime, int failCount) throws ManifoldCFException
documentDescriptions
- is the set of description objects for the document that was processed.executeTime
- is the time that the documents should be rescanned.failTime
- is the time beyond which hard failure should occur.failCount
- is the number of permitted failures before a hard error is signalled.ManifoldCFException
void resetDocument(DocumentDescription documentDescription, long executeTime, int action, long failTime, int failCount) throws ManifoldCFException
documentDescription
- is the description object for the document that was processed.executeTime
- is the time that the document should be rescanned.failTime
- is the time that the document should be considered to have failed, if it has not been
successfully read until then.failCount
- is the number of permitted failures before a hard error is signalled.ManifoldCFException
void resetDeletingDocumentMultiple(DocumentDescription[] documentDescriptions, long checkTime) throws ManifoldCFException
documentDescriptions
- is the set of description objects for the document that was processed.checkTime
- is the minimum time for the next cleaning attempt.ManifoldCFException
void resetDeletingDocument(DocumentDescription documentDescription, long checkTime) throws ManifoldCFException
documentDescription
- is the description object for the document that was cleaned.checkTime
- is the minimum time for the next cleaning attempt.ManifoldCFException
void resetCleaningDocument(DocumentDescription documentDescription, long checkTime) throws ManifoldCFException
documentDescription
- is the description object for the document that was cleaned.checkTime
- is the minimum time for the next cleaning attempt.ManifoldCFException
void resetCleaningDocumentMultiple(DocumentDescription[] documentDescriptions, long checkTime) throws ManifoldCFException
documentDescriptions
- is the set of description objects for the document that was cleaned.checkTime
- is the minimum time for the next cleaning attempt.ManifoldCFException
void retryStartup(JobStartRecord jobStartRecord, long failTime, int failRetryCount) throws ManifoldCFException
jobStartRecord
- is the current job startup record.failTime
- is the new fail time (-1L if none).failRetryCount
- is the new fail retry count (-1 if none).ManifoldCFException
void retrySeeding(JobSeedingRecord jobSeedingRecord, long failTime, int failRetryCount) throws ManifoldCFException
jobSeedingRecord
- is the current job seeding record.failTime
- is the new fail time (-1L if none).failRetryCount
- is the new fail retry count (-1 if none).ManifoldCFException
void retryNotification(JobNotifyRecord jobNotifyRecord, long failTime, int failRetryCount) throws ManifoldCFException
jobNotifyRecord
- is the current job notification record.failTime
- is the new fail time (-1L if none).failRetryCount
- is the new fail retry count (-1 if none).ManifoldCFException
void retryDeleteNotification(JobNotifyRecord jnr, long failTime, int failCount) throws ManifoldCFException
jnr
- is the current job notification record.failTime
- is the new fail time (-1L if none).failCount
- is the new fail retry count (-1 if none).ManifoldCFException
void addDocumentsInitial(java.lang.String processID, java.lang.Long jobID, java.lang.String[] legalLinkTypes, java.lang.String[] docIDHashes, java.lang.String[] docIDs, boolean overrideSchedule, int hopcountMethod, IPriorityCalculator[] documentPriorities, java.lang.String[][] prereqEventNames) throws ManifoldCFException
processID
- is the current process ID.jobID
- is the job identifier.legalLinkTypes
- is the set of legal link types that this connector generates.docIDHashes
- are the hashes of the local document identifiers (primary key).docIDs
- are the local document identifiers.overrideSchedule
- is true if any existing document schedule should be overridden.hopcountMethod
- is either accurate, nodelete, or neverdelete.documentPriorities
- are the document priorities corresponding to the document identifiers.prereqEventNames
- are the events that must be completed before each document can be processed.ManifoldCFException
void addRemainingDocumentsInitial(java.lang.String processID, java.lang.Long jobID, java.lang.String[] legalLinkTypes, java.lang.String[] docIDHashes, int hopcountMethod) throws ManifoldCFException
processID
- is the current process ID.jobID
- is the job identifier.legalLinkTypes
- is the set of legal link types that this connector generates.docIDHashes
- are the hash values of the local document identifiers.hopcountMethod
- is either accurate, nodelete, or neverdelete.ManifoldCFException
void doneDocumentsInitial(java.lang.Long jobID, java.lang.String[] legalLinkTypes, boolean isPartial, int hopcountMethod) throws ManifoldCFException
jobID
- is the job identifier.legalLinkTypes
- is the set of legal link types that this connector generates.isPartial
- is set if the seeds provided are only a partial list. Some connectors cannot
supply a full list of seeds on every seeding iteration; this acknowledges that limitation.hopcountMethod
- describes how to handle deletions for hopcount purposes.ManifoldCFException
boolean beginEventSequence(java.lang.String processID, java.lang.String eventName) throws ManifoldCFException
processID
- is the current process ID.eventName
- is the name of the event.ManifoldCFException
void completeEventSequence(java.lang.String eventName) throws ManifoldCFException
eventName
- is the name of the event.ManifoldCFException
boolean[] findHopCounts(java.lang.Long jobID, java.lang.String[] legalLinkTypes, java.lang.String[] docIDHashes, java.lang.String linkType, int limit, int hopcountMethod) throws ManifoldCFException
jobID
- is the job identifier.legalLinkTypes
- is the set of legal link types that this connector generates.docIDHashes
- is the set of document hashes to find the hopcount for.linkType
- is the kind of link to find the hopcount for.limit
- is the limit, beyond which a negative distance may be returned.hopcountMethod
- describes how to handle deletions for hopcount purposes.ManifoldCFException
java.lang.String[] getAllSeeds(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job identifier.ManifoldCFException
void addDocument(java.lang.String processID, java.lang.Long jobID, java.lang.String[] legalLinkTypes, java.lang.String docIDHash, java.lang.String docID, java.lang.String parentIdentifierHash, java.lang.String relationshipType, int hopcountMethod, java.lang.String[] dataNames, java.lang.Object[][] dataValues, IPriorityCalculator priority, java.lang.String[] prereqEventNames) throws ManifoldCFException
processID
- is the current process ID.jobID
- is the job identifier.legalLinkTypes
- is the set of legal link types that this connector generates.docIDHash
- is the local document identifier hash value.parentIdentifierHash
- is the optional parent identifier hash value for this document. Pass null if none.
MUST be present in the case of carrydown information.relationshipType
- is the optional link type between this document and its parent. Pass null if there
is no relationship with a parent.hopcountMethod
- is either accurate, nodelete, or neverdelete.dataNames
- are the names of the data to carry down to the child from this parent.dataValues
- are the values to carry down to the child from this parent, corresponding to dataNames above. If CharacterInput objects are passed in here,
it is the caller's responsibility to clean these up.priority
- is the desired document priority for the document.prereqEventNames
- are the events that must be completed before the document can be processed.ManifoldCFException
void addDocuments(java.lang.String processID, java.lang.Long jobID, java.lang.String[] legalLinkTypes, java.lang.String[] docIDHashes, java.lang.String[] docIDs, java.lang.String parentIdentifierHash, java.lang.String relationshipType, int hopcountMethod, java.lang.String[][] dataNames, java.lang.Object[][][] dataValues, IPriorityCalculator[] priorities, java.lang.String[][] prereqEventNames) throws ManifoldCFException
processID
- is the current process ID.jobID
- is the job identifier.legalLinkTypes
- is the set of legal link types that this connector generates.docIDHashes
- are the hashes of the local document identifiers.docIDs
- are the local document identifiers.parentIdentifierHash
- is the optional parent identifier hash of these documents. Pass null if none.
MUST be present in the case of carrydown information.relationshipType
- is the optional link type between this document and its parent. Pass null if there
is no relationship with a parent.hopcountMethod
- is either accurate, nodelete, or neverdelete.dataNames
- are the names of the data to carry down to the child from this parent.dataValues
- are the values to carry down to the child from this parent, corresponding to dataNames above. If CharacterInput objects are passed in here,
it is the caller's responsibility to clean these up.priorities
- are the desired document priorities for the documents.prereqEventNames
- are the events that must be completed before each document can be processed.ManifoldCFException
DocumentDescription[] finishDocuments(java.lang.Long jobID, java.lang.String[] legalLinkTypes, java.lang.String[] parentIdentifierHashes, int hopcountMethod) throws ManifoldCFException
jobID
- is the job identifier.legalLinkTypes
- is the set of legal link types that this connector generates.parentIdentifierHashes
- are the hashes of the document identifiers for whom child link extraction just took place.hopcountMethod
- describes how to handle deletions for hopcount purposes.ManifoldCFException
void revertDocuments(java.lang.Long jobID, java.lang.String[] legalLinkTypes, java.lang.String[] parentIdentifierHashes) throws ManifoldCFException
jobID
- is the job identifier.legalLinkTypes
- is the set of legal link types that this connector generates.parentIdentifierHashes
- are the hashes of the document identifiers for whom child link extraction just took place.ManifoldCFException
java.lang.String[] retrieveParentData(java.lang.Long jobID, java.lang.String docIDHash, java.lang.String dataName) throws ManifoldCFException
jobID
- is the job identifier.docIDHash
- is the hash of the document identifier.dataName
- is the kind of data to retrieve.ManifoldCFException
CharacterInput[] retrieveParentDataAsFiles(java.lang.Long jobID, java.lang.String docIDHash, java.lang.String dataName) throws ManifoldCFException
jobID
- is the job identifier.docIDHash
- is the document identifier hash value.dataName
- is the kind of data to retrieve.ManifoldCFException
void manualStart(java.lang.Long jobID, boolean requestMinimum) throws ManifoldCFException
jobID
- is the ID of the job to start.requestMinimum
- is true if a minimal job run is requested.ManifoldCFException
void manualStart(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the ID of the job to start.ManifoldCFException
void manualAbort(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job to abort.ManifoldCFException
void manualAbortRestart(java.lang.Long jobID, boolean requestMinimum) throws ManifoldCFException
jobID
- is the job to abort.requestMinimum
- is true if a minimal job run is requested.ManifoldCFException
void manualAbortRestart(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job to abort.ManifoldCFException
void pauseJob(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job identifier to pause.ManifoldCFException
void restartJob(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job identifier to restart.ManifoldCFException
void resetJobSchedule(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job identifier.ManifoldCFException
void startJobs(long currentTime, java.util.List<java.lang.Long> unwaitList) throws ManifoldCFException
currentTime
- is the current time in milliseconds since epoch.unwaitList
- is filled in with the set of job id's that were resumed (Long's).ManifoldCFException
void waitJobs(long currentTime, java.util.List<java.lang.Long> waitList) throws ManifoldCFException
currentTime
- is the current time in milliseconds since epoch.waitList
- is filled in with the set of job id's that were put into a wait state (Long's).ManifoldCFException
JobSeedingRecord[] getJobsReadyForSeeding(java.lang.String processID, long currentTime) throws ManifoldCFException
processID
- is the current process ID.currentTime
- is the current time in milliseconds since epoch.ManifoldCFException
void resetSeedJob(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job id.ManifoldCFException
JobDeleteRecord[] getJobsReadyForDeleteCleanup(java.lang.String processID) throws ManifoldCFException
processID
- is the current process ID.ManifoldCFException
JobStartRecord[] getJobsReadyForStartup(java.lang.String processID) throws ManifoldCFException
processID
- is the current process ID.ManifoldCFException
JobNotifyRecord[] getJobsReadyForInactivity(java.lang.String processID) throws ManifoldCFException
processID
- is the current process ID.ManifoldCFException
JobNotifyRecord[] getJobsReadyForDelete(java.lang.String processID) throws ManifoldCFException
processID
- is the process ID.ManifoldCFException
void inactivateJob(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the ID of the job to inactivate.ManifoldCFException
void removeJob(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the ID of the job to remove.ManifoldCFException
void resetStartDeleteJob(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job id.ManifoldCFException
void resetNotifyJob(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job id.ManifoldCFException
void resetDeleteNotifyJob(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job id.ManifoldCFException
void resetStartupJob(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job id.ManifoldCFException
void prepareDeleteScan(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job id.ManifoldCFException
void prepareJobScan(java.lang.Long jobID, java.lang.String[] legalLinkTypes, int hopcountMethod, int connectorModel, boolean continuousJob, boolean fromBeginningOfTime, boolean requestMinimum) throws ManifoldCFException
jobID
- is the job id.legalLinkTypes
- are the link types allowed for the job.hopcountMethod
- describes how to handle deletions for hopcount purposes.connectorModel
- is the model used by the connector for the job.continuousJob
- is true if the job is a continuous one.fromBeginningOfTime
- is true if the job is running starting from time 0.requestMinimum
- is true if the minimal amount of work is requested for the job run.ManifoldCFException
void noteJobDeleteStarted(java.lang.Long jobID, long startTime) throws ManifoldCFException
jobID
- is the job id.startTime
- is the job start time.ManifoldCFException
void noteJobStarted(java.lang.Long jobID, long startTime, java.lang.String seedingVersion) throws ManifoldCFException
jobID
- is the job id.startTime
- is the job start time.seedingVersion
- is the seeding version to record with the job start.ManifoldCFException
void noteJobSeeded(java.lang.Long jobID, java.lang.String seedingVersion) throws ManifoldCFException
jobID
- is the job id.seedingVersion
- is the seeding version string to record.ManifoldCFException
void noteConnectorDeregistration(java.lang.String[] connectionNames) throws ManifoldCFException
connectionNames
- is the set of connection names.ManifoldCFException
void noteConnectorRegistration(java.lang.String[] connectionNames) throws ManifoldCFException
connectionNames
- is the set of connection names.ManifoldCFException
void noteNotificationConnectorDeregistration(java.lang.String[] connectionNames) throws ManifoldCFException
connectionNames
- is the set of connection names.ManifoldCFException
void noteNotificationConnectorRegistration(java.lang.String[] connectionNames) throws ManifoldCFException
connectionNames
- is the set of connection names.ManifoldCFException
void noteConnectionChange(java.lang.String connectionName) throws ManifoldCFException
ManifoldCFException
void noteNotificationConnectionChange(java.lang.String connectionName) throws ManifoldCFException
ManifoldCFException
void noteOutputConnectorDeregistration(java.lang.String[] connectionNames) throws ManifoldCFException
connectionNames
- is the set of connection names.ManifoldCFException
void noteOutputConnectorRegistration(java.lang.String[] connectionNames) throws ManifoldCFException
connectionNames
- is the set of connection names.ManifoldCFException
void noteOutputConnectionChange(java.lang.String connectionName) throws ManifoldCFException
ManifoldCFException
void noteTransformationConnectorDeregistration(java.lang.String[] connectionNames) throws ManifoldCFException
connectionNames
- is the set of connection names.ManifoldCFException
void noteTransformationConnectorRegistration(java.lang.String[] connectionNames) throws ManifoldCFException
connectionNames
- is the set of connection names.ManifoldCFException
void noteTransformationConnectionChange(java.lang.String connectionName) throws ManifoldCFException
ManifoldCFException
void assessMarkedJobs() throws ManifoldCFException
ManifoldCFException
void deleteJobsReadyForDelete() throws ManifoldCFException
ManifoldCFException
DocumentDescription[] getNextDeletableDocuments(java.lang.String processID, int n, long currentTime) throws ManifoldCFException
processID
- is the current process ID.n
- is the maximum number of documents to return.currentTime
- is the current time; some fetches do not occur until a specific time.ManifoldCFException
DocumentSetAndFlags getNextCleanableDocuments(java.lang.String processID, int n, long currentTime) throws ManifoldCFException
processID
- is the current process ID.n
- is the maximum number of documents to return.currentTime
- is the current time; some fetches do not occur until a specific time.ManifoldCFException
void deleteIngestedDocumentIdentifiers(DocumentDescription[] identifiers) throws ManifoldCFException
identifiers
- is the set of document identifiers.ManifoldCFException
boolean errorAbort(java.lang.Long jobID, java.lang.String errorText) throws ManifoldCFException
jobID
- is the job to abort.errorText
- is the error text.ManifoldCFException
void finishJobStops(long timestamp, java.util.List<IJobDescription> modifiedJobs, java.util.List<java.lang.Integer> stopNotificationTypes) throws ManifoldCFException
timestamp
- is the current time in milliseconds since epoch.modifiedJobs
- is filled in with the set of IJobDescription objects that were stopped.stopNotificationTypes
- is filled in with the type of stop notification.ManifoldCFException
void finishJobResumes(long timestamp, java.util.List<IJobDescription> modifiedJobs) throws ManifoldCFException
timestamp
- is the current time in milliseconds since epoch.modifiedJobs
- is filled in with the set of IJobDescription objects that were resumed.ManifoldCFException
void finishJobs() throws ManifoldCFException
ManifoldCFException
void resetJobs(long currentTime, java.util.List<IJobDescription> resetJobs) throws ManifoldCFException
currentTime
- is the current time in milliseconds since epoch.resetJobs
- is filled in with the set of IJobDescription objects that were reset.ManifoldCFException
JobStatus getStatus(java.lang.Long jobID) throws ManifoldCFException
jobID
- is the job ID.ManifoldCFException
JobStatus[] getAllStatus() throws ManifoldCFException
ManifoldCFException
JobStatus[] getRunningJobs() throws ManifoldCFException
ManifoldCFException
JobStatus[] getFinishedJobs() throws ManifoldCFException
ManifoldCFException
JobStatus getStatus(java.lang.Long jobID, boolean includeCounts) throws ManifoldCFException
jobID
- is the job ID.includeCounts
- is true if document counts should be included.ManifoldCFException
JobStatus[] getAllStatus(boolean includeCounts) throws ManifoldCFException
includeCounts
- is true if document counts should be included.ManifoldCFException
JobStatus[] getRunningJobs(boolean includeCounts) throws ManifoldCFException
includeCounts
- is true if document counts should be included.ManifoldCFException
JobStatus[] getFinishedJobs(boolean includeCounts) throws ManifoldCFException
includeCounts
- is true if document counts should be included.ManifoldCFException
JobStatus getStatus(java.lang.Long jobID, boolean includeCounts, int maxCount) throws ManifoldCFException
jobID
- is the job ID.includeCounts
- is true if document counts should be included.maxCount
- is the maximum number of documents we want to count for each status.ManifoldCFException
JobStatus[] getAllStatus(boolean includeCounts, int maxCount) throws ManifoldCFException
includeCounts
- is true if document counts should be included.maxCount
- is the maximum number of documents we want to count for each status.ManifoldCFException
JobStatus[] getRunningJobs(boolean includeCounts, int maxCount) throws ManifoldCFException
includeCounts
- is true if document counts should be included.maxCount
- is the maximum number of documents we want to count for each status.ManifoldCFException
JobStatus[] getFinishedJobs(boolean includeCounts, int maxCount) throws ManifoldCFException
includeCounts
- is true if document counts should be included.maxCount
- is the maximum number of documents we want to count for each status.ManifoldCFException
IResultSet genDocumentStatus(java.lang.String connectionName, StatusFilterCriteria filterCriteria, SortOrder sortOrder, int startRow, int rowCount) throws ManifoldCFException
connectionName
- is the name of the connection.filterCriteria
- are the criteria used to limit the records considered for the report.sortOrder
- is the specified sort order of the final report.startRow
- is the first row to include.rowCount
- is the number of rows to include.ManifoldCFException
IResultSet genQueueStatus(java.lang.String connectionName, StatusFilterCriteria filterCriteria, SortOrder sortOrder, BucketDescription idBucketDescription, int startRow, int rowCount) throws ManifoldCFException
connectionName
- is the name of the connection.filterCriteria
- are the criteria used to limit the records considered for the report.sortOrder
- is the specified sort order of the final report.idBucketDescription
- is the bucket description for generating the identifier class.startRow
- is the first row to include.rowCount
- is the number of rows to include.ManifoldCFException