| Modifier and Type | Method and Description |
|---|---|
void |
AgentRun.AgentRunShutdownRunner.doCleanup(IThreadContext tc) |
protected void |
AgentRun.doExecute(IThreadContext tc) |
protected void |
AgentStop.doExecute(IThreadContext tc) |
protected abstract void |
BaseAgentsInitializationCommand.doExecute(IThreadContext tc) |
protected void |
Install.doExecute(IThreadContext tc) |
protected void |
Register.doExecute(IThreadContext tc) |
protected void |
RegisterOutput.doExecute(IThreadContext tc) |
protected void |
RegisterTransformation.doExecute(IThreadContext tc) |
protected void |
SynchronizeAll.doExecute(IThreadContext tc) |
protected void |
SynchronizeOutputs.doExecute(IThreadContext tc) |
protected void |
SynchronizeTransformations.doExecute(IThreadContext tc) |
protected abstract void |
TransactionalAgentsInitializationCommand.doExecute(IThreadContext tc) |
protected void |
UnRegister.doExecute(IThreadContext tc) |
protected void |
UnRegisterAll.doExecute(IThreadContext tc) |
protected void |
UnRegisterAllOutputs.doExecute(IThreadContext tc) |
protected void |
UnRegisterAllTransformations.doExecute(IThreadContext tc) |
protected void |
UnRegisterOutput.doExecute(IThreadContext tc) |
protected void |
UnRegisterTransformation.doExecute(IThreadContext tc) |
protected void |
Uninstall.doExecute(IThreadContext tc) |
void |
BaseAgentsInitializationCommand.execute() |
void |
TransactionalAgentsInitializationCommand.execute() |
| Modifier and Type | Method and Description |
|---|---|
void |
AgentManager.deinstall()
Uninstall.
|
java.lang.String[] |
AgentManager.getAllAgents()
Get a list of all registered agent class names.
|
void |
AgentManager.install()
Install or upgrade.
|
void |
AgentManager.registerAgent(java.lang.String className)
Register an agent.
|
void |
AgentManager.removeAgent(java.lang.String className)
Remove an agent.
|
void |
AgentManager.unregisterAgent(java.lang.String className)
Unregister an agent.
|
| Constructor and Description |
|---|
AgentManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected XMLContext |
XMLContext.beginTag(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
This method is meant to be extended by classes that extend this class.
|
protected XMLContext |
XMLWriterContext.beginTag(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
Start a child tag.
|
void |
XMLContext.cleanup()
Cleanup this context object, and then recurse up the chain.
|
void |
XMLStream.cleanup()
Call this method to clean up completely after a parse attempt, whether successful or failure.
|
void |
XMLOutputStreamContext.close()
Close the underlying stream.
|
protected void |
XMLContext.endTag()
This method is meant to be extended by classes that extend this class
|
protected void |
XMLWriterContext.endTag()
End a child tag.
|
void |
XMLOutputStreamContext.flush()
Flush the data to the underlying output stream
|
void |
XMLWriterContext.flush()
Flush the data to the underlying output stream
|
java.io.File |
XMLFileContext.getCompletedFile()
Get file object, flushing it, closing it, and clearing it.
|
void |
XMLStream.parse(java.io.InputStream xmlInputStream) |
protected void |
XMLContext.tagCleanup()
Override this method to be called during cleanup
|
void |
XMLFileContext.tagCleanup()
Cleanup whatever is left over
|
protected void |
XMLContext.tagContents(char[] ch,
int start,
int length)
This method is meant to be extended by classes that extend this class
|
protected void |
XMLStringContext.tagContents(char[] ch,
int start,
int length)
This method is meant to be extended by classes that extend this class
|
protected void |
XMLWriterContext.tagContents(char[] ch,
int start,
int length)
This method is meant to be extended by classes that extend this class
|
| Constructor and Description |
|---|
XMLStream()
Default constructor
|
XMLStream(boolean laxChecking)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
IncrementalIngester.PipelineAddEntryPoint.addOrReplaceDocumentWithException(java.lang.String documentURI,
RepositoryDocument document) |
int |
IncrementalIngester.OutputAddEntryPoint.addOrReplaceDocumentWithException(java.lang.String documentURI,
RepositoryDocument document) |
int |
IncrementalIngester.PipelineObjectWithVersions.addOrReplaceDocumentWithException(java.lang.String docKey,
java.lang.String componentHash,
java.lang.String documentURI,
RepositoryDocument document,
java.lang.String newDocumentVersion,
java.lang.String authorityNameString,
IOutputActivity finalActivity,
long ingestTime) |
boolean |
IncrementalIngester.OutputAddActivitiesWrapper.checkDateIndexable(java.util.Date date)
Detect if a date is acceptable downstream or not.
|
boolean |
IncrementalIngester.PipelineCheckFanout.checkDateIndexable(java.util.Date date) |
boolean |
IncrementalIngester.PipelineCheckEntryPoint.checkDateIndexable(java.util.Date date) |
boolean |
IncrementalIngester.PipelineAddFanout.checkDateIndexable(java.util.Date date) |
boolean |
IncrementalIngester.PipelineAddEntryPoint.checkDateIndexable(java.util.Date date) |
boolean |
IncrementalIngester.MonitoredAddActivityWrapper.checkDateIndexable(java.util.Date date)
Detect if a date is acceptable downstream or not.
|
boolean |
IncrementalIngester.PipelineObject.checkDateIndexable(java.util.Date date,
IOutputCheckActivity finalActivity) |
boolean |
IncrementalIngester.checkDateIndexable(IPipelineSpecification pipelineSpecification,
java.util.Date date,
IOutputCheckActivity activity)
Check if a date is indexable.
|
boolean |
IncrementalIngester.OutputAddActivitiesWrapper.checkDocumentIndexable(java.io.File localFile)
Pre-determine whether a document (passed here as a File object) is acceptable downstream.
|
boolean |
IncrementalIngester.PipelineCheckFanout.checkDocumentIndexable(java.io.File localFile) |
boolean |
IncrementalIngester.PipelineCheckEntryPoint.checkDocumentIndexable(java.io.File localFile) |
boolean |
IncrementalIngester.PipelineAddFanout.checkDocumentIndexable(java.io.File localFile) |
boolean |
IncrementalIngester.PipelineAddEntryPoint.checkDocumentIndexable(java.io.File localFile) |
boolean |
IncrementalIngester.MonitoredAddActivityWrapper.checkDocumentIndexable(java.io.File localFile)
Pre-determine whether a document (passed here as a File object) is acceptable downstream.
|
boolean |
IncrementalIngester.PipelineObject.checkDocumentIndexable(java.io.File localFile,
IOutputCheckActivity finalActivity) |
boolean |
IncrementalIngester.checkDocumentIndexable(IPipelineSpecification pipelineSpecification,
java.io.File localFile,
IOutputCheckActivity activity)
Check if a file is indexable.
|
boolean |
IncrementalIngester.checkLengthIndexable(IPipelineSpecification pipelineSpecification,
long length,
IOutputCheckActivity activity)
Pre-determine whether a document's length is indexable by this connector.
|
boolean |
IncrementalIngester.OutputAddActivitiesWrapper.checkLengthIndexable(long length)
Pre-determine whether a document's length is acceptable downstream.
|
boolean |
IncrementalIngester.PipelineCheckFanout.checkLengthIndexable(long length) |
boolean |
IncrementalIngester.PipelineCheckEntryPoint.checkLengthIndexable(long length) |
boolean |
IncrementalIngester.PipelineAddFanout.checkLengthIndexable(long length) |
boolean |
IncrementalIngester.PipelineAddEntryPoint.checkLengthIndexable(long length) |
boolean |
IncrementalIngester.MonitoredAddActivityWrapper.checkLengthIndexable(long length)
Pre-determine whether a document's length is acceptable downstream.
|
boolean |
IncrementalIngester.PipelineObject.checkLengthIndexable(long length,
IOutputCheckActivity finalActivity) |
boolean |
IncrementalIngester.checkMimeTypeIndexable(IPipelineSpecification pipelineSpecification,
java.lang.String mimeType,
IOutputCheckActivity activity)
Check if a mime type is indexable.
|
boolean |
IncrementalIngester.OutputAddActivitiesWrapper.checkMimeTypeIndexable(java.lang.String mimeType)
Detect if a mime type is acceptable downstream or not.
|
boolean |
IncrementalIngester.PipelineCheckFanout.checkMimeTypeIndexable(java.lang.String mimeType) |
boolean |
IncrementalIngester.PipelineCheckEntryPoint.checkMimeTypeIndexable(java.lang.String mimeType) |
boolean |
IncrementalIngester.PipelineAddFanout.checkMimeTypeIndexable(java.lang.String mimeType) |
boolean |
IncrementalIngester.PipelineAddEntryPoint.checkMimeTypeIndexable(java.lang.String mimeType) |
boolean |
IncrementalIngester.MonitoredAddActivityWrapper.checkMimeTypeIndexable(java.lang.String mimeType)
Detect if a mime type is acceptable downstream or not.
|
boolean |
IncrementalIngester.PipelineObject.checkMimeTypeIndexable(java.lang.String mimeType,
IOutputCheckActivity finalActivity) |
boolean |
IncrementalIngester.checkURLIndexable(IPipelineSpecification pipelineSpecification,
java.lang.String url,
IOutputCheckActivity activity)
Pre-determine whether a document's URL is indexable by this connector.
|
boolean |
IncrementalIngester.OutputAddActivitiesWrapper.checkURLIndexable(java.lang.String url)
Pre-determine whether a document's URL is acceptable downstream.
|
boolean |
IncrementalIngester.PipelineCheckFanout.checkURLIndexable(java.lang.String uri) |
boolean |
IncrementalIngester.PipelineCheckEntryPoint.checkURLIndexable(java.lang.String uri) |
boolean |
IncrementalIngester.PipelineAddFanout.checkURLIndexable(java.lang.String uri) |
boolean |
IncrementalIngester.PipelineAddEntryPoint.checkURLIndexable(java.lang.String uri) |
boolean |
IncrementalIngester.MonitoredAddActivityWrapper.checkURLIndexable(java.lang.String url)
Pre-determine whether a document's URL is acceptable downstream.
|
boolean |
IncrementalIngester.PipelineObject.checkURLIndexable(java.lang.String uri,
IOutputCheckActivity finalActivity) |
void |
IncrementalIngester.clearAll()
Flush all knowledge of what was ingested before.
|
void |
RepositoryDocumentFactory.close()
Close this object and release its resources.
|
RepositoryDocument |
RepositoryDocumentFactory.createDocument()
Create a new RepositoryDocument object from the saved local resources.
|
void |
IncrementalIngester.deinstall()
Uninstall the incremental ingestion manager.
|
protected void |
IncrementalIngester.deleteRowIds(java.util.List<java.lang.Long> list)
Delete a chunk of row ids.
|
void |
IncrementalIngester.documentCheck(IPipelineSpecificationBasic pipelineSpecificationBasic,
java.lang.String identifierClass,
java.lang.String identifierHash,
long checkTime)
Note the fact that we checked a document (and found that it did not need to be ingested, because the
versions agreed).
|
void |
IncrementalIngester.documentCheckMultiple(IPipelineSpecificationBasic pipelineSpecificationBasic,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes,
long checkTime)
Note the fact that we checked a document (and found that it did not need to be ingested, because the
versions agreed).
|
void |
IncrementalIngester.documentDelete(IPipelineConnections pipelineConnections,
java.lang.String identifierClass,
java.lang.String identifierHash,
IOutputRemoveActivity activities)
Delete a document from the search engine index.
|
void |
IncrementalIngester.documentDeleteMultiple(IPipelineConnections[] pipelineConnections,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes,
IOutputRemoveActivity activities)
Delete multiple documents from the search engine index.
|
void |
IncrementalIngester.documentDeleteMultiple(IPipelineConnections pipelineConnections,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes,
IOutputRemoveActivity originalActivities)
Delete multiple documents from the search engine index.
|
boolean |
IncrementalIngester.documentIngest(IPipelineSpecificationWithVersions pipelineSpecificationWithVersions,
java.lang.String identifierClass,
java.lang.String identifierHash,
java.lang.String componentHash,
java.lang.String documentVersion,
java.lang.String authorityName,
RepositoryDocument data,
long ingestTime,
java.lang.String documentURI,
IOutputActivity activities)
Ingest a document.
|
void |
IncrementalIngester.documentNoData(IPipelineSpecificationWithVersions pipelineSpecificationWithVersions,
java.lang.String identifierClass,
java.lang.String identifierHash,
java.lang.String componentHash,
java.lang.String documentVersion,
java.lang.String authorityName,
long recordTime,
IOutputActivity activities)
Remove a document from specified indexes, just as if an empty document
was indexed, and record the necessary version information.
|
void |
IncrementalIngester.documentRecord(IPipelineSpecificationBasic pipelineSpecificationBasic,
java.lang.String identifierClass,
java.lang.String identifierHash,
java.lang.String componentHash,
java.lang.String documentVersion,
long recordTime)
Record a document version, but don't ingest it.
|
void |
IncrementalIngester.documentRemove(IPipelineConnections pipelineConnections,
java.lang.String identifierClass,
java.lang.String identifierHash,
java.lang.String componentHash,
IOutputRemoveActivity activities)
Remove a document component from the search engine index.
|
void |
IncrementalIngester.documentRemoveMultiple(IPipelineConnections pipelineConnections,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes,
java.lang.String componentHash,
IOutputRemoveActivity activities)
Remove multiple document components from the search engine index.
|
protected void |
IncrementalIngester.findRowIdsForDocIds(java.lang.String[] outputConnectionNames,
java.util.Set<java.lang.Long> rowIDSet,
java.util.List<java.lang.String> paramValues)
Given values and parameters corresponding to a set of hash values, add corresponding
table row id's to the output map.
|
protected void |
IncrementalIngester.findRowIdsForDocIds(java.lang.String outputConnectionName,
java.util.Set<java.lang.Long> rowIDSet,
java.util.List<java.lang.String> paramValues)
Given values and parameters corresponding to a set of hash values, add corresponding
table row id's to the output map.
|
protected void |
IncrementalIngester.findRowIdsForDocIds(java.lang.String outputConnectionName,
java.util.Set<java.lang.Long> rowIDSet,
java.util.List<java.lang.String> paramValues,
java.lang.String componentHash)
Given values and parameters corresponding to a set of hash values, add corresponding
table row id's to the output map.
|
protected void |
IncrementalIngester.findRowIdsForURIs(java.lang.String outputConnectionName,
java.util.Set<java.lang.Long> rowIDSet,
java.util.Set<java.lang.String> uris,
java.util.List<java.lang.String> hashParamValues)
Given values and parameters corresponding to a set of hash values, add corresponding
table row id's to the output map.
|
long |
IncrementalIngester.getDocumentUpdateInterval(IPipelineSpecificationBasic pipelineSpecificationBasic,
java.lang.String identifierClass,
java.lang.String identifierHash)
Calculate the average time interval between changes for a document.
|
long[] |
IncrementalIngester.getDocumentUpdateIntervalMultiple(IPipelineSpecificationBasic pipelineSpecificationBasic,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes)
Calculate the average time interval between changes for a document.
|
protected void |
IncrementalIngester.getDocumentURIChunk(java.util.List<IncrementalIngester.DeleteInfo> rval,
java.lang.String outputConnectionName,
java.util.List<java.lang.String> list)
Get a chunk of document uris.
|
protected void |
IncrementalIngester.getDocumentURIChunk(java.util.List<IncrementalIngester.DeleteInfo> rval,
java.lang.String outputConnectionName,
java.util.List<java.lang.String> list,
java.lang.String componentHash)
Get a chunk of document uris.
|
protected java.util.List<IncrementalIngester.DeleteInfo> |
IncrementalIngester.getDocumentURIMultiple(java.lang.String outputConnectionName,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes)
Find out what URIs a SET of document URIs are currently ingested.
|
protected java.util.List<IncrementalIngester.DeleteInfo> |
IncrementalIngester.getDocumentURIMultiple(java.lang.String outputConnectionName,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes,
java.lang.String componentHash)
Find out what URIs a SET of document URIs are currently ingested.
|
protected void |
IncrementalIngester.getIntervals(long[] rval,
java.lang.String[] outputConnectionNames,
java.util.List<java.lang.String> list,
java.util.Map<java.lang.String,java.lang.Integer> returnMap)
Query for and calculate the interval for a bunch of hashcodes.
|
VersionContext |
IncrementalIngester.getOutputDescription(IOutputConnection outputConnection,
Specification spec)
Get an output version string for a document.
|
void |
IncrementalIngester.getPipelineDocumentIngestData(IngestStatuses rval,
IPipelineSpecificationBasic pipelineSpecificationBasic,
java.lang.String identifierClass,
java.lang.String identifierHash)
Look up ingestion data for a document.
|
protected void |
IncrementalIngester.getPipelineDocumentIngestDataChunk(IngestStatuses rval,
java.util.Map<java.lang.String,java.lang.Integer> map,
java.lang.String[] outputConnectionNames,
java.util.List<java.lang.String> list,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes)
Get a chunk of document ingest data records.
|
void |
IncrementalIngester.getPipelineDocumentIngestDataMultiple(IngestStatuses rval,
IPipelineSpecificationBasic[] pipelineSpecificationBasics,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes)
Look up ingestion data for a set of documents.
|
void |
IncrementalIngester.getPipelineDocumentIngestDataMultiple(IngestStatuses rval,
IPipelineSpecificationBasic pipelineSpecificationBasic,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes)
Look up ingestion data for a SET of documents.
|
VersionContext |
IncrementalIngester.getTransformationDescription(ITransformationConnection transformationConnection,
Specification spec)
Get transformation version string for a document.
|
void |
IncrementalIngester.install()
Install the incremental ingestion manager.
|
void |
IncrementalIngester.OutputAddActivitiesWrapper.noDocument()
Send NO document via the pipeline to the next output connection.
|
void |
IncrementalIngester.PipelineAddFanout.noDocument()
Send NO document via the pipeline to the next output connection.
|
void |
IncrementalIngester.PipelineAddEntryPoint.noDocument() |
void |
IncrementalIngester.OutputAddEntryPoint.noDocument() |
void |
IncrementalIngester.MonitoredAddActivityWrapper.noDocument()
Send NO document via the pipeline to the next output connection.
|
void |
IncrementalIngester.PipelineObjectWithVersions.noDocument(java.lang.String docKey,
java.lang.String componentHash,
java.lang.String newDocumentVersion,
java.lang.String authorityNameString,
IOutputActivity finalActivity,
long ingestTime) |
protected void |
IncrementalIngester.noteDocumentIngest(java.lang.String outputConnectionName,
java.lang.String docKey,
java.lang.String componentHash,
java.lang.String documentVersion,
java.lang.String transformationVersion,
java.lang.String outputVersion,
java.lang.String authorityNameString,
long ingestTime,
java.lang.String documentURI,
java.lang.String documentURIHash)
Note the ingestion of a document, or the "update" of a document.
|
protected IncrementalIngester.PipelineObject |
IncrementalIngester.pipelineGrab(IPipelineSpecification pipelineConnections)
Grab the entire pipeline.
|
protected IncrementalIngester.PipelineObjectWithVersions |
IncrementalIngester.pipelineGrabWithVersions(IPipelineSpecificationWithVersions pipelineConnections)
Grab the entire pipeline.
|
java.lang.String |
IncrementalIngester.OutputAddActivitiesWrapper.qualifyAccessToken(java.lang.String authorityNameString,
java.lang.String accessToken)
Qualify an access token appropriately, to match access tokens as returned by mod_aa.
|
java.lang.String |
IncrementalIngester.PipelineAddFanout.qualifyAccessToken(java.lang.String authorityNameString,
java.lang.String accessToken)
Qualify an access token appropriately, to match access tokens as returned by mod_aa.
|
java.lang.String |
IncrementalIngester.MonitoredAddActivityWrapper.qualifyAccessToken(java.lang.String authorityNameString,
java.lang.String accessToken)
Qualify an access token appropriately, to match access tokens as returned by mod_aa.
|
void |
IncrementalIngester.OutputRecordingActivity.recordActivity(java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityURI,
java.lang.String resultCode,
java.lang.String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
IncrementalIngester.TransformationRecordingActivity.recordActivity(java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityURI,
java.lang.String resultCode,
java.lang.String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
IncrementalIngester.PipelineAddFanout.recordActivity(java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityURI,
java.lang.String resultCode,
java.lang.String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
IncrementalIngester.MonitoredAddActivityWrapper.recordActivity(java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityURI,
java.lang.String resultCode,
java.lang.String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
IncrementalIngester.PipelineObject.release() |
protected void |
IncrementalIngester.removeDocument(IOutputConnection connection,
java.lang.String documentURI,
java.lang.String outputDescription,
IOutputRemoveActivity activities)
Remove document, using the specified output connection, via the standard pool.
|
void |
IncrementalIngester.removeOutputConnection(IOutputConnection outputConnection)
Remove all knowledge of an output index from the system.
|
void |
IncrementalIngester.resetOutputConnection(IOutputConnection outputConnection)
Reset all documents belonging to a specific output connection, because we've got information that
that system has been reconfigured.
|
int |
IncrementalIngester.OutputAddActivitiesWrapper.sendDocument(java.lang.String documentURI,
RepositoryDocument document)
Send a document via the pipeline to the next output connection.
|
int |
IncrementalIngester.PipelineAddFanout.sendDocument(java.lang.String documentURI,
RepositoryDocument document)
Send a document via the pipeline to the next output connection.
|
int |
IncrementalIngester.MonitoredAddActivityWrapper.sendDocument(java.lang.String documentURI,
RepositoryDocument document)
Send a document via the pipeline to the next output connection.
|
protected void |
IncrementalIngester.updateRowIds(java.util.List<java.lang.Long> list,
long checkTime)
Update a chunk of row ids.
|
| Constructor and Description |
|---|
IncrementalIngester(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
RepositoryDocumentFactory(RepositoryDocument document)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RepositoryDocument.addField(java.lang.String fieldName,
java.util.Date fieldData)
Add/remove a date field.
|
void |
RepositoryDocument.addField(java.lang.String fieldName,
java.util.Date[] fieldData)
Add/remove a multivalue date field.
|
void |
RepositoryDocument.addField(java.lang.String fieldName,
java.io.Reader fieldData)
Add/remove a character field.
|
void |
RepositoryDocument.addField(java.lang.String fieldName,
java.io.Reader[] fieldData)
Add/remove a multivalue character field.
|
void |
RepositoryDocument.addField(java.lang.String fieldName,
java.lang.String fieldData)
Add a character field.
|
void |
RepositoryDocument.addField(java.lang.String fieldName,
java.lang.String[] fieldData)
Add/Remove a multivalue character field.
|
int |
IPipelineConnector.addOrReplaceDocumentWithException(java.lang.String documentURI,
VersionContext pipelineDescription,
RepositoryDocument document,
java.lang.String authorityNameString,
IOutputAddActivity activities)
Add (or replace) a document in the output data store using the connector.
|
boolean |
IOutputConnectionManager.checkConnectorExists(java.lang.String name)
Check if underlying connector exists.
|
boolean |
ITransformationConnectionManager.checkConnectorExists(java.lang.String name)
Check if underlying connector exists.
|
boolean |
IOutputCheckActivity.checkDateIndexable(java.util.Date date)
Detect if a document date is acceptable downstream or not.
|
boolean |
IIncrementalIngester.checkDateIndexable(IPipelineSpecification pipelineSpecification,
java.util.Date date,
IOutputCheckActivity activity)
Check if a document date is indexable.
|
boolean |
IPipelineConnector.checkDateIndexable(VersionContext pipelineDescription,
java.util.Date date,
IOutputCheckActivity checkActivity)
Detect if a document date is acceptable or not.
|
boolean |
IOutputCheckActivity.checkDocumentIndexable(java.io.File localFile)
Pre-determine whether a document (passed here as a File object) is acceptable downstream.
|
boolean |
ITransformationCheckActivity.checkDocumentIndexable(java.io.File localFile)
Pre-determine whether a document (passed here as a File object) is acceptable downstream.
|
boolean |
IIncrementalIngester.checkDocumentIndexable(IPipelineSpecification pipelineSpecification,
java.io.File localFile,
IOutputCheckActivity activity)
Check if a file is indexable.
|
boolean |
IPipelineConnector.checkDocumentIndexable(VersionContext pipelineDescription,
java.io.File localFile,
IOutputCheckActivity checkActivity)
Pre-determine whether a document (passed here as a File object) is acceptable or not.
|
boolean |
IIncrementalIngester.checkLengthIndexable(IPipelineSpecification pipelineSpecification,
long length,
IOutputCheckActivity activity)
Pre-determine whether a document's length is indexable by this connector.
|
boolean |
IOutputCheckActivity.checkLengthIndexable(long length)
Pre-determine whether a document's length is acceptable downstream.
|
boolean |
ITransformationCheckActivity.checkLengthIndexable(long length)
Pre-determine whether a document's length is acceptable downstream.
|
boolean |
IPipelineConnector.checkLengthIndexable(VersionContext pipelineDescription,
long length,
IOutputCheckActivity checkActivity)
Pre-determine whether a document's length is acceptable.
|
boolean |
IIncrementalIngester.checkMimeTypeIndexable(IPipelineSpecification pipelineSpecification,
java.lang.String mimeType,
IOutputCheckActivity activity)
Check if a mime type is indexable.
|
boolean |
IOutputCheckActivity.checkMimeTypeIndexable(java.lang.String mimeType)
Detect if a mime type is acceptable downstream or not.
|
boolean |
ITransformationCheckActivity.checkMimeTypeIndexable(java.lang.String mimeType)
Detect if a mime type is acceptable downstream or not.
|
boolean |
IPipelineConnector.checkMimeTypeIndexable(VersionContext pipelineDescription,
java.lang.String mimeType,
IOutputCheckActivity checkActivity)
Detect if a mime type is acceptable or not.
|
boolean |
IIncrementalIngester.checkURLIndexable(IPipelineSpecification pipelineSpecification,
java.lang.String url,
IOutputCheckActivity activity)
Pre-determine whether a document's URL is indexable by this connector.
|
boolean |
IOutputCheckActivity.checkURLIndexable(java.lang.String url)
Pre-determine whether a document's URL is acceptable downstream.
|
boolean |
ITransformationCheckActivity.checkURLIndexable(java.lang.String url)
Pre-determine whether a document's URL is acceptable downstream.
|
boolean |
IPipelineConnector.checkURLIndexable(VersionContext pipelineDescription,
java.lang.String url,
IOutputCheckActivity checkActivity)
Pre-determine whether a document's URL is acceptable.
|
void |
IAgent.cleanUp(IThreadContext threadContext)
Tear down agent environment.
|
void |
IAgent.cleanUpAgentData(IThreadContext threadContext,
java.lang.String currentProcessID,
java.lang.String cleanupProcessID)
Cleanup after agents process.
|
void |
IAgent.cleanUpAllAgentData(IThreadContext threadContext,
java.lang.String currentProcessID)
Cleanup after ALL agents processes.
|
void |
IIncrementalIngester.clearAll()
Flush all knowledge of what was ingested before.
|
void |
IOutputConnectorPool.closeAllConnectors()
Clean up all open output connector handles.
|
void |
ITransformationConnectorPool.closeAllConnectors()
Clean up all open transformation connector handles.
|
void |
IAgent.clusterInit(IThreadContext threadContext)
Called ONLY when no other active services of this kind are running.
|
IOutputConnection |
IOutputConnectionManager.create()
Create a new output connection object.
|
ITransformationConnection |
ITransformationConnectionManager.create()
Create a new transformation connection object.
|
void |
IAgentManager.deinstall()
Uninstall.
|
void |
IIncrementalIngester.deinstall()
Uninstall the incremental ingestion manager.
|
void |
IOutputConnectionManager.deinstall()
Uninstall the manager.
|
void |
IOutputConnectorManager.deinstall()
Uninstall.
|
void |
ITransformationConnectionManager.deinstall()
Uninstall the manager.
|
void |
ITransformationConnectorManager.deinstall()
Uninstall.
|
void |
IAgent.deinstall(IThreadContext threadContext)
Uninstall agent.
|
static void |
OutputConnectorFactory.deinstall(IThreadContext threadContext,
java.lang.String className)
Uninstall connector.
|
static void |
TransformationConnectorFactory.deinstall(IThreadContext threadContext,
java.lang.String className)
Uninstall connector.
|
void |
IOutputConnectionManager.delete(java.lang.String name)
Delete an output connection.
|
void |
ITransformationConnectionManager.delete(java.lang.String name)
Delete a transformation connection.
|
void |
IIncrementalIngester.documentCheck(IPipelineSpecificationBasic pipelineSpecificationBasic,
java.lang.String identifierClass,
java.lang.String identifierHash,
long checkTime)
Note the fact that we checked a document (and found that it did not need to be ingested, because the
versions agreed).
|
void |
IIncrementalIngester.documentCheckMultiple(IPipelineSpecificationBasic pipelineSpecificationBasic,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes,
long checkTime)
Note the fact that we checked a document (and found that it did not need to be ingested, because the
versions agreed).
|
void |
IIncrementalIngester.documentDelete(IPipelineConnections pipelineConnections,
java.lang.String identifierClass,
java.lang.String identifierHash,
IOutputRemoveActivity activities)
Delete a document, and all its components, from the search engine index.
|
void |
IIncrementalIngester.documentDeleteMultiple(IPipelineConnections[] pipelineConnections,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes,
IOutputRemoveActivity activities)
Delete multiple documents, and their components, from the search engine index.
|
void |
IIncrementalIngester.documentDeleteMultiple(IPipelineConnections pipelineConnections,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes,
IOutputRemoveActivity activities)
Delete multiple documents, and their components, from the search engine index.
|
boolean |
IIncrementalIngester.documentIngest(IPipelineSpecificationWithVersions pipelineSpecificationWithVersions,
java.lang.String identifierClass,
java.lang.String identifierHash,
java.lang.String componentHash,
java.lang.String documentVersion,
java.lang.String authorityName,
RepositoryDocument data,
long ingestTime,
java.lang.String documentURI,
IOutputActivity activities)
Ingest a document.
|
void |
IIncrementalIngester.documentNoData(IPipelineSpecificationWithVersions pipelineSpecificationWithVersions,
java.lang.String identifierClass,
java.lang.String identifierHash,
java.lang.String componentHash,
java.lang.String documentVersion,
java.lang.String authorityName,
long recordTime,
IOutputActivity activities)
Remove a document from specified indexes, just as if an empty document
was indexed, and record the necessary version information.
|
void |
IIncrementalIngester.documentRecord(IPipelineSpecificationBasic pipelineSpecificationBasic,
java.lang.String identifierClass,
java.lang.String identifierHash,
java.lang.String componentHash,
java.lang.String documentVersion,
long recordTime)
Record a document version, but don't ingest it.
|
void |
IIncrementalIngester.documentRemove(IPipelineConnections pipelineConnections,
java.lang.String identifierClass,
java.lang.String identifierHash,
java.lang.String componentHash,
IOutputRemoveActivity activities)
Remove a document component from the search engine index.
|
void |
IIncrementalIngester.documentRemoveMultiple(IPipelineConnections pipelineConnections,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes,
java.lang.String componentHash,
IOutputRemoveActivity activities)
Remove multiple document components from the search engine index.
|
void |
IOutputConnectionManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
void |
ITransformationConnectionManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
java.lang.String[] |
IOutputConnectionManager.findConnectionsForConnector(java.lang.String className)
Get a list of output connections that share the same connector.
|
java.lang.String[] |
ITransformationConnectionManager.findConnectionsForConnector(java.lang.String className)
Get a list of transformation connections that share the same connector.
|
void |
IOutputConnectorPool.flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
void |
ITransformationConnectorPool.flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
static java.lang.String[] |
OutputConnectorFactory.getActivitiesList(IThreadContext threadContext,
java.lang.String className)
Get the activities supported by this connector.
|
static java.lang.String[] |
TransformationConnectorFactory.getActivitiesList(IThreadContext threadContext,
java.lang.String className)
Get the activities supported by this connector.
|
java.lang.String[] |
IAgentManager.getAllAgents()
Get a list of all registered agent class names.
|
IOutputConnection[] |
IOutputConnectionManager.getAllConnections()
Obtain a list of the output connections, ordered by name.
|
ITransformationConnection[] |
ITransformationConnectionManager.getAllConnections()
Obtain a list of the transformation connections, ordered by name.
|
static java.lang.String[] |
OutputConnectionManagerFactory.getAllOutputActivities(IThreadContext tc)
Compile a list of all pertinent activities, across all existing output connections.
|
static java.lang.String[] |
TransformationConnectionManagerFactory.getAllTransformationActivities(IThreadContext tc)
Compile a list of all pertinent activities, across all existing transformation connections.
|
static IOutputConnector |
OutputConnectorFactory.getConnectorNoCheck(java.lang.String className)
Get an output connector instance, without checking for installed connector.
|
static ITransformationConnector |
TransformationConnectorFactory.getConnectorNoCheck(java.lang.String className)
Get an output connector instance, without checking for installed connector.
|
IResultSet |
IOutputConnectorManager.getConnectors()
Get ordered list of connectors.
|
IResultSet |
ITransformationConnectorManager.getConnectors()
Get ordered list of connectors.
|
java.lang.String |
IOutputConnectorManager.getDescription(java.lang.String className)
Get a description given a class name.
|
java.lang.String |
ITransformationConnectorManager.getDescription(java.lang.String className)
Get a description given a class name.
|
long |
IIncrementalIngester.getDocumentUpdateInterval(IPipelineSpecificationBasic pipelineSpecificationBasic,
java.lang.String identifierClass,
java.lang.String identifierHash)
Calculate the average time interval between changes for a document.
|
long[] |
IIncrementalIngester.getDocumentUpdateIntervalMultiple(IPipelineSpecificationBasic pipelineSpecificationBasic,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes)
Calculate the average time interval between changes for a document.
|
VersionContext |
IIncrementalIngester.getOutputDescription(IOutputConnection outputConnection,
Specification spec)
Get an output version string for a document.
|
VersionContext |
IPipelineConnector.getPipelineDescription(Specification spec)
Get a pipeline version object, given a pipeline specification object.
|
void |
IIncrementalIngester.getPipelineDocumentIngestData(IngestStatuses rval,
IPipelineSpecificationBasic pipelineSpecificationBasic,
java.lang.String identifierClass,
java.lang.String identifierHash)
Look up ingestion data for a document.
|
void |
IIncrementalIngester.getPipelineDocumentIngestDataMultiple(IngestStatuses rval,
IPipelineSpecificationBasic[] pipelineSpecificationBasics,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes)
Look up ingestion data for a set of documents.
|
void |
IIncrementalIngester.getPipelineDocumentIngestDataMultiple(IngestStatuses rval,
IPipelineSpecificationBasic pipelineSpecificationBasic,
java.lang.String[] identifierClasses,
java.lang.String[] identifierHashes)
Look up ingestion data for a SET of documents.
|
java.lang.String[] |
OutputConnectorFactory.getThisActivitiesList(IThreadContext threadContext,
java.lang.String className)
Get the activities supported by this connector.
|
java.lang.String[] |
TransformationConnectorFactory.getThisActivitiesList(IThreadContext threadContext,
java.lang.String className)
Get the activities supported by this connector.
|
VersionContext |
IIncrementalIngester.getTransformationDescription(ITransformationConnection transformationConnection,
Specification spec)
Get transformation version string for a document.
|
IOutputConnector |
IOutputConnectorPool.grab(IOutputConnection outputConnection)
Get an output connector.
|
ITransformationConnector |
ITransformationConnectorPool.grab(ITransformationConnection transformationConnection)
Get a transformation connector.
|
IOutputConnector[] |
IOutputConnectorPool.grabMultiple(java.lang.String[] orderingKeys,
IOutputConnection[] outputConnections)
Get multiple output connectors, all at once.
|
ITransformationConnector[] |
ITransformationConnectorPool.grabMultiple(java.lang.String[] orderingKeys,
ITransformationConnection[] transformationConnections)
Get multiple transformation connectors, all at once.
|
void |
IOutputConnectionManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
ITransformationConnectionManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
IAgent.initialize(IThreadContext threadContext)
Initialize agent environment.
|
void |
IAgentManager.install()
Install.
|
void |
IIncrementalIngester.install()
Install the incremental ingestion manager.
|
void |
IOutputConnectionManager.install()
Install the manager.
|
void |
IOutputConnectorManager.install()
Install.
|
void |
ITransformationConnectionManager.install()
Install the manager.
|
void |
ITransformationConnectorManager.install()
Install.
|
void |
IAgent.install(IThreadContext threadContext)
Install agent.
|
static void |
OutputConnectorFactory.install(IThreadContext threadContext,
java.lang.String className)
Install connector.
|
static void |
TransformationConnectorFactory.install(IThreadContext threadContext,
java.lang.String className)
Install connector.
|
static IAgent[] |
AgentManagerFactory.instantiateAllAgents(IThreadContext threadContext)
Instantiate the complete set of IAgent objects.
|
protected boolean |
OutputConnectorFactory.isInstalled(IThreadContext tc,
java.lang.String className) |
protected boolean |
TransformationConnectorFactory.isInstalled(IThreadContext tc,
java.lang.String className) |
boolean |
IOutputConnectorManager.isInstalled(java.lang.String className)
Check if a particular connector is installed or not.
|
boolean |
ITransformationConnectorManager.isInstalled(java.lang.String className)
Check if a particular connector is installed or not.
|
static boolean |
AgentManagerFactory.isOutputConnectionInUse(IThreadContext threadContext,
java.lang.String connName)
Request permission from all registered agents to delete an output connection.
|
boolean |
IAgent.isOutputConnectionInUse(IThreadContext threadContext,
java.lang.String connName)
Request permission from agent to delete an output connection.
|
static boolean |
AgentManagerFactory.isTransformationConnectionInUse(IThreadContext threadContext,
java.lang.String connName)
Request permission from all registered agents to delete a transformation connection.
|
boolean |
IAgent.isTransformationConnectionInUse(IThreadContext threadContext,
java.lang.String connName)
Request permission from agent to delete a transformation connection.
|
IOutputConnection |
IOutputConnectionManager.load(java.lang.String name)
Load an output connection by name.
|
ITransformationConnection |
ITransformationConnectionManager.load(java.lang.String name)
Load an transformation connection by name.
|
IOutputConnection[] |
IOutputConnectionManager.loadMultiple(java.lang.String[] names)
Load a set of output connections.
|
ITransformationConnection[] |
ITransformationConnectionManager.loadMultiple(java.lang.String[] names)
Load a set of transformation connections.
|
static IAgentManager |
AgentManagerFactory.make(IThreadContext threadContext)
Make an agent manager instance.
|
static IIncrementalIngester |
IncrementalIngesterFactory.make(IThreadContext threadContext)
Get an appropriate incremental ingest manager handle.
|
static IOutputConnectionManager |
OutputConnectionManagerFactory.make(IThreadContext tc)
Make an output connection manager handle.
|
static IOutputConnectorManager |
OutputConnectorManagerFactory.make(IThreadContext tc)
Construct an output connector manager.
|
static IOutputConnectorPool |
OutputConnectorPoolFactory.make(IThreadContext tc)
Make an output connector pool handle.
|
static ITransformationConnectionManager |
TransformationConnectionManagerFactory.make(IThreadContext tc)
Make a transformation connection manager handle.
|
static ITransformationConnectorManager |
TransformationConnectorManagerFactory.make(IThreadContext tc)
Construct an output connector manager.
|
static ITransformationConnectorPool |
TransformationConnectorPoolFactory.make(IThreadContext tc)
Make a transformation connector pool handle.
|
static IAgent |
AgentFactory.make(java.lang.String className)
Make an agent, given a class name.
|
void |
IOutputAddActivity.noDocument()
Send NO document via the pipeline to the next output connection.
|
void |
IOutputConnector.noteAllRecordsRemoved()
Notify the connector that all records associated with this connection have been removed.
|
void |
IOutputConnector.noteJobComplete(IOutputNotifyActivity activities)
Notify the connector of a completed job.
|
static void |
AgentManagerFactory.noteOutputConnectionChange(IThreadContext threadContext,
java.lang.String connectionName)
Note to all registered agents the change of configuration of an output connection.
|
void |
IAgent.noteOutputConnectionChange(IThreadContext threadContext,
java.lang.String connectionName)
Note a change in configuration for an output connection.
|
static void |
AgentManagerFactory.noteOutputConnectorDeregistration(IThreadContext threadContext,
java.lang.String[] connectionNames)
Note to all registered agents the deregistration of an output connector used by the specified connections.
|
void |
IAgent.noteOutputConnectorDeregistration(IThreadContext threadContext,
java.lang.String[] connectionNames)
Note the deregistration of a set of output connections.
|
static void |
AgentManagerFactory.noteOutputConnectorRegistration(IThreadContext threadContext,
java.lang.String[] connectionNames)
Note to all registered agents the registration of an output connector used by the specified connections.
|
void |
IAgent.noteOutputConnectorRegistration(IThreadContext threadContext,
java.lang.String[] connectionNames)
Note the registration of a set of output connections.
|
static void |
AgentManagerFactory.noteTransformationConnectionChange(IThreadContext threadContext,
java.lang.String connectionName)
Note to all registered agents the change of configuration of a transformation connection.
|
void |
IAgent.noteTransformationConnectionChange(IThreadContext threadContext,
java.lang.String connectionName)
Note a change in configuration for a transformation connection.
|
static void |
AgentManagerFactory.noteTransformationConnectorDeregistration(IThreadContext threadContext,
java.lang.String[] connectionNames)
Note to all registered agents the deregistration of a transformation connector used by the specified connections.
|
void |
IAgent.noteTransformationConnectorDeregistration(IThreadContext threadContext,
java.lang.String[] connectionNames)
Note the deregistration of a set of transformation connections.
|
static void |
AgentManagerFactory.noteTransformationConnectorRegistration(IThreadContext threadContext,
java.lang.String[] connectionNames)
Note to all registered agents the registration of a transformation connector used by the specified connections.
|
void |
IAgent.noteTransformationConnectorRegistration(IThreadContext threadContext,
java.lang.String[] connectionNames)
Note the registration of a set of transformation connections.
|
static void |
OutputConnectorFactory.outputConfigurationBody(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.lang.String tabName)
Output the configuration body section.
|
static void |
TransformationConnectorFactory.outputConfigurationBody(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.lang.String tabName)
Output the configuration body section.
|
static void |
OutputConnectorFactory.outputConfigurationHeader(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.util.ArrayList tabsArray)
Output the configuration header section.
|
static void |
TransformationConnectorFactory.outputConfigurationHeader(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.util.ArrayList tabsArray)
Output the configuration header section.
|
void |
IPipelineConnector.outputSpecificationBody(IHTTPOutput out,
java.util.Locale locale,
Specification os,
int connectionSequenceNumber,
int actualSequenceNumber,
java.lang.String tabName)
Output the specification body section.
|
void |
IPipelineConnector.outputSpecificationHeader(IHTTPOutput out,
java.util.Locale locale,
Specification os,
int connectionSequenceNumber,
java.util.List<java.lang.String> tabsArray)
Output the specification header section.
|
void |
IOutputConnectorPool.pollAllConnectors()
Idle notification for inactive output connector handles.
|
void |
ITransformationConnectorPool.pollAllConnectors()
Idle notification for inactive transformation connector handles.
|
static java.lang.String |
OutputConnectorFactory.processConfigurationPost(IThreadContext threadContext,
java.lang.String className,
IPostParameters variableContext,
java.util.Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
static java.lang.String |
TransformationConnectorFactory.processConfigurationPost(IThreadContext threadContext,
java.lang.String className,
IPostParameters variableContext,
java.util.Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
java.lang.String |
IPipelineConnector.processSpecificationPost(IPostParameters variableContext,
java.util.Locale locale,
Specification os,
int connectionSequenceNumber)
Process a specification post.
|
java.lang.String |
IOutputQualifyActivity.qualifyAccessToken(java.lang.String authorityNameString,
java.lang.String accessToken)
Qualify an access token appropriately, to match access tokens as returned by mod_aa.
|
void |
IOutputHistoryActivity.recordActivity(java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityURI,
java.lang.String resultCode,
java.lang.String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
IIngestLogger.recordDeletionAttempt(java.lang.String documentIdentifier,
java.lang.Long startTime,
java.lang.String entityIdentifier,
java.lang.String resultCode,
java.lang.String resultDescription)
Record time-stamped information about a deletion attempt.
|
void |
IIngestLogger.recordIngestionAttempt(java.lang.String documentIdentifier,
java.lang.Long startTime,
java.lang.Long dataSize,
java.lang.String entityIdentifier,
java.lang.String resultCode,
java.lang.String resultDescription)
Record time-stamped information about an ingestion attempt.
|
void |
IAgentManager.registerAgent(java.lang.String className)
Register an agent.
|
void |
IOutputConnectorManager.registerConnector(java.lang.String description,
java.lang.String className)
Register a new connector.
|
void |
ITransformationConnectorManager.registerConnector(java.lang.String description,
java.lang.String className)
Register a new connector.
|
void |
IOutputConnectorPool.release(IOutputConnection connection,
IOutputConnector connector)
Release an output connector.
|
void |
ITransformationConnectorPool.release(ITransformationConnection connection,
ITransformationConnector connector)
Release a transformation connector.
|
void |
IOutputConnectorPool.releaseMultiple(IOutputConnection[] connections,
IOutputConnector[] connectors)
Release multiple output connectors.
|
void |
ITransformationConnectorPool.releaseMultiple(ITransformationConnection[] connections,
ITransformationConnector[] connectors)
Release multiple transformation connectors.
|
void |
IAgentManager.removeAgent(java.lang.String className)
Remove an agent.
|
void |
IOutputConnectorManager.removeConnector(java.lang.String className)
Remove a connector.
|
void |
ITransformationConnectorManager.removeConnector(java.lang.String className)
Remove a connector.
|
void |
IOutputConnector.removeDocument(java.lang.String documentURI,
java.lang.String outputDescription,
IOutputRemoveActivity activities)
Remove a document using the connector.
|
void |
IIncrementalIngester.removeOutputConnection(IOutputConnection outputConnection)
Remove all knowledge of an output index from the system.
|
boolean |
IOutputConnector.requestInfo(Configuration output,
java.lang.String command)
Request arbitrary connector information.
|
boolean |
ITransformationConnector.requestInfo(Configuration output,
java.lang.String command)
Request arbitrary connector information.
|
void |
IIncrementalIngester.resetOutputConnection(IOutputConnection outputConnection)
Reset all documents belonging to a specific output connection, because we've got information that
that system has been reconfigured.
|
boolean |
IOutputConnectionManager.save(IOutputConnection object)
Save an output connection object.
|
boolean |
ITransformationConnectionManager.save(ITransformationConnection object)
Save a transformation connection object.
|
int |
IOutputAddActivity.sendDocument(java.lang.String documentURI,
RepositoryDocument document)
Send a document via the pipeline to the next output connection.
|
void |
IAgent.startAgent(IThreadContext threadContext,
java.lang.String processID)
Start the agent.
|
void |
IAgent.stopAgent(IThreadContext threadContext)
Stop the agent.
|
void |
IAgentManager.unregisterAgent(java.lang.String className)
Unregister an agent.
|
void |
IOutputConnectorManager.unregisterConnector(java.lang.String className)
Unregister a connector.
|
void |
ITransformationConnectorManager.unregisterConnector(java.lang.String className)
Unregister a connector.
|
static void |
OutputConnectorFactory.viewConfiguration(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams configParams)
View connector configuration.
|
static void |
TransformationConnectorFactory.viewConfiguration(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams configParams)
View connector configuration.
|
void |
IPipelineConnector.viewSpecification(IHTTPOutput out,
java.util.Locale locale,
Specification os,
int connectionSequenceNumber)
View specification.
|
| Modifier and Type | Method and Description |
|---|---|
int |
BaseOutputConnector.addOrReplaceDocumentWithException(java.lang.String documentURI,
VersionContext pipelineDescription,
RepositoryDocument document,
java.lang.String authorityNameString,
IOutputAddActivity activities)
Add (or replace) a document in the output data store using the connector.
|
boolean |
BaseOutputConnector.checkDateIndexable(VersionContext pipelineDescription,
java.util.Date date,
IOutputCheckActivity checkActivity)
Detect if a document date is acceptable or not.
|
boolean |
BaseOutputConnector.checkDocumentIndexable(VersionContext pipelineDescription,
java.io.File localFile,
IOutputCheckActivity checkActivity)
Pre-determine whether a document (passed here as a File object) is acceptable or not.
|
boolean |
BaseOutputConnector.checkLengthIndexable(VersionContext pipelineDescription,
long length,
IOutputCheckActivity checkActivity)
Pre-determine whether a document's length is acceptable.
|
boolean |
BaseOutputConnector.checkMimeTypeIndexable(VersionContext pipelineDescription,
java.lang.String mimeType,
IOutputCheckActivity checkActivity)
Detect if a mime type is acceptable or not.
|
boolean |
BaseOutputConnector.checkURLIndexable(VersionContext pipelineDescription,
java.lang.String url,
IOutputCheckActivity checkActivity)
Pre-determine whether a document's URL is acceptable.
|
VersionContext |
BaseOutputConnector.getPipelineDescription(Specification spec)
Get a pipeline version string, given a pipeline specification object.
|
void |
BaseOutputConnector.noteAllRecordsRemoved()
Notify the connector that all records associated with this connection have been removed.
|
void |
BaseOutputConnector.noteJobComplete(IOutputNotifyActivity activities)
Notify the connector of a completed job.
|
void |
BaseOutputConnector.outputSpecificationBody(IHTTPOutput out,
java.util.Locale locale,
Specification os,
int connectionSequenceNumber,
int actualSequenceNumber,
java.lang.String tabName)
Output the specification body section.
|
void |
BaseOutputConnector.outputSpecificationHeader(IHTTPOutput out,
java.util.Locale locale,
Specification os,
int connectionSequenceNumber,
java.util.List<java.lang.String> tabsArray)
Output the specification header section.
|
java.lang.String |
BaseOutputConnector.processSpecificationPost(IPostParameters variableContext,
java.util.Locale locale,
Specification os,
int connectionSequenceNumber)
Process a specification post.
|
void |
BaseOutputConnector.removeDocument(java.lang.String documentURI,
java.lang.String outputDescription,
IOutputRemoveActivity activities)
Remove a document using the connector.
|
boolean |
BaseOutputConnector.requestInfo(Configuration output,
java.lang.String command)
Request arbitrary connector information.
|
void |
BaseOutputConnector.viewSpecification(IHTTPOutput out,
java.util.Locale locale,
Specification os,
int connectionSequenceNumber)
View specification.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
OutputConnectionManager.checkConnectorExists(java.lang.String name)
Check if underlying connector exists.
|
IOutputConnection |
OutputConnectionManager.create()
Create a new output connection object.
|
java.lang.Object[] |
OutputConnectionManager.OutputConnectionExecutor.create(ICacheDescription[] objectDescriptions)
Create a set of new objects to operate on and cache.
|
void |
OutputConnectionManager.deinstall()
Uninstall the manager.
|
void |
OutputConnectionManager.delete(java.lang.String name)
Delete an output connection.
|
void |
OutputConnectionManager.OutputConnectionExecutor.execute()
Perform the desired operation.
|
void |
OutputConnectionManager.OutputConnectionExecutor.exists(ICacheDescription objectDescription,
java.lang.Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
OutputConnectionManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
java.lang.String[] |
OutputConnectionManager.findConnectionsForConnector(java.lang.String className)
Get a list of output connections that share the same connector.
|
IOutputConnection[] |
OutputConnectionManager.getAllConnections()
Obtain a list of the output connections, ordered by name.
|
protected void |
OutputConnectionManager.getOutputConnectionsChunk(OutputConnection[] rval,
java.util.Map returnIndex,
java.util.ArrayList params)
Read a chunk of output connections.
|
protected OutputConnection[] |
OutputConnectionManager.getOutputConnectionsMultiple(java.lang.String[] connectionNames)
Fetch multiple output connections at a single time.
|
void |
OutputConnectionManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
OutputConnectionManager.install()
Install the manager.
|
IOutputConnection |
OutputConnectionManager.load(java.lang.String name)
Load an output connection by name.
|
IOutputConnection[] |
OutputConnectionManager.loadMultiple(java.lang.String[] names)
Load multiple output connections by name.
|
protected int |
OutputConnectionManager.loadMultipleInternal(IOutputConnection[] rval,
int outputIndex,
java.lang.String[] fetchNames,
int inputIndex,
int length) |
boolean |
OutputConnectionManager.save(IOutputConnection object)
Save an output connection object.
|
| Constructor and Description |
|---|
OutputConnectionManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OutputConnectorPool.closeAllConnectors()
Clean up all open output connector handles.
|
void |
OutputConnectorPool.flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
IOutputConnector |
OutputConnectorPool.grab(IOutputConnection outputConnection)
Get an output connector.
|
IOutputConnector[] |
OutputConnectorPool.LocalPool.grabMultiple(IThreadContext tc,
java.lang.String[] orderingKeys,
java.lang.String[] connectionNames,
java.lang.String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes) |
IOutputConnector[] |
OutputConnectorPool.grabMultiple(java.lang.String[] orderingKeys,
IOutputConnection[] outputConnections)
Get multiple output connectors, all at once.
|
protected boolean |
OutputConnectorPool.LocalPool.isConnectionNameValid(IThreadContext tc,
java.lang.String connectionName) |
protected boolean |
OutputConnectorPool.LocalPool.isInstalled(IThreadContext tc,
java.lang.String className) |
void |
OutputConnectorPool.pollAllConnectors()
Idle notification for inactive output connector handles.
|
void |
OutputConnectorPool.release(IOutputConnection connection,
IOutputConnector connector)
Release an output connector.
|
void |
OutputConnectorPool.releaseMultiple(IOutputConnection[] connections,
IOutputConnector[] connectors)
Release multiple output connectors.
|
| Constructor and Description |
|---|
OutputConnectorPool(IThreadContext threadContext)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
OutputConnectorManager.deinstall()
Uninstall.
|
IResultSet |
OutputConnectorManager.getConnectors()
Get ordered list of connectors.
|
java.lang.String |
OutputConnectorManager.getDescription(java.lang.String className)
Get a description given a class name.
|
void |
OutputConnectorManager.install()
Install or upgrade.
|
boolean |
OutputConnectorManager.isInstalled(java.lang.String className)
Check if a particular connector is installed or not.
|
void |
OutputConnectorManager.registerConnector(java.lang.String description,
java.lang.String className)
Register a new connector.
|
void |
OutputConnectorManager.removeConnector(java.lang.String className)
Remove a connector.
|
void |
OutputConnectorManager.unregisterConnector(java.lang.String className)
Unregister a connector.
|
| Constructor and Description |
|---|
OutputConnectorManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ManifoldCF.createErrorNode(Configuration output,
ManifoldCFException e)
Handle an exception, by converting it to an error node.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AgentsDaemon.assertAgentsShutdownSignal(IThreadContext threadContext)
Assert shutdown signal for the current agents daemon.
|
protected void |
AgentsDaemon.checkAgents(IThreadContext threadContext)
Start all not-running agents.
|
void |
AgentsDaemon.CleanupAgent.cleanUpAllServices()
Clean up after ALL services of the type on the cluster.
|
void |
AgentsDaemon.CleanupAgent.cleanUpService(java.lang.String serviceName)
Clean up after the specified service.
|
static void |
AgentsDaemon.clearAgentsShutdownSignal(IThreadContext threadContext)
Clear shutdown signal for the current agents daemon.
|
void |
AgentsDaemon.CleanupAgent.clusterInit()
Perform cluster initialization - that is, whatever is needed presuming that the
cluster has been down for an indeterminate period of time, but is otherwise in a clean
state.
|
static void |
ManifoldCF.createErrorNode(Configuration output,
ManifoldCFException e)
Handle an exception, by converting it to an error node.
|
static void |
ManifoldCF.createErrorNode(Configuration output,
java.lang.String errorMessage)
Create an error node with a general error message.
|
static void |
ManifoldCF.deinstallTables(IThreadContext threadcontext)
Uninstall all the crawler system tables.
|
void |
AgentsDaemon.AgentsShutdownHook.doCleanup(IThreadContext threadContext) |
static void |
ManifoldCF.initializeEnvironment(IThreadContext threadContext)
Initialize environment.
|
static void |
ManifoldCF.installTables(IThreadContext threadcontext)
Install the agent tables.
|
static void |
ManifoldCF.localInitialize(IThreadContext threadContext) |
void |
AgentsDaemon.registerAgentsShutdownHook(IThreadContext threadContext)
Register agents shutdown hook.
|
void |
AgentsDaemon.runAgents(IThreadContext threadContext)
Run agents process.
|
static void |
ManifoldCF.signalOutputConnectionRedo(IThreadContext threadContext,
java.lang.String connectionName)
Signal output connection needs redoing.
|
static void |
ManifoldCF.signalOutputConnectionRemoved(IThreadContext threadContext,
java.lang.String connectionName)
Signal output connection has been deleted.
|
void |
AgentsDaemon.startAgents(IThreadContext threadContext)
Start agents thread for this agents daemon object.
|
void |
AgentsDaemon.stopAgents(IThreadContext threadContext)
Stop all started agents running under this agents daemon.
|
| Constructor and Description |
|---|
IdleCleanupThread(java.lang.String processID)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
BaseTransformationConnector.addOrReplaceDocumentWithException(java.lang.String documentURI,
VersionContext pipelineDescription,
RepositoryDocument document,
java.lang.String authorityNameString,
IOutputAddActivity activities)
Add (or replace) a document in the output data store using the connector.
|
boolean |
BaseTransformationConnector.checkDateIndexable(VersionContext pipelineDescription,
java.util.Date date,
IOutputCheckActivity checkActivity)
Detect if a document date is acceptable or not.
|
boolean |
BaseTransformationConnector.checkDocumentIndexable(VersionContext pipelineDescription,
java.io.File localFile,
IOutputCheckActivity checkActivity)
Pre-determine whether a document (passed here as a File object) is acceptable or not.
|
boolean |
BaseTransformationConnector.checkLengthIndexable(VersionContext pipelineDescription,
long length,
IOutputCheckActivity checkActivity)
Pre-determine whether a document's length is acceptable.
|
boolean |
BaseTransformationConnector.checkMimeTypeIndexable(VersionContext pipelineDescription,
java.lang.String mimeType,
IOutputCheckActivity checkActivity)
Detect if a mime type is acceptable or not.
|
boolean |
BaseTransformationConnector.checkURLIndexable(VersionContext pipelineDescription,
java.lang.String url,
IOutputCheckActivity checkActivity)
Pre-determine whether a document's URL is acceptable.
|
VersionContext |
BaseTransformationConnector.getPipelineDescription(Specification spec)
Get a pipeline version string, given a pipeline specification object.
|
void |
BaseTransformationConnector.outputSpecificationBody(IHTTPOutput out,
java.util.Locale locale,
Specification os,
int connectionSequenceNumber,
int actualSequenceNumber,
java.lang.String tabName)
Output the specification body section.
|
void |
BaseTransformationConnector.outputSpecificationHeader(IHTTPOutput out,
java.util.Locale locale,
Specification os,
int connectionSequenceNumber,
java.util.List<java.lang.String> tabsArray)
Output the specification header section.
|
java.lang.String |
BaseTransformationConnector.processSpecificationPost(IPostParameters variableContext,
java.util.Locale locale,
Specification os,
int connectionSequenceNumber)
Process a specification post.
|
boolean |
BaseTransformationConnector.requestInfo(Configuration output,
java.lang.String command)
Request arbitrary connector information.
|
void |
BaseTransformationConnector.viewSpecification(IHTTPOutput out,
java.util.Locale locale,
Specification os,
int connectionSequenceNumber)
View specification.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
TransformationConnectionManager.checkConnectorExists(java.lang.String name)
Check if underlying connector exists.
|
ITransformationConnection |
TransformationConnectionManager.create()
Create a new transformation connection object.
|
java.lang.Object[] |
TransformationConnectionManager.TransformationConnectionExecutor.create(ICacheDescription[] objectDescriptions)
Create a set of new objects to operate on and cache.
|
void |
TransformationConnectionManager.deinstall()
Uninstall the manager.
|
void |
TransformationConnectionManager.delete(java.lang.String name)
Delete an output connection.
|
void |
TransformationConnectionManager.TransformationConnectionExecutor.execute()
Perform the desired operation.
|
void |
TransformationConnectionManager.TransformationConnectionExecutor.exists(ICacheDescription objectDescription,
java.lang.Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
TransformationConnectionManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
java.lang.String[] |
TransformationConnectionManager.findConnectionsForConnector(java.lang.String className)
Get a list of output connections that share the same connector.
|
ITransformationConnection[] |
TransformationConnectionManager.getAllConnections()
Obtain a list of the transformation connections, ordered by name.
|
protected void |
TransformationConnectionManager.getTransformationConnectionsChunk(TransformationConnection[] rval,
java.util.Map<java.lang.String,java.lang.Integer> returnIndex,
java.util.ArrayList params)
Read a chunk of transformation connections.
|
protected TransformationConnection[] |
TransformationConnectionManager.getTransformationConnectionsMultiple(java.lang.String[] connectionNames)
Fetch multiple output connections at a single time.
|
void |
TransformationConnectionManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
TransformationConnectionManager.install()
Install the manager.
|
ITransformationConnection |
TransformationConnectionManager.load(java.lang.String name)
Load a transformation connection by name.
|
ITransformationConnection[] |
TransformationConnectionManager.loadMultiple(java.lang.String[] names)
Load multiple transformation connections by name.
|
protected int |
TransformationConnectionManager.loadMultipleInternal(ITransformationConnection[] rval,
int outputIndex,
java.lang.String[] fetchNames,
int inputIndex,
int length) |
boolean |
TransformationConnectionManager.save(ITransformationConnection object)
Save a transformation connection object.
|
| Constructor and Description |
|---|
TransformationConnectionManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TransformationConnectorPool.closeAllConnectors()
Clean up all open output connector handles.
|
void |
TransformationConnectorPool.flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
ITransformationConnector |
TransformationConnectorPool.grab(ITransformationConnection transformationConnection)
Get a transformation connector.
|
ITransformationConnector[] |
TransformationConnectorPool.LocalPool.grabMultiple(IThreadContext tc,
java.lang.String[] orderingKeys,
java.lang.String[] connectionNames,
java.lang.String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes) |
ITransformationConnector[] |
TransformationConnectorPool.grabMultiple(java.lang.String[] orderingKeys,
ITransformationConnection[] transformationConnections)
Get multiple transformation connectors, all at once.
|
protected boolean |
TransformationConnectorPool.LocalPool.isConnectionNameValid(IThreadContext tc,
java.lang.String connectionName) |
protected boolean |
TransformationConnectorPool.LocalPool.isInstalled(IThreadContext tc,
java.lang.String className) |
void |
TransformationConnectorPool.pollAllConnectors()
Idle notification for inactive transformation connector handles.
|
void |
TransformationConnectorPool.release(ITransformationConnection connection,
ITransformationConnector connector)
Release a transformation connector.
|
void |
TransformationConnectorPool.releaseMultiple(ITransformationConnection[] connections,
ITransformationConnector[] connectors)
Release multiple transformation connectors.
|
| Constructor and Description |
|---|
TransformationConnectorPool(IThreadContext threadContext)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
TransformationConnectorManager.deinstall()
Uninstall.
|
IResultSet |
TransformationConnectorManager.getConnectors()
Get ordered list of connectors.
|
java.lang.String |
TransformationConnectorManager.getDescription(java.lang.String className)
Get a description given a class name.
|
void |
TransformationConnectorManager.install()
Install or upgrade.
|
boolean |
TransformationConnectorManager.isInstalled(java.lang.String className)
Check if a particular connector is installed or not.
|
void |
TransformationConnectorManager.registerConnector(java.lang.String description,
java.lang.String className)
Register a new connector.
|
void |
TransformationConnectorManager.removeConnector(java.lang.String className)
Remove a connector.
|
void |
TransformationConnectorManager.unregisterConnector(java.lang.String className)
Unregister a connector.
|
| Constructor and Description |
|---|
TransformationConnectorManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
BaseAuthoritiesInitializationCommand.doExecute(IAuthorityConnectorManager mgr) |
protected void |
RegisterAuthority.doExecute(IAuthorityConnectorManager mgr) |
protected void |
SynchronizeAuthorities.doExecute(IAuthorityConnectorManager mgr) |
protected void |
UnRegisterAllAuthorities.doExecute(IAuthorityConnectorManager mgr) |
protected void |
UnRegisterAuthority.doExecute(IAuthorityConnectorManager mgr) |
protected abstract void |
BaseDomainsInitializationCommand.doExecute(IAuthorizationDomainManager mgr) |
protected void |
RegisterDomain.doExecute(IAuthorizationDomainManager mgr) |
protected void |
UnRegisterDomain.doExecute(IAuthorizationDomainManager mgr) |
protected abstract void |
BaseMappersInitializationCommand.doExecute(IMappingConnectorManager mgr) |
protected void |
RegisterMapper.doExecute(IMappingConnectorManager mgr) |
protected void |
SynchronizeMappers.doExecute(IMappingConnectorManager mgr) |
protected void |
UnRegisterAllMappers.doExecute(IMappingConnectorManager mgr) |
protected void |
UnRegisterMapper.doExecute(IMappingConnectorManager mgr) |
void |
BaseAuthoritiesInitializationCommand.execute() |
void |
BaseDomainsInitializationCommand.execute() |
void |
BaseMappersInitializationCommand.execute() |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthorityConnectorManager.deinstall()
Uninstall.
|
IResultSet |
AuthorityConnectorManager.getConnectors()
Get ordered list of connectors.
|
java.lang.String |
AuthorityConnectorManager.getDescription(java.lang.String className)
Get a description given a class name.
|
void |
AuthorityConnectorManager.install()
Install or upgrade.
|
boolean |
AuthorityConnectorManager.isInstalled(java.lang.String className)
Check if a particular connector is installed or not.
|
void |
AuthorityConnectorManager.registerConnector(java.lang.String description,
java.lang.String className)
Register a new connector.
|
void |
AuthorityConnectorManager.removeConnector(java.lang.String className)
Remove a connector.
|
void |
AuthorityConnectorManager.unregisterConnector(java.lang.String className)
Unregister a connector.
|
| Constructor and Description |
|---|
AuthorityConnectorManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthorizationDomainManager.deinstall()
Uninstall.
|
java.lang.String |
AuthorizationDomainManager.getDescription(java.lang.String domainName)
Get a description given a domain name.
|
IResultSet |
AuthorizationDomainManager.getDomains()
Get ordered list of domains.
|
void |
AuthorizationDomainManager.install()
Install or upgrade.
|
void |
AuthorizationDomainManager.registerDomain(java.lang.String description,
java.lang.String domainName)
Register a new domain.
|
void |
AuthorizationDomainManager.unregisterDomain(java.lang.String domainName)
Unregister a domain.
|
| Constructor and Description |
|---|
AuthorizationDomainManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IAuthorityGroup |
AuthorityGroupManager.create()
Create a new authority group object.
|
java.lang.Object[] |
AuthorityGroupManager.AuthorityGroupExecutor.create(ICacheDescription[] objectDescriptions)
Create a set of new objects to operate on and cache.
|
void |
AuthorityGroupManager.deinstall()
Uninstall the manager.
|
void |
AuthorityGroupManager.delete(java.lang.String name)
Delete an authority group.
|
void |
AuthorityGroupManager.AuthorityGroupExecutor.execute()
Perform the desired operation.
|
void |
AuthorityGroupManager.AuthorityGroupExecutor.exists(ICacheDescription objectDescription,
java.lang.Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
AuthorityGroupManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
IAuthorityGroup[] |
AuthorityGroupManager.getAllGroups()
Obtain a list of the authority grouops, ordered by name.
|
protected void |
AuthorityGroupManager.getAuthorityGroupsChunk(AuthorityGroup[] rval,
java.util.Map returnIndex,
java.util.ArrayList params)
Read a chunk of authority groups.
|
protected AuthorityGroup[] |
AuthorityGroupManager.getAuthorityGroupsMultiple(java.lang.String[] groupNames)
Fetch multiple authority groups at a single time.
|
void |
AuthorityGroupManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
AuthorityGroupManager.install()
Install the manager.
|
IAuthorityGroup |
AuthorityGroupManager.load(java.lang.String name)
Load an authority group by name.
|
IAuthorityGroup[] |
AuthorityGroupManager.loadMultiple(java.lang.String[] names)
Load multiple authority groups by name.
|
boolean |
AuthorityGroupManager.save(IAuthorityGroup object)
Save an authority group object.
|
| Constructor and Description |
|---|
AuthorityGroupManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
BaseAuthorityConnector.getAccessTokens(java.lang.String userName)
Obtain the access tokens for a given user name.
|
AuthorizationResponse |
BaseAuthorityConnector.getAuthorizationResponse(java.lang.String userName)
Obtain the access tokens for a given user name.
|
| Modifier and Type | Method and Description |
|---|---|
IAuthorityConnection |
AuthorityConnectionManager.create()
Create a new repository connection object.
|
java.lang.Object[] |
AuthorityConnectionManager.AuthorityConnectionExecutor.create(ICacheDescription[] objectDescriptions)
Create a set of new objects to operate on and cache.
|
void |
AuthorityConnectionManager.deinstall()
Uninstall the manager.
|
void |
AuthorityConnectionManager.delete(java.lang.String name)
Delete an authority connection.
|
void |
AuthorityConnectionManager.AuthorityConnectionExecutor.execute()
Perform the desired operation.
|
void |
AuthorityConnectionManager.AuthorityConnectionExecutor.exists(ICacheDescription objectDescription,
java.lang.Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
AuthorityConnectionManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
IAuthorityConnection[] |
AuthorityConnectionManager.getAllConnections()
Obtain a list of the authority connections, ordered by name.
|
protected void |
AuthorityConnectionManager.getAuthorityConnectionsChunk(AuthorityConnection[] rval,
java.util.Map returnIndex,
java.util.ArrayList params)
Read a chunk of authority connections.
|
protected AuthorityConnection[] |
AuthorityConnectionManager.getAuthorityConnectionsMultiple(java.lang.String[] connectionNames)
Fetch multiple repository connections at a single time.
|
IAuthorityConnection[] |
AuthorityConnectionManager.getDomainConnections(java.lang.String authDomain)
Obtain a list of the authority connections which correspond to an auth domain.
|
void |
AuthorityConnectionManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
AuthorityConnectionManager.install()
Install the manager.
|
boolean |
AuthorityConnectionManager.isGroupReferenced(java.lang.String groupName)
Return true if the specified authority group name is referenced.
|
boolean |
AuthorityConnectionManager.isMappingReferenced(java.lang.String mappingName)
Return true if the specified mapping name is referenced.
|
IAuthorityConnection |
AuthorityConnectionManager.load(java.lang.String name)
Load a repository connection by name.
|
IAuthorityConnection[] |
AuthorityConnectionManager.loadMultiple(java.lang.String[] names)
Load multiple repository connections by name.
|
protected int |
AuthorityConnectionManager.loadMultipleInternal(IAuthorityConnection[] rval,
int outputIndex,
java.lang.String[] fetchNames,
int inputIndex,
int length) |
boolean |
AuthorityConnectionManager.save(IAuthorityConnection object)
Save a repository connection object.
|
| Constructor and Description |
|---|
AuthorityConnectionManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthorityConnectorPool.closeAllConnectors()
Clean up all open authority connector handles.
|
void |
AuthorityConnectorPool.flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
IAuthorityConnector |
AuthorityConnectorPool.grab(IAuthorityConnection authorityConnection)
Get an authority connector.
|
IAuthorityConnector[] |
AuthorityConnectorPool.LocalPool.grabMultiple(IThreadContext tc,
java.lang.String[] orderingKeys,
java.lang.String[] connectionNames,
java.lang.String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes) |
IAuthorityConnector[] |
AuthorityConnectorPool.grabMultiple(java.lang.String[] orderingKeys,
IAuthorityConnection[] authorityConnections)
Get multiple authority connectors, all at once.
|
protected boolean |
AuthorityConnectorPool.LocalPool.isConnectionNameValid(IThreadContext tc,
java.lang.String connectionName) |
protected boolean |
AuthorityConnectorPool.LocalPool.isInstalled(IThreadContext tc,
java.lang.String className) |
void |
AuthorityConnectorPool.pollAllConnectors()
Idle notification for inactive authority connector handles.
|
void |
AuthorityConnectorPool.release(IAuthorityConnection connection,
IAuthorityConnector connector)
Release an output connector.
|
void |
AuthorityConnectorPool.releaseMultiple(IAuthorityConnection[] connections,
IAuthorityConnector[] connectors)
Release multiple authority connectors.
|
| Constructor and Description |
|---|
AuthorityConnectorPool(IThreadContext threadContext)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
IAuthorityConnectorPool.closeAllConnectors()
Clean up all open authority connector handles.
|
void |
IMappingConnectorPool.closeAllConnectors()
Clean up all open mapping connector handles.
|
IAuthorityConnection |
IAuthorityConnectionManager.create()
Create a new authority connection object.
|
IAuthorityGroup |
IAuthorityGroupManager.create()
Create a new authority group object.
|
IMappingConnection |
IMappingConnectionManager.create()
Create a new mapping connection object.
|
void |
IAuthorityConnectionManager.deinstall()
Uninstall the manager.
|
void |
IAuthorityConnectorManager.deinstall()
Uninstall.
|
void |
IAuthorityGroupManager.deinstall()
Uninstall the manager.
|
void |
IAuthorizationDomainManager.deinstall()
Uninstall.
|
void |
IMappingConnectionManager.deinstall()
Uninstall the manager.
|
void |
IMappingConnectorManager.deinstall()
Uninstall.
|
static void |
AuthorityConnectorFactory.deinstall(IThreadContext threadContext,
java.lang.String className)
Uninstall connector.
|
static void |
MappingConnectorFactory.deinstall(IThreadContext threadContext,
java.lang.String className)
Uninstall connector.
|
void |
IAuthorityConnectionManager.delete(java.lang.String name)
Delete an authority connection.
|
void |
IAuthorityGroupManager.delete(java.lang.String name)
Delete an authority group.
|
void |
IMappingConnectionManager.delete(java.lang.String name)
Delete an mapping connection.
|
void |
IAuthorityConnectionManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
void |
IAuthorityGroupManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
void |
IMappingConnectionManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
void |
IAuthorityConnectorPool.flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
void |
IMappingConnectorPool.flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
IAuthorityConnection[] |
IAuthorityConnectionManager.getAllConnections()
Obtain a list of the authority connections, ordered by name.
|
IMappingConnection[] |
IMappingConnectionManager.getAllConnections()
Obtain a list of the mapping connections, ordered by name.
|
IAuthorityGroup[] |
IAuthorityGroupManager.getAllGroups()
Obtain a list of the authority groups, ordered by name.
|
IMappingConnection[] |
IMappingConnectionManager.getAllNonLoopingConnections(java.lang.String startingConnectionName)
Obtain a list of the mapping connections, ordered by name,
excluding those that would form a prerequisite loop if chosen.
|
AuthorizationResponse |
IAuthorityConnector.getAuthorizationResponse(java.lang.String userName)
Obtain the access tokens for a given Active Directory user name.
|
static IAuthorityConnector |
AuthorityConnectorFactory.getConnectorNoCheck(java.lang.String className)
Get a repository connector instance, but do NOT check if class is installed first!
|
static IMappingConnector |
MappingConnectorFactory.getConnectorNoCheck(java.lang.String className)
Get a mapping connector instance, but do NOT check if class is installed first!
|
IResultSet |
IAuthorityConnectorManager.getConnectors()
Get ordered list of connectors.
|
IResultSet |
IMappingConnectorManager.getConnectors()
Get ordered list of connectors.
|
static AuthorizationResponse |
AuthorityConnectorFactory.getDefaultAuthorizationResponse(IThreadContext threadContext,
java.lang.String className,
java.lang.String userName)
Get the default response from a connector.
|
java.lang.String |
IAuthorityConnectorManager.getDescription(java.lang.String className)
Get a description given a class name.
|
java.lang.String |
IAuthorizationDomainManager.getDescription(java.lang.String domainName)
Get a description given a domain name.
|
java.lang.String |
IMappingConnectorManager.getDescription(java.lang.String className)
Get a description given a class name.
|
IAuthorityConnection[] |
IAuthorityConnectionManager.getDomainConnections(java.lang.String authDomain)
Obtain a list of the authority connections which correspond to an auth domain.
|
IResultSet |
IAuthorizationDomainManager.getDomains()
Get ordered list of domains.
|
AuthorizationResponse |
AuthorityConnectorFactory.getThisDefaultAuthorizationResponse(IThreadContext threadContext,
java.lang.String className,
java.lang.String userName)
Get the default response from a connector.
|
IAuthorityConnector |
IAuthorityConnectorPool.grab(IAuthorityConnection authorityConnection)
Get an authority connector.
|
IMappingConnector |
IMappingConnectorPool.grab(IMappingConnection mappingConnection)
Get a mapping connector.
|
IAuthorityConnector[] |
IAuthorityConnectorPool.grabMultiple(java.lang.String[] orderingKeys,
IAuthorityConnection[] authorityConnections)
Get multiple authority connectors, all at once.
|
IMappingConnector[] |
IMappingConnectorPool.grabMultiple(java.lang.String[] orderingKeys,
IMappingConnection[] mappingConnections)
Get multiple mapping connectors, all at once.
|
void |
IAuthorityConnectionManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
IAuthorityGroupManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
IMappingConnectionManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
IAuthorityConnectionManager.install()
Install the manager.
|
void |
IAuthorityConnectorManager.install()
Install.
|
void |
IAuthorityGroupManager.install()
Install the manager.
|
void |
IAuthorizationDomainManager.install()
Install.
|
void |
IMappingConnectionManager.install()
Install the manager.
|
void |
IMappingConnectorManager.install()
Install.
|
static void |
AuthorityConnectorFactory.install(IThreadContext threadContext,
java.lang.String className)
Install connector.
|
static void |
MappingConnectorFactory.install(IThreadContext threadContext,
java.lang.String className)
Install connector.
|
boolean |
IAuthorityConnectionManager.isGroupReferenced(java.lang.String authorityGroup)
Return true if the specified authority group name is referenced.
|
protected boolean |
AuthorityConnectorFactory.isInstalled(IThreadContext tc,
java.lang.String className) |
protected boolean |
MappingConnectorFactory.isInstalled(IThreadContext tc,
java.lang.String className) |
boolean |
IAuthorityConnectorManager.isInstalled(java.lang.String className)
Check if a particular connector is installed or not.
|
boolean |
IMappingConnectorManager.isInstalled(java.lang.String className)
Check if a particular connector is installed or not.
|
boolean |
IAuthorityConnectionManager.isMappingReferenced(java.lang.String mappingName)
Return true if the specified mapping name is referenced.
|
IAuthorityConnection |
IAuthorityConnectionManager.load(java.lang.String name)
Load a authority connection by name.
|
IAuthorityGroup |
IAuthorityGroupManager.load(java.lang.String name)
Load a authority group by name.
|
IMappingConnection |
IMappingConnectionManager.load(java.lang.String name)
Load a mapping connection by name.
|
IAuthorityConnection[] |
IAuthorityConnectionManager.loadMultiple(java.lang.String[] names)
Load multiple repository connections by name.
|
IAuthorityGroup[] |
IAuthorityGroupManager.loadMultiple(java.lang.String[] names)
Load multiple authority groups by name.
|
IMappingConnection[] |
IMappingConnectionManager.loadMultiple(java.lang.String[] names)
Load multiple mapping connections by name.
|
static IAuthorityConnectionManager |
AuthorityConnectionManagerFactory.make(IThreadContext tc)
Make an authority connection manager handle.
|
static IAuthorityConnectorManager |
AuthorityConnectorManagerFactory.make(IThreadContext tc)
Construct a connector manager.
|
static IAuthorityConnectorPool |
AuthorityConnectorPoolFactory.make(IThreadContext tc)
Make an output connector pool handle.
|
static IAuthorityGroupManager |
AuthorityGroupManagerFactory.make(IThreadContext tc)
Make an authority connection manager handle.
|
static IAuthorizationDomainManager |
AuthorizationDomainManagerFactory.make(IThreadContext tc)
Construct a connector manager.
|
static IMappingConnectionManager |
MappingConnectionManagerFactory.make(IThreadContext tc)
Make an authority connection manager handle.
|
static IMappingConnectorManager |
MappingConnectorManagerFactory.make(IThreadContext tc)
Construct a connector manager.
|
static IMappingConnectorPool |
MappingConnectorPoolFactory.make(IThreadContext tc)
Make a mapping connector pool handle.
|
java.lang.String |
IMappingConnector.mapUser(java.lang.String userName)
Map an input user name to an output name.
|
static void |
AuthorityConnectorFactory.outputConfigurationBody(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.lang.String tabName)
Output the configuration body section.
|
static void |
MappingConnectorFactory.outputConfigurationBody(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.lang.String tabName)
Output the configuration body section.
|
static void |
AuthorityConnectorFactory.outputConfigurationHeader(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.util.ArrayList tabsArray)
Output the configuration header section.
|
static void |
MappingConnectorFactory.outputConfigurationHeader(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.util.ArrayList tabsArray)
Output the configuration header section.
|
void |
IAuthorityConnectorPool.pollAllConnectors()
Idle notification for inactive authority connector handles.
|
void |
IMappingConnectorPool.pollAllConnectors()
Idle notification for inactive mapping connector handles.
|
static java.lang.String |
AuthorityConnectorFactory.processConfigurationPost(IThreadContext threadContext,
java.lang.String className,
IPostParameters variableContext,
java.util.Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
static java.lang.String |
MappingConnectorFactory.processConfigurationPost(IThreadContext threadContext,
java.lang.String className,
IPostParameters variableContext,
java.util.Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
void |
IAuthorityConnectorManager.registerConnector(java.lang.String description,
java.lang.String className)
Register a new connector.
|
void |
IMappingConnectorManager.registerConnector(java.lang.String description,
java.lang.String className)
Register a new connector.
|
void |
IAuthorizationDomainManager.registerDomain(java.lang.String description,
java.lang.String domainName)
Register a new domain.
|
void |
IAuthorityConnectorPool.release(IAuthorityConnection connection,
IAuthorityConnector connector)
Release an authority connector.
|
void |
IMappingConnectorPool.release(IMappingConnection connection,
IMappingConnector connector)
Release a mapping connector.
|
void |
IAuthorityConnectorPool.releaseMultiple(IAuthorityConnection[] connections,
IAuthorityConnector[] connectors)
Release multiple authority connectors.
|
void |
IMappingConnectorPool.releaseMultiple(IMappingConnection[] connections,
IMappingConnector[] connectors)
Release multiple mapping connectors.
|
void |
IAuthorityConnectorManager.removeConnector(java.lang.String className)
Remove a connector.
|
void |
IMappingConnectorManager.removeConnector(java.lang.String className)
Remove a connector.
|
boolean |
IAuthorityConnectionManager.save(IAuthorityConnection object)
Save an authority connection object.
|
boolean |
IAuthorityGroupManager.save(IAuthorityGroup object)
Save an authority group object.
|
boolean |
IMappingConnectionManager.save(IMappingConnection object)
Save an mapping connection object.
|
void |
IAuthorityConnectorManager.unregisterConnector(java.lang.String className)
Unregister a connector.
|
void |
IMappingConnectorManager.unregisterConnector(java.lang.String className)
Unregister a connector.
|
void |
IAuthorizationDomainManager.unregisterDomain(java.lang.String domainName)
Unregister a domain.
|
static void |
AuthorityConnectorFactory.viewConfiguration(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams configParams)
View connector configuration.
|
static void |
MappingConnectorFactory.viewConfiguration(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams configParams)
View connector configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MappingConnectorManager.deinstall()
Uninstall.
|
IResultSet |
MappingConnectorManager.getConnectors()
Get ordered list of connectors.
|
java.lang.String |
MappingConnectorManager.getDescription(java.lang.String className)
Get a description given a class name.
|
void |
MappingConnectorManager.install()
Install or upgrade.
|
boolean |
MappingConnectorManager.isInstalled(java.lang.String className)
Check if a particular connector is installed or not.
|
void |
MappingConnectorManager.registerConnector(java.lang.String description,
java.lang.String className)
Register a new connector.
|
void |
MappingConnectorManager.removeConnector(java.lang.String className)
Remove a connector.
|
void |
MappingConnectorManager.unregisterConnector(java.lang.String className)
Unregister a connector.
|
| Constructor and Description |
|---|
MappingConnectorManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IMappingConnection |
MappingConnectionManager.create()
Create a new repository connection object.
|
java.lang.Object[] |
MappingConnectionManager.MappingConnectionExecutor.create(ICacheDescription[] objectDescriptions)
Create a set of new objects to operate on and cache.
|
void |
MappingConnectionManager.deinstall()
Uninstall the manager.
|
void |
MappingConnectionManager.delete(java.lang.String name)
Delete an authority connection.
|
void |
MappingConnectionManager.MappingConnectionExecutor.execute()
Perform the desired operation.
|
void |
MappingConnectionManager.MappingConnectionExecutor.exists(ICacheDescription objectDescription,
java.lang.Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
MappingConnectionManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
IMappingConnection[] |
MappingConnectionManager.getAllConnections()
Obtain a list of the repository connections, ordered by name.
|
IMappingConnection[] |
MappingConnectionManager.getAllNonLoopingConnections(java.lang.String startingConnectionName)
Obtain a list of the mapping connections, ordered by name,
excluding those that would form a prerequisite loop if chosen.
|
protected void |
MappingConnectionManager.getMappingConnectionsChunk(MappingConnection[] rval,
java.util.Map returnIndex,
java.util.ArrayList params)
Read a chunk of mapping connections.
|
protected MappingConnection[] |
MappingConnectionManager.getMappingConnectionsMultiple(java.lang.String[] connectionNames)
Fetch multiple mapping connections at a single time.
|
void |
MappingConnectionManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
MappingConnectionManager.install()
Install the manager.
|
protected boolean |
MappingConnectionManager.isReferenced(java.lang.String mappingName)
Return true if the specified mapping name is referenced.
|
IMappingConnection |
MappingConnectionManager.load(java.lang.String name)
Load a mapping connection by name.
|
IMappingConnection[] |
MappingConnectionManager.loadMultiple(java.lang.String[] names)
Load multiple mapping connections by name.
|
protected int |
MappingConnectionManager.loadMultipleInternal(IMappingConnection[] rval,
int outputIndex,
java.lang.String[] fetchNames,
int inputIndex,
int length) |
boolean |
MappingConnectionManager.save(IMappingConnection object)
Save a mapping connection object.
|
| Constructor and Description |
|---|
MappingConnectionManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MappingConnectorPool.closeAllConnectors()
Clean up all open mapping connector handles.
|
void |
MappingConnectorPool.flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
IMappingConnector |
MappingConnectorPool.grab(IMappingConnection mappingConnection)
Get a mapping connector.
|
IMappingConnector[] |
MappingConnectorPool.LocalPool.grabMultiple(IThreadContext tc,
java.lang.String[] orderingKeys,
java.lang.String[] connectionNames,
java.lang.String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes) |
IMappingConnector[] |
MappingConnectorPool.grabMultiple(java.lang.String[] orderingKeys,
IMappingConnection[] mappingConnections)
Get multiple mapping connectors, all at once.
|
protected boolean |
MappingConnectorPool.LocalPool.isConnectionNameValid(IThreadContext tc,
java.lang.String connectionName) |
protected boolean |
MappingConnectorPool.LocalPool.isInstalled(IThreadContext tc,
java.lang.String className) |
void |
MappingConnectorPool.pollAllConnectors()
Idle notification for inactive mapping connector handles.
|
void |
MappingConnectorPool.release(IMappingConnection connection,
IMappingConnector connector)
Release a mapping connector.
|
void |
MappingConnectorPool.releaseMultiple(IMappingConnection[] connections,
IMappingConnector[] connectors)
Release multiple mapping connectors.
|
| Constructor and Description |
|---|
MappingConnectorPool(IThreadContext threadContext)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ManifoldCF.deinstallSystemTables(IThreadContext threadcontext)
Uninstall all the authority manager system tables.
|
static void |
ManifoldCF.initializeEnvironment(IThreadContext tc)
Initialize environment.
|
static void |
ManifoldCF.installSystemTables(IThreadContext threadcontext)
Install all the authority manager system tables.
|
static void |
ManifoldCF.localInitialize(IThreadContext tc) |
static void |
ManifoldCF.startSystem(IThreadContext threadContext)
Start the authority system.
|
static void |
ManifoldCF.stopSystem(IThreadContext threadContext)
Shut down the authority system.
|
| Constructor and Description |
|---|
AuthCheckThread(java.lang.String id,
RequestQueue<AuthRequest> requestQueue)
Constructor.
|
IdleCleanupThread()
Constructor.
|
MappingThread(java.lang.String id,
RequestQueue<MappingRequest> requestQueue)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XMLFuzzyHierarchicalParseState.appendToCharacterBuffer(char thisChar) |
protected XMLParsingContext |
XMLParsingContext.beginTag(java.lang.String namespace,
java.lang.String localName,
java.lang.String qName,
java.util.Map<java.lang.String,java.lang.String> atts)
This method is meant to be extended by classes that extend this class.
|
protected XMLParsingContext |
XMLWriterParsingContext.beginTag(java.lang.String namespace,
java.lang.String localName,
java.lang.String qName,
java.util.Map<java.lang.String,java.lang.String> atts)
Start a child tag.
|
void |
XMLParsingContext.characters(java.lang.String contents)
Handle content of a tag
|
void |
XMLFuzzyHierarchicalParseState.cleanup()
Call this method to clean up completely after a parse attempt, whether successful or failure.
|
void |
XMLParsingContext.cleanup()
Cleanup this context object, and then recurse up the chain.
|
void |
XMLOutputStreamParsingContext.close()
Close the underlying stream.
|
boolean |
BOMEncodingDetector.dealWithByte(byte b)
Receive a byte.
|
abstract boolean |
SingleByteReceiver.dealWithByte(byte b)
Receive a byte.
|
abstract boolean |
ByteReceiver.dealWithBytes(java.io.InputStream is)
Read a byte stream and process bytes.
|
boolean |
DecodingByteReceiver.dealWithBytes(java.io.InputStream is)
Read a byte stream and process bytes.
|
boolean |
SingleByteReceiver.dealWithBytes(java.io.InputStream inputStream)
Read a byte stream and process bytes.
|
abstract boolean |
SingleCharacterReceiver.dealWithCharacter(char c)
Receive a byte.
|
boolean |
TagParseState.dealWithCharacter(char thisChar)
Deal with a character.
|
abstract boolean |
CharacterReceiver.dealWithCharacters(java.io.Reader reader)
Receive a stream of characters.
|
boolean |
SingleCharacterReceiver.dealWithCharacters(java.io.Reader reader)
Receive a stream of characters.
|
protected boolean |
BOMEncodingDetector.dealWithRemainder(byte[] buffer,
int offset,
int len,
java.io.InputStream inputStream)
Deal with the remainder of the input.
|
protected boolean |
SingleByteReceiver.dealWithRemainder(byte[] buffer,
int offset,
int len,
java.io.InputStream inputStream)
Deal with the remainder of the input.
|
protected boolean |
SingleCharacterReceiver.dealWithRemainder(char[] buffer,
int offset,
int len,
java.io.Reader reader)
Deal with the remainder of the input.
|
protected boolean |
TagParseState.dumpValues(java.lang.String value) |
void |
XMLParsingContext.endElement(java.lang.String namespace,
java.lang.String localName,
java.lang.String qName)
Handle the end of a tag
|
protected void |
XMLParsingContext.endTag()
This method is meant to be extended by classes that extend this class
|
protected void |
XMLWriterParsingContext.endTag()
End a child tag.
|
protected boolean |
BOMEncodingDetector.establishEncoding(java.lang.String encoding)
Establish the provided encoding, and send the rest to the child, if any.
|
void |
ByteReceiver.finishUp()
Finish up all processing.
|
void |
CharacterReceiver.finishUp()
Finish up all processing.
|
void |
DecodingByteReceiver.finishUp()
Finish up all processing.
|
void |
XMLFuzzyHierarchicalParseState.finishUp()
Called at the end of everything.
|
void |
XMLOutputStreamParsingContext.flush()
Flush the data to the underlying output stream
|
void |
XMLWriterParsingContext.flush()
Flush the data to the underlying output stream
|
protected void |
XMLFuzzyHierarchicalParseState.flushCharacterBuffer() |
java.io.File |
XMLFileParsingContext.getCompletedFile()
Get file object, flushing it, closing it, and clearing it.
|
protected boolean |
HTMLParseState.noteBTag(java.lang.String tagName)
This method is called for every <! <token> ...
|
protected boolean |
TagParseState.noteBTag(java.lang.String tagName)
This method is called for every <! <token> ...
|
protected boolean |
XMLEncodingDetector.noteBTag(java.lang.String tagName)
This method is called for every <! <token> ...
|
protected boolean |
XMLFuzzyParseState.noteBTag(java.lang.String tagName)
This method is called for every <! <token> ...
|
protected boolean |
XMLFuzzyParseState.noteBTagEx(java.lang.String tagName)
New version of the noteBTag method.
|
protected boolean |
HTMLParseState.noteBTagToken(java.lang.String token)
This method gets called for every token inside a btag.
|
protected boolean |
TagParseState.noteBTagToken(java.lang.String token)
This method gets called for every token inside a btag.
|
protected boolean |
XMLEncodingDetector.noteBTagToken(java.lang.String token)
This method gets called for every token inside a btag.
|
protected boolean |
XMLFuzzyParseState.noteBTagToken(java.lang.String token)
This method gets called for every token inside a btag.
|
protected boolean |
XMLFuzzyParseState.noteBTagTokenEx(java.lang.String token)
New version of the noteBTagToken method.
|
protected boolean |
HTMLParseState.noteEndBTag()
This method is called for the end of every btag, or any time
there's a naked '>' in the document.
|
protected boolean |
TagParseState.noteEndBTag()
This method is called for the end of every btag, or any time
there's a naked '>' in the document.
|
protected boolean |
XMLEncodingDetector.noteEndBTag()
This method is called for the end of every btag, or any time
there's a naked '>' in the document.
|
protected boolean |
HTMLParseState.noteEndEscaped()
Called for the end of every cdata-like tag.
|
protected boolean |
TagParseState.noteEndEscaped()
Called for the end of every cdata-like tag.
|
protected boolean |
XMLEncodingDetector.noteEndEscaped()
Called for the end of every cdata-like tag.
|
protected boolean |
XMLFuzzyHierarchicalParseState.noteEndEscaped()
Called for the end of every cdata-like tag.
|
protected boolean |
HTMLParseState.noteEndTag(java.lang.String tagName)
This method gets called for every end tag.
|
protected boolean |
TagParseState.noteEndTag(java.lang.String tagName)
This method gets called for every end tag.
|
protected boolean |
XMLEncodingDetector.noteEndTag(java.lang.String tagName)
This method gets called for every end tag.
|
protected boolean |
XMLFuzzyParseState.noteEndTag(java.lang.String tagName)
This method gets called for every end tag.
|
protected boolean |
XMLFuzzyHierarchicalParseState.noteEndTagEx(java.lang.String tagName,
java.lang.String nameSpace,
java.lang.String localName)
Note end tag.
|
protected boolean |
XMLFuzzyParseState.noteEndTagEx(java.lang.String tagName,
java.lang.String nameSpace,
java.lang.String localName)
Note end tag.
|
protected boolean |
HTMLParseState.noteEscaped(java.lang.String token)
Called for the start of every cdata-like tag, e.g.
|
protected boolean |
TagParseState.noteEscaped(java.lang.String token)
Called for the start of every cdata-like tag, e.g.
|
protected boolean |
XMLEncodingDetector.noteEscaped(java.lang.String token)
Called for the start of every cdata-like tag, e.g.
|
protected boolean |
XMLFuzzyParseState.noteEscaped(java.lang.String token)
Called for the start of every cdata-like tag, e.g.
|
protected boolean |
HTMLParseState.noteEscapedCharacter(char thisChar)
This method gets called for every character that is found within an
escape block, e.g.
|
protected boolean |
TagParseState.noteEscapedCharacter(char thisChar)
This method gets called for every character that is found within an
escape block, e.g.
|
protected boolean |
XMLEncodingDetector.noteEscapedCharacter(char thisChar)
This method gets called for every character that is found within an
escape block, e.g.
|
protected boolean |
XMLFuzzyHierarchicalParseState.noteEscapedCharacter(char thisChar)
This method gets called for every character that is found within an
escape block, e.g.
|
protected boolean |
XMLFuzzyHierarchicalParseState.noteEscapedEx(java.lang.String token)
New version of the noteEscapedTag method.
|
protected boolean |
XMLFuzzyParseState.noteEscapedEx(java.lang.String token)
New version of the noteEscapedTag method.
|
protected boolean |
TagParseState.noteNormalCharacter(char thisChar)
This method gets called for every character that is not part of a tag etc.
|
protected boolean |
XMLEncodingDetector.noteNormalCharacter(char thisChar)
This method gets called for every character that is not part of a tag etc.
|
protected boolean |
XMLFuzzyHierarchicalParseState.noteNormalCharacter(char thisChar)
This method gets called for every character that is not part of a tag etc.
|
protected boolean |
HTMLParseState.noteQTag(java.lang.String tagName,
java.util.List<AttrNameValue> attributes)
This method is called for every <? ...
|
protected boolean |
TagParseState.noteQTag(java.lang.String tagName,
java.util.List<AttrNameValue> attributes)
This method is called for every <? ...
|
protected boolean |
XMLFuzzyParseState.noteQTag(java.lang.String tagName,
java.util.List<AttrNameValue> attributes)
This method is called for every <? ...
|
protected boolean |
XMLParseState.noteQTag(java.lang.String tagName,
java.util.List<AttrNameValue> attributes)
This method is called for every <? ...
|
protected boolean |
XMLEncodingDetector.noteQTag(java.lang.String tagName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Map version of noteQTag method.
|
protected boolean |
XMLParseState.noteQTag(java.lang.String tagName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Map version of noteQTag method.
|
protected boolean |
XMLFuzzyParseState.noteQTagEx(java.lang.String tagName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Map version of the noteQTag method.
|
protected boolean |
HTMLParseState.noteTag(java.lang.String tagName,
java.util.List<AttrNameValue> attributes)
This method gets called for every tag.
|
protected boolean |
TagParseState.noteTag(java.lang.String tagName,
java.util.List<AttrNameValue> attributes)
This method gets called for every tag.
|
protected boolean |
XMLFuzzyParseState.noteTag(java.lang.String tagName,
java.util.List<AttrNameValue> attributes)
This method gets called for every tag.
|
protected boolean |
XMLParseState.noteTag(java.lang.String tagName,
java.util.List<AttrNameValue> attributes)
This method gets called for every tag.
|
protected boolean |
HTMLParseState.noteTag(java.lang.String tagName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Map version of the noteTag method.
|
protected boolean |
XMLEncodingDetector.noteTag(java.lang.String tagName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Map version of the noteTag method.
|
protected boolean |
XMLParseState.noteTag(java.lang.String tagName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Map version of the noteTag method.
|
protected boolean |
HTMLParseState.noteTagEnd(java.lang.String tagName)
Note end tag.
|
protected boolean |
XMLFuzzyHierarchicalParseState.noteTagEx(java.lang.String tagName,
java.lang.String nameSpace,
java.lang.String localName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Map version of the noteTag method.
|
protected boolean |
XMLFuzzyParseState.noteTagEx(java.lang.String tagName,
java.lang.String nameSpace,
java.lang.String localName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Map version of the noteTag method.
|
protected boolean |
TagParseState.outputAmpBuffer()
Interpret ampersand buffer.
|
void |
Parser.parseWithCharsetDetection(java.lang.String startingCharset,
java.io.InputStream inputStream,
CharacterReceiver characterReceiver)
Parse an input stream with character set detection.
|
void |
Parser.parseWithoutCharsetDetection(java.lang.String startingCharset,
java.io.InputStream inputStream,
CharacterReceiver characterReceiver)
Parse an input stream without character set detection.
|
protected boolean |
BOMEncodingDetector.playFromCurrentPoint()
Send stream from current point onward with the current encoding.
|
protected boolean |
BOMEncodingDetector.replay()
Establish NO encoding, and replay from the current saved point to the child, if any.
|
void |
XMLParsingContext.startElement(java.lang.String namespace,
java.lang.String localName,
java.lang.String qName,
java.util.Map<java.lang.String,java.lang.String> atts)
Handle the start of a tag
|
void |
XMLFileParsingContext.tagCleanup()
Cleanup whatever is left over
|
protected void |
XMLParsingContext.tagCleanup()
Override this method to be called during cleanup
|
protected void |
XMLParsingContext.tagContents(java.lang.String contents)
This method is meant to be extended by classes that extend this class
|
protected void |
XMLStringParsingContext.tagContents(java.lang.String value)
This method is meant to be extended by classes that extend this class
|
protected void |
XMLWriterParsingContext.tagContents(java.lang.String body)
This method is meant to be extended by classes that extend this class
|
| Constructor and Description |
|---|
XMLFileParsingContext(XMLFuzzyHierarchicalParseState theStream,
java.lang.String namespace,
java.lang.String localname,
java.lang.String qname,
java.util.Map<java.lang.String,java.lang.String> theseAttributes,
java.io.File f)
Full constructor.
|
XMLOutputStreamParsingContext(XMLFuzzyHierarchicalParseState theStream,
java.lang.String namespace,
java.lang.String localname,
java.lang.String qname,
java.util.Map<java.lang.String,java.lang.String> theseAttributes,
java.io.OutputStream os)
Full constructor.
|
XMLWriterParsingContext(XMLFuzzyHierarchicalParseState theStream,
java.lang.String namespace,
java.lang.String localname,
java.lang.String qname,
java.util.Map<java.lang.String,java.lang.String> theseAttributes,
java.io.Writer writer)
Full constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IKeystoreManager.addCertificate(java.lang.String alias,
java.security.cert.Certificate certificate)
Add a certificate to the keystore.
|
void |
IThrottleGroups.createOrUpdateThrottleGroup(java.lang.String throttleGroupType,
java.lang.String throttleGroup,
IThrottleSpec throttleSpec)
Create or update a throttle group.
|
void |
IThrottleGroups.destroy()
Shut down throttler permanently.
|
void |
ThrottleGroupsFactory.ThrottlerShutdown.doCleanup(IThreadContext threadContext) |
void |
ThrottleGroupsFactory.ThrottlerPoll.doPoll(IThreadContext threadContext) |
void |
IThrottleGroups.freeUnusedResources()
Free all unused resources.
|
java.security.cert.Certificate |
IKeystoreManager.getCertificate(java.lang.String alias)
Read a certificate from the keystore.
|
java.lang.String[] |
IKeystoreManager.getContents()
Grab a list of the aliases in the key store.
|
java.lang.String |
IKeystoreManager.getDescription(java.lang.String alias)
For an alias, get some descriptive information from the object in the keystore.
|
java.lang.String |
IKeystoreManager.getHashString()
Get a unique hashstring for this keystore.
|
java.lang.String |
IKeystoreManager.getString()
Convert to a base64 string.
|
java.util.Set<java.lang.String> |
IThrottleGroups.getThrottleGroups(java.lang.String throttleGroupType)
Get all existing throttle groups for a throttle group type.
|
static javax.net.ssl.SSLSocketFactory |
KeystoreManagerFactory.getTrustingSecureSocketFactory()
Build a secure socket factory that pays no attention to certificates in trust store, and just trusts everything.
|
javax.net.ssl.TrustManager[] |
IKeystoreManager.getTrustManagers()
Get the trust stores for this keystore manager.
|
void |
IKeystoreManager.importCertificate(java.lang.String alias,
java.io.InputStream certData)
Import a certificate or key into the list.
|
static IThrottleGroups |
ThrottleGroupsFactory.make(IThreadContext tc)
Make a connection throttle handle.
|
static IKeystoreManager |
KeystoreManagerFactory.make(java.lang.String passcode)
Mint a keystore manager.
|
static IKeystoreManager |
KeystoreManagerFactory.make(java.lang.String passcode,
java.lang.String base64String)
Mint a keystore manager from a base-64 encoded string.
|
IConnectionThrottler |
IThrottleGroups.obtainConnectionThrottler(java.lang.String throttleGroupType,
java.lang.String throttleGroup,
java.lang.String[] binNames)
Construct connection throttler for connections with specific bin names.
|
void |
IThrottleGroups.poll()
Poll periodically, to update ALL cluster-wide statistics and allocation.
|
void |
IThrottleGroups.poll(java.lang.String throttleGroupType)
Poll periodically, to update cluster-wide statistics and allocation.
|
void |
IKeystoreManager.remove(java.lang.String alias)
Remove a certificate.
|
void |
IThrottleGroups.removeThrottleGroup(java.lang.String throttleGroupType,
java.lang.String throttleGroup)
Remove a throttle group.
|
| Modifier and Type | Method and Description |
|---|---|
void |
KeystoreManager.addCertificate(java.lang.String alias,
java.security.cert.Certificate certificate)
Add a certificate to the keystore.
|
java.security.cert.Certificate |
KeystoreManager.getCertificate(java.lang.String alias)
Read a certificate from the keystore.
|
java.lang.String[] |
KeystoreManager.getContents()
Grab a list of the aliases in the key store.
|
java.lang.String |
KeystoreManager.getDescription(java.lang.String alias)
For an alias, get some descriptive information from the object in the keystore.
|
java.lang.String |
KeystoreManager.getHashString()
Get a unique hashstring for this keystore.
|
javax.net.ssl.SSLSocketFactory |
KeystoreManager.getSecureSocketFactory()
Build a secure socket factory based on this keystore.
|
javax.net.ssl.SSLSocketFactory |
TrustingSSLSocketFactoryProducer.getSecureSocketFactory()
Build a secure socket factory based on this producer.
|
java.lang.String |
KeystoreManager.getString()
Convert to a base64 string.
|
javax.net.ssl.TrustManager[] |
KeystoreManager.getTrustManagers()
Get the trust stores for this keystore manager.
|
void |
KeystoreManager.importCertificate(java.lang.String alias,
java.io.InputStream certData)
Import a certificate or key into the list.
|
void |
KeystoreManager.remove(java.lang.String alias)
Remove a certificate.
|
| Constructor and Description |
|---|
KeystoreManager(java.lang.String passcode)
Create the keystore object.
|
KeystoreManager(java.lang.String passcode,
java.lang.String base64String)
Create the keystore object from an existing base 64 string.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ConnectionBin.SumClass.acceptServiceData(java.lang.String serviceName,
byte[] serviceData) |
boolean |
FetchBin.SumClass.acceptServiceData(java.lang.String serviceName,
byte[] serviceData) |
boolean |
ThrottleBin.SumClass.acceptServiceData(java.lang.String serviceName,
byte[] serviceData) |
void |
Throttler.ThrottlingGroups.createOrUpdateThrottleGroup(IThreadContext threadContext,
java.lang.String throttleGroup,
IThrottleSpec throttleSpec)
Update throttle specification
|
void |
Throttler.createOrUpdateThrottleGroup(IThreadContext threadContext,
java.lang.String throttleGroupType,
java.lang.String throttleGroup,
IThrottleSpec throttleSpec)
Set or update throttle specification for a throttle group.
|
void |
ThrottleGroups.createOrUpdateThrottleGroup(java.lang.String throttleGroupType,
java.lang.String throttleGroup,
IThrottleSpec throttleSpec)
Set or update throttle specification for a throttle group.
|
void |
ThrottleGroups.destroy()
Shut down throttler permanently.
|
void |
Throttler.destroy(IThreadContext threadContext)
Shut down all throttlers and deregister them.
|
void |
Throttler.ThrottlingGroups.destroy(IThreadContext threadContext)
Destroy and shutdown all
|
void |
Throttler.ThrottlingGroup.destroy(IThreadContext threadContext)
Destroy this pool.
|
void |
ThrottleGroups.freeUnusedResources()
Free unused resources.
|
void |
Throttler.freeUnusedResources(IThreadContext threadContext)
Free unused resources.
|
void |
Throttler.ThrottlingGroups.freeUnusedResources(IThreadContext threadContext)
Free unused resources
|
void |
Throttler.ThrottlingGroup.freeUnusedResources(IThreadContext threadContext)
Free unused resources.
|
java.util.Set<java.lang.String> |
Throttler.getThrottleGroups(IThreadContext threadContext,
java.lang.String throttleGroupType)
Get all existing throttle groups for a throttle group type.
|
java.util.Set<java.lang.String> |
ThrottleGroups.getThrottleGroups(java.lang.String throttleGroupType)
Get all existing throttle groups for a throttle group type.
|
IConnectionThrottler |
Throttler.ThrottlingGroup.obtainConnectionThrottler(IThreadContext threadContext,
java.lang.String[] binNames)
Create a bunch of bins, corresponding to the bin names specified.
|
IConnectionThrottler |
Throttler.ThrottlingGroups.obtainConnectionThrottler(IThreadContext threadContext,
java.lang.String throttleGroup,
java.lang.String[] binNames)
Obtain connection throttler.
|
IConnectionThrottler |
Throttler.obtainConnectionThrottler(IThreadContext threadContext,
java.lang.String throttleGroupType,
java.lang.String throttleGroup,
java.lang.String[] binNames)
Construct connection throttler for connections with specific bin names.
|
IConnectionThrottler |
ThrottleGroups.obtainConnectionThrottler(java.lang.String throttleGroupType,
java.lang.String throttleGroup,
java.lang.String[] binNames)
Construct connection throttler for connections with specific bin names.
|
void |
ThrottleGroups.poll()
Poll periodically, to update ALL cluster-wide statistics and allocation.
|
void |
ConnectionBin.poll(IThreadContext threadContext)
Poll this bin
|
void |
FetchBin.poll(IThreadContext threadContext)
Poll this bin
|
void |
ThrottleBin.poll(IThreadContext threadContext)
Poll this bin
|
void |
Throttler.poll(IThreadContext threadContext)
Poll ALL bins periodically.
|
void |
Throttler.ThrottlingGroups.poll(IThreadContext threadContext)
Poll this set of throttle groups.
|
void |
Throttler.ThrottlingGroup.poll(IThreadContext threadContext)
Call this periodically.
|
void |
Throttler.poll(IThreadContext threadContext,
java.lang.String throttleGroupType)
Poll periodically.
|
void |
ThrottleGroups.poll(java.lang.String throttleGroupType)
Poll periodically, to update cluster-wide statistics and allocation.
|
void |
Throttler.ThrottlingGroups.removeThrottleGroup(IThreadContext threadContext,
java.lang.String throttleGroup)
Remove specified throttle group
|
void |
Throttler.removeThrottleGroup(IThreadContext threadContext,
java.lang.String throttleGroupType,
java.lang.String throttleGroup)
Remove a throttle group.
|
void |
ThrottleGroups.removeThrottleGroup(java.lang.String throttleGroupType,
java.lang.String throttleGroup)
Remove a throttle group.
|
void |
ConnectionBin.shutDown(IThreadContext threadContext)
Shut down the bin, and release everything that is waiting on it.
|
void |
FetchBin.shutDown(IThreadContext threadContext)
Shut the bin down, and wake up all threads waiting on it.
|
void |
ThrottleBin.shutDown(IThreadContext threadContext)
Shut down this bin.
|
void |
Throttler.ThrottlingGroup.updateThrottleSpecification(IThrottleSpec throttleSpec)
Update the throttle spec.
|
| Constructor and Description |
|---|
ConnectionBin(IThreadContext threadContext,
java.lang.String throttlingGroupName,
java.lang.String binName)
Constructor.
|
FetchBin(IThreadContext threadContext,
java.lang.String throttlingGroupName,
java.lang.String binName)
Constructor.
|
ThrottleBin(IThreadContext threadContext,
java.lang.String throttlingGroupName,
java.lang.String binName)
Constructor.
|
ThrottleGroups(IThreadContext threadContext)
Constructor
|
ThrottlingGroup(IThreadContext threadContext,
java.lang.String throttlingGroupType,
java.lang.String throttleGroup,
IThrottleSpec throttleSpec)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
DBCreate.doExecute(IThreadContext tc) |
protected void |
DBDrop.doExecute(IThreadContext tc) |
protected abstract void |
DBInitializationCommand.doExecute(IThreadContext tc) |
void |
DBInitializationCommand.execute() |
void |
InitializationCommand.execute()
Execute the command.
|
void |
LockClean.execute()
Execute the command.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultAuthenticator.checkCapability(java.lang.String userId,
int capability)
Check user capability
|
boolean |
LdapAuthenticator.checkCapability(java.lang.String userId,
int capability)
Check user capability
|
boolean |
DefaultAuthenticator.verifyAPILogin(java.lang.String userId,
java.lang.String password)
Verify API login
|
boolean |
LdapAuthenticator.verifyAPILogin(java.lang.String userId,
java.lang.String password) |
protected boolean |
LdapAuthenticator.verifyLogin(java.lang.String userId,
java.lang.String password) |
boolean |
DefaultAuthenticator.verifyUILogin(java.lang.String userId,
java.lang.String password)
Verify UI login
|
boolean |
LdapAuthenticator.verifyUILogin(java.lang.String userId,
java.lang.String password) |
| Constructor and Description |
|---|
DefaultAuthenticator(IThreadContext threadContext)
Constructor
|
LdapAuthenticator(IThreadContext threadContext)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheManager.commitTransaction(java.lang.String transactionID)
Commit a cache transaction.
|
ICacheHandle |
CacheManager.enterCache(ICacheDescription[] locateObjectDescriptions,
StringSet invalidateKeys,
java.lang.String transactionID)
Second way of doing cache management.
|
ICacheCreateHandle |
CacheManager.enterCreateSection(ICacheHandle handle)
Enter a creation critical section.
|
void |
CacheManager.expireObjects(long currentTimestamp)
Timed invalidation.
|
void |
CacheManager.findObjectsAndExecute(ICacheDescription[] locateObjectDescriptions,
StringSet invalidateKeys,
ICacheExecutor execObject,
java.lang.String transactionID)
Locate or create a set of objects in the cached object pool, and/or destroy and invalidate
the same or other objects.
|
StringSet |
CacheManager.CacheTransactionHandle.getRemainingWriteLocks(StringSet cacheKeys,
StringSet keys)
Come up with the set of write locks we still need to throw.
|
protected boolean |
CacheManager.hasExpired(java.lang.String key,
long createTime)
Check if object has expired (by looking at file system).
|
void |
CacheManager.invalidateKeys(ICacheHandle handle)
Invalidate keys.
|
void |
CacheManager.leaveCache(ICacheHandle handle)
Leave the cache.
|
void |
CacheManager.leaveCreateSection(ICacheCreateHandle handle)
Leave the create section.
|
java.lang.Object |
CacheManager.lookupObject(ICacheCreateHandle handle,
ICacheDescription objectDescription)
Lookup an object.
|
protected void |
CacheManager.performInvalidation(StringSet keys)
Perform an invalidation.
|
protected long |
CacheManager.readSharedData(java.lang.String key)
Read an invalidation file contents.
|
void |
CacheManager.rollbackTransaction(java.lang.String transactionID)
Roll back a cache transaction.
|
void |
CacheManager.saveObject(ICacheCreateHandle handle,
ICacheDescription objectDescription,
java.lang.Object object)
Save a newly created object.
|
void |
CacheManager.startTransaction(java.lang.String startingTransactionID,
java.lang.String enclosingTransactionID)
Begin a cache transaction.
|
protected void |
CacheManager.writeSharedData(java.lang.String key,
long value)
Write the invalidation file contents.
|
| Constructor and Description |
|---|
BaseDescription(java.lang.String objectClassName,
IThreadContext threadContext) |
CacheManager(IThreadContext context) |
LocalCacheClass(java.lang.String objectClassName,
IThreadContext threadContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Base64.decodeNextWord(java.io.Reader inputBuffer,
java.io.OutputStream outputBuffer)
Decode the next base64 character.
|
void |
Base64.decodeStream(java.io.Reader inputBuffer,
java.io.OutputStream outputBuffer)
Decode an entire stream.
|
byte[] |
Base64.decodeString(java.lang.String inputString)
Decode a string into a byte array.
|
java.lang.String |
Base64.encodeByteArray(byte[] inputByteArray)
Encode a byte array to a string.
|
boolean |
Base64.encodeNextWord(java.io.InputStream inputStream,
java.io.Writer outputWriter)
Encode a single word.
|
void |
Base64.encodeStream(java.io.InputStream inputStream,
java.io.Writer outputWriter)
Encode a full stream, to the end.
|
java.lang.String |
XMLDoc.getXML()
Serialize the document object to a safe string
|
java.lang.String |
XMLDoc.getXMLNoEntityPreamble()
Get XML with no entity preamble
|
byte[] |
XMLDoc.toByteArray()
Convert the response for transmit
|
| Constructor and Description |
|---|
LDAPSSLSocketFactory() |
XMLDoc()
Creates the empty doc
|
XMLDoc(java.io.InputStream is)
Build a document object tree from an input
stream
|
XMLDoc(java.lang.String data)
Construct a new document tree from a string form of
an xml document
|
XMLDoc(java.lang.StringBuilder data)
Construct a new document tree from a StringBuilder form of
an xml document
|
XMLDoc(XMLDoc oldDoc,
java.lang.Object parent)
Construct a document from all the children of an existing element object from another document.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
BaseConnector.check()
Test the connection.
|
void |
BaseConnector.deinstall(IThreadContext threadContext)
Uninstall the connector.
|
void |
BaseConnector.disconnect()
Close the connection.
|
void |
BaseConnector.install(IThreadContext threadContext)
Install the connector.
|
void |
BaseConnector.outputConfigurationBody(IThreadContext threadContext,
IHTTPOutput out,
ConfigParams parameters,
java.lang.String tabName)
Output the configuration body section.
|
void |
BaseConnector.outputConfigurationBody(IThreadContext threadContext,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.lang.String tabName)
Output the configuration body section.
|
void |
BaseConnector.outputConfigurationHeader(IThreadContext threadContext,
IHTTPOutput out,
ConfigParams parameters,
java.util.ArrayList<java.lang.Object> tabsArray) |
void |
BaseConnector.outputConfigurationHeader(IThreadContext threadContext,
IHTTPOutput out,
ConfigParams parameters,
java.util.List<java.lang.String> tabsArray)
Output the configuration header section.
|
void |
BaseConnector.outputConfigurationHeader(IThreadContext threadContext,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.util.List<java.lang.String> tabsArray)
Output the configuration header section.
|
void |
BaseConnector.poll()
This method is periodically called for all connectors that are connected but not
in active use.
|
java.lang.String |
BaseConnector.processConfigurationPost(IThreadContext threadContext,
IPostParameters variableContext,
ConfigParams parameters)
Process a configuration post.
|
java.lang.String |
BaseConnector.processConfigurationPost(IThreadContext threadContext,
IPostParameters variableContext,
java.util.Locale locale,
ConfigParams parameters)
Process a configuration post.
|
void |
BaseConnector.setThreadContext(IThreadContext threadContext)
Attach to a new thread.
|
void |
BaseConnector.viewConfiguration(IThreadContext threadContext,
IHTTPOutput out,
ConfigParams parameters)
View configuration.
|
void |
BaseConnector.viewConfiguration(IThreadContext threadContext,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters)
View configuration.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ConnectorPool.SumClass.acceptServiceData(java.lang.String serviceName,
byte[] serviceData) |
void |
ConnectorPool.closeAllConnectors(IThreadContext threadContext)
Clean up all open output connector handles.
|
protected T |
ConnectorPool.createConnectorInstance(IThreadContext threadContext,
java.lang.String className)
Get a connector instance.
|
void |
ConnectorPool.Pool.flushUnused(IThreadContext threadContext)
Flush unused connectors.
|
void |
ConnectorPool.flushUnusedConnectors(IThreadContext threadContext)
Flush only those connector handles that are currently unused.
|
T |
ConnectorPool.Pool.getConnector(IThreadContext threadContext,
java.lang.String className,
ConfigParams configParams)
Grab a connector.
|
T |
ConnectorPool.grab(IThreadContext threadContext,
java.lang.String connectionName,
java.lang.String className,
ConfigParams configInfo,
int maxPoolSize)
Get a connector.
|
T[] |
ConnectorPool.grabMultiple(IThreadContext threadContext,
java.lang.Class<T> clazz,
java.lang.String[] orderingKeys,
java.lang.String[] connectionNames,
java.lang.String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes)
Get multiple connectors, all at once.
|
protected abstract boolean |
ConnectorPool.isConnectionNameValid(IThreadContext tc,
java.lang.String connectionName)
Override this method to check if a connection name is still valid.
|
protected abstract boolean |
ConnectorPool.isInstalled(IThreadContext tc,
java.lang.String className)
Override this method to hook into a connector manager.
|
void |
ConnectorPool.Pool.pollAll(IThreadContext threadContext)
Notify all free connectors.
|
void |
ConnectorPool.pollAllConnectors(IThreadContext threadContext)
Idle notification for inactive output connector handles.
|
void |
ConnectorPool.release(IThreadContext threadContext,
java.lang.String connectionName,
T connector)
Release an output connector.
|
void |
ConnectorPool.Pool.releaseAll(IThreadContext threadContext)
Release all free connectors.
|
void |
ConnectorPool.Pool.releaseConnector(IThreadContext threadContext,
T connector)
Release a connector to the pool.
|
void |
ConnectorPool.releaseMultiple(IThreadContext threadContext,
java.lang.String[] connectionNames,
T[] connectors)
Release multiple output connectors.
|
void |
ConnectorPool.Pool.updateMaximumPoolSize(IThreadContext threadContext,
int maxPoolSize)
Update the maximum pool size.
|
| Constructor and Description |
|---|
Pool(IThreadContext threadContext,
int maxCount,
java.lang.String connectionName)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected ManifoldCFException |
DBInterfaceHSQLDB.reinterpretException(ManifoldCFException theException)
Reinterpret an exception tossed by the database layer.
|
protected ManifoldCFException |
DBInterfaceMySQL.reinterpretException(ManifoldCFException theException)
Reinterpret an exception tossed by the database layer.
|
protected ManifoldCFException |
DBInterfacePostgreSQL.reinterpretException(ManifoldCFException theException)
Reinterpret an exception tossed by the database layer.
|
| Modifier and Type | Method and Description |
|---|---|
protected ManifoldCFException |
DBInterfaceHSQLDB.reinterpretException(ManifoldCFException theException)
Reinterpret an exception tossed by the database layer.
|
protected ManifoldCFException |
DBInterfaceMySQL.reinterpretException(ManifoldCFException theException)
Reinterpret an exception tossed by the database layer.
|
protected ManifoldCFException |
DBInterfacePostgreSQL.reinterpretException(ManifoldCFException theException)
Reinterpret an exception tossed by the database layer.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseTable.addTableIndex(boolean unique,
java.util.List<java.lang.String> columnList)
Add an index to a table.
|
void |
DBInterfaceHSQLDB.addTableIndex(java.lang.String tableName,
boolean unique,
java.util.List<java.lang.String> columnList)
Add an index to a table.
|
void |
DBInterfaceMySQL.addTableIndex(java.lang.String tableName,
boolean unique,
java.util.List<java.lang.String> columnList)
Add an index to a table.
|
void |
DBInterfacePostgreSQL.addTableIndex(java.lang.String tableName,
boolean unique,
java.util.List<java.lang.String> columnList)
Add an index to a table.
|
protected void |
BaseTable.analyzeTable()
Analyze this table.
|
void |
DBInterfaceHSQLDB.analyzeTable(java.lang.String tableName)
Analyze a table.
|
void |
DBInterfaceMySQL.analyzeTable(java.lang.String tableName)
Analyze a table.
|
void |
DBInterfacePostgreSQL.analyzeTable(java.lang.String tableName)
Analyze a table.
|
protected void |
DBInterfaceMySQL.analyzeTableInternal(java.lang.String tableName) |
protected void |
DBInterfacePostgreSQL.analyzeTableInternal(java.lang.String tableName) |
protected void |
BaseTable.beginTransaction()
Begin a database transaction.
|
void |
DBInterfaceHSQLDB.beginTransaction()
Begin a database transaction.
|
void |
DBInterfaceMySQL.beginTransaction()
Begin a database transaction.
|
void |
DBInterfacePostgreSQL.beginTransaction()
Begin a database transaction.
|
void |
DBInterfaceHSQLDB.beginTransaction(int transactionType)
Begin a database transaction.
|
void |
DBInterfaceMySQL.beginTransaction(int transactionType)
Begin a database transaction.
|
void |
DBInterfacePostgreSQL.beginTransaction(int transactionType)
Begin a database transaction.
|
void |
Database.beginTransaction(int transactionType)
Begin a database transaction.
|
protected static void |
Database.cleanupParameters(java.util.List data)
Clean up parameters after query has been triggered.
|
void |
DBInterfaceHSQLDB.closeDatabase()
Uninitialize.
|
void |
DBInterfaceMySQL.closeDatabase()
Uninitialize.
|
void |
DBInterfacePostgreSQL.closeDatabase()
Uninitialize.
|
protected void |
DBInterfaceHSQLDB.commitCurrentTransaction()
Abstract method to commit a transaction
|
protected void |
DBInterfaceMySQL.commitCurrentTransaction()
Abstract method to commit a transaction
|
protected void |
DBInterfacePostgreSQL.commitCurrentTransaction()
Abstract method to commit a transaction
|
protected void |
Database.commitCurrentTransaction()
Abstract method to commit a transaction
|
java.lang.String |
DBInterfaceMySQL.constructIndexHintClause(java.lang.String tableName,
IndexDescription description)
Construct index hint clause.
|
java.lang.String |
Database.constructIndexHintClause(java.lang.String tableName,
IndexDescription description)
Construct index hint clause.
|
java.lang.Object[] |
Database.QueryCacheExecutor.create(ICacheDescription[] objectDescriptions)
Create a new object to operate on and cache.
|
ConnectionPoolManager |
ConnectionFactory.PoolManager.createPoolManager(boolean debug) |
void |
DBInterfaceHSQLDB.createUserAndDatabase(java.lang.String adminUserName,
java.lang.String adminPassword,
StringSet invalidateKeys)
Create user and database.
|
void |
DBInterfaceMySQL.createUserAndDatabase(java.lang.String adminUserName,
java.lang.String adminPassword,
StringSet invalidateKeys)
Create user and database.
|
void |
DBInterfacePostgreSQL.createUserAndDatabase(java.lang.String adminUserName,
java.lang.String adminPassword,
StringSet invalidateKeys)
Create user and database.
|
void |
DBInterfaceHSQLDB.dropUserAndDatabase(java.lang.String adminUserName,
java.lang.String adminPassword,
StringSet invalidateKeys)
Drop user and database.
|
void |
DBInterfaceMySQL.dropUserAndDatabase(java.lang.String adminUserName,
java.lang.String adminPassword,
StringSet invalidateKeys)
Drop user and database.
|
void |
DBInterfacePostgreSQL.dropUserAndDatabase(java.lang.String adminUserName,
java.lang.String adminPassword,
StringSet invalidateKeys)
Drop user and database.
|
protected void |
BaseTable.endTransaction()
End a database transaction, either performing a commit or a rollback (depending on whether
signalRollback() was called within the transaction).
|
void |
DBInterfaceHSQLDB.endTransaction()
End a database transaction, either performing a commit or a rollback (depending on whether
signalRollback() was called within the transaction).
|
void |
DBInterfaceMySQL.endTransaction()
End a database transaction, either performing a commit or a rollback (depending on whether
signalRollback() was called within the transaction).
|
void |
DBInterfacePostgreSQL.endTransaction()
End a database transaction, either performing a commit or a rollback (depending on whether
signalRollback() was called within the transaction).
|
void |
Database.endTransaction()
End a database transaction, either performing a commit or a rollback (depending on whether
signalRollback() was called within the transaction).
|
void |
Database.QueryCacheExecutor.execute()
Perform the desired operation.
|
protected IResultSet |
Database.execute(java.sql.Connection connection,
java.lang.String query,
java.util.List params,
boolean bResults,
int maxResults,
ResultSpecification spec,
ILimitChecker returnLimit)
Run a query.
|
IResultSet |
Database.executeQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
StringSet invalidateKeys,
java.lang.String queryClass,
boolean needResult,
int maxReturn,
ResultSpecification spec,
ILimitChecker returnLimits)
Execute arbitrary database query, and optionally cache the result.
|
protected IResultSet |
Database.executeUncachedQuery(java.lang.String query,
java.util.List params,
boolean bResults,
int maxResults,
ResultSpecification spec,
ILimitChecker returnLimit)
This method does NOT appear in any interface; it is here to
service the cache object.
|
protected IResultSet |
Database.executeViaThread(java.sql.Connection connection,
java.lang.String query,
java.util.List params,
boolean bResults,
int maxResults,
ResultSpecification spec,
ILimitChecker returnLimit)
Do query execution via a subthread, so the primary thread can be interrupted
|
void |
Database.QueryCacheExecutor.exists(ICacheDescription objectDescription,
java.lang.Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
protected void |
DBInterfaceHSQLDB.explainQuery(java.lang.String query,
java.util.List params)
Abstract method for explaining a query
|
protected void |
DBInterfacePostgreSQL.explainQuery(java.lang.String query,
java.util.List params)
Abstract method for explaining a query
|
protected void |
Database.explainQuery(java.lang.String query,
java.util.List params)
Abstract method for explaining a query
|
protected int |
Database.findColumn(java.sql.ResultSet rs,
java.lang.String name) |
IResultSet |
Database.ExecuteQueryThread.finishUp() |
StringSet |
DBInterfaceHSQLDB.getAllTables(StringSet cacheKeys,
java.lang.String queryClass)
Get a database's tables.
|
StringSet |
DBInterfaceMySQL.getAllTables(StringSet cacheKeys,
java.lang.String queryClass)
Get a database's tables.
|
StringSet |
DBInterfacePostgreSQL.getAllTables(StringSet cacheKeys,
java.lang.String queryClass)
Get a database's tables.
|
protected java.sql.Blob |
Database.getBLOB(java.sql.ResultSet rs,
int col) |
static WrappedConnection |
ConnectionFactory.getConnection(java.lang.String jdbcUrl,
java.lang.String jdbcDriver,
java.lang.String database,
java.lang.String userName,
java.lang.String password,
int maxDBConnections,
boolean debug) |
protected IResultSet |
Database.getData(java.sql.ResultSet rs,
boolean bResults,
int maxResults,
ResultSpecification spec,
ILimitChecker returnLimit) |
protected static java.lang.String |
DBInterfaceHSQLDB.getDatabaseString(IThreadContext tc,
java.lang.String databaseName) |
protected static java.lang.String |
DBInterfaceHSQLDB.getFullDatabasePath(java.lang.String databaseName) |
protected static java.lang.String |
DBInterfaceHSQLDB.getJDBCString(IThreadContext tc,
java.lang.String databaseName) |
protected java.lang.Object |
Database.getObject(java.sql.ResultSet rs,
java.sql.ResultSetMetaData rsmd,
int col,
int desiredForm) |
protected java.util.Map |
BaseTable.getTableIndexes(StringSet invalidateKeys,
java.lang.String queryClass)
Get a table's indexes.
|
java.util.Map<java.lang.String,IndexDescription> |
DBInterfaceHSQLDB.getTableIndexes(java.lang.String tableName,
StringSet cacheKeys,
java.lang.String queryClass)
Get a table's indexes.
|
java.util.Map<java.lang.String,IndexDescription> |
DBInterfaceMySQL.getTableIndexes(java.lang.String tableName,
StringSet cacheKeys,
java.lang.String queryClass)
Get a table's indexes.
|
java.util.Map<java.lang.String,IndexDescription> |
DBInterfacePostgreSQL.getTableIndexes(java.lang.String tableName,
StringSet cacheKeys,
java.lang.String queryClass)
Get a table's indexes.
|
protected java.util.Map |
BaseTable.getTableSchema(StringSet invalidateKeys,
java.lang.String queryClass)
Get the current table schema.
|
java.util.Map<java.lang.String,ColumnDescription> |
DBInterfaceHSQLDB.getTableSchema(java.lang.String tableName,
StringSet cacheKeys,
java.lang.String queryClass)
Get a table's schema.
|
java.util.Map<java.lang.String,ColumnDescription> |
DBInterfaceMySQL.getTableSchema(java.lang.String tableName,
StringSet cacheKeys,
java.lang.String queryClass)
Get a table's schema.
|
java.util.Map<java.lang.String,ColumnDescription> |
DBInterfacePostgreSQL.getTableSchema(java.lang.String tableName,
StringSet cacheKeys,
java.lang.String queryClass)
Get a table's schema.
|
protected void |
DBInterfaceHSQLDB.initializeConnection(java.sql.Connection connection)
Initialize the connection (for HSQLDB).
|
protected void |
Database.initializeConnection(java.sql.Connection connection)
Initialize the connection (for HSQLDB).
|
protected void |
Database.internalTransactionBegin()
Perform actual transaction begin.
|
protected boolean |
Database.isBinary(java.sql.ResultSetMetaData rsmd,
int col) |
protected boolean |
Database.isBLOB(java.sql.ResultSetMetaData rsmd,
int col) |
protected static void |
Database.loadPS(java.sql.PreparedStatement ps,
java.util.List data) |
void |
BaseTable.noteModifications(int insertCount,
int modifyCount,
int deleteCount)
Note a number of inserts, modifications, or deletions to a specific table.
|
void |
Database.noteModifications(java.lang.String tableName,
int insertCount,
int modifyCount,
int deleteCount)
Note a number of inserts, modifications, or deletions to a specific table.
|
protected void |
DBInterfaceMySQL.noteModificationsNoTransactions(java.lang.String tableName,
int insertCount,
int modifyCount,
int deleteCount)
Note a number of inserts, modifications, or deletions to a specific table.
|
protected void |
DBInterfacePostgreSQL.noteModificationsNoTransactions(java.lang.String tableName,
int insertCount,
int modifyCount,
int deleteCount)
Note a number of inserts, modifications, or deletions to a specific table.
|
protected void |
Database.noteModificationsNoTransactions(java.lang.String tableName,
int insertCount,
int modifyCount,
int deleteCount)
Protected method for receiving information about inserts, modifications, or deletions OUTSIDE of all transactions.
|
void |
DBInterfaceHSQLDB.openDatabase()
Initialize.
|
void |
DBInterfaceMySQL.openDatabase()
Initialize.
|
void |
DBInterfacePostgreSQL.openDatabase()
Initialize.
|
protected void |
BaseTable.performAddIndex(java.lang.String indexName,
IndexDescription description)
Add an index to a table.
|
void |
DBInterfaceHSQLDB.performAddIndex(java.lang.String indexName,
java.lang.String tableName,
IndexDescription description)
Add an index to a table.
|
void |
DBInterfaceMySQL.performAddIndex(java.lang.String indexName,
java.lang.String tableName,
IndexDescription description)
Add an index to a table.
|
void |
DBInterfacePostgreSQL.performAddIndex(java.lang.String indexName,
java.lang.String tableName,
IndexDescription description)
Add an index to a table.
|
void |
BaseTable.performAlter(java.util.Map columnMap,
java.util.Map columnModifyMap,
java.util.List<java.lang.String> columnDeleteList,
StringSet invalidateKeys)
Perform a table alter operation.
|
void |
DBInterfaceHSQLDB.performAlter(java.lang.String tableName,
java.util.Map<java.lang.String,ColumnDescription> columnMap,
java.util.Map<java.lang.String,ColumnDescription> columnModifyMap,
java.util.List<java.lang.String> columnDeleteList,
StringSet invalidateKeys)
Perform a table alter operation.
|
void |
DBInterfaceMySQL.performAlter(java.lang.String tableName,
java.util.Map<java.lang.String,ColumnDescription> columnMap,
java.util.Map<java.lang.String,ColumnDescription> columnModifyMap,
java.util.List<java.lang.String> columnDeleteList,
StringSet invalidateKeys)
Perform a table alter operation.
|
void |
DBInterfacePostgreSQL.performAlter(java.lang.String tableName,
java.util.Map<java.lang.String,ColumnDescription> columnMap,
java.util.Map<java.lang.String,ColumnDescription> columnModifyMap,
java.util.List<java.lang.String> columnDeleteList,
StringSet invalidateKeys)
Perform a table alter operation.
|
void |
BaseTable.performCommit()
Perform the transaction commit.
|
void |
Database.performCommit()
Perform the transaction commit.
|
protected void |
BaseTable.performCreate(java.util.Map columnMap,
StringSet invalidateKeys)
Perform a table creation operation.
|
void |
DBInterfaceHSQLDB.performCreate(java.lang.String tableName,
java.util.Map<java.lang.String,ColumnDescription> columnMap,
StringSet invalidateKeys)
Perform a table creation operation.
|
void |
DBInterfaceMySQL.performCreate(java.lang.String tableName,
java.util.Map<java.lang.String,ColumnDescription> columnMap,
StringSet invalidateKeys)
Perform a table creation operation.
|
void |
DBInterfacePostgreSQL.performCreate(java.lang.String tableName,
java.util.Map<java.lang.String,ColumnDescription> columnMap,
StringSet invalidateKeys)
Perform a table creation operation.
|
protected void |
BaseTable.performDelete(java.lang.String whereClause,
java.util.List whereParameters,
StringSet invalidateKeys)
Perform a delete operation.
|
void |
DBInterfaceHSQLDB.performDelete(java.lang.String tableName,
java.lang.String whereClause,
java.util.List whereParameters,
StringSet invalidateKeys)
Perform a delete operation.
|
void |
DBInterfaceMySQL.performDelete(java.lang.String tableName,
java.lang.String whereClause,
java.util.List whereParameters,
StringSet invalidateKeys)
Perform a delete operation.
|
void |
DBInterfacePostgreSQL.performDelete(java.lang.String tableName,
java.lang.String whereClause,
java.util.List whereParameters,
StringSet invalidateKeys)
Perform a delete operation.
|
protected void |
BaseTable.performDrop(StringSet invalidateKeys)
Perform a table drop operation.
|
void |
DBInterfaceHSQLDB.performDrop(java.lang.String tableName,
StringSet invalidateKeys)
Perform a table drop operation.
|
void |
DBInterfaceMySQL.performDrop(java.lang.String tableName,
StringSet invalidateKeys)
Perform a table drop operation.
|
void |
DBInterfacePostgreSQL.performDrop(java.lang.String tableName,
StringSet invalidateKeys)
Perform a table drop operation.
|
protected void |
BaseTable.performInsert(java.util.Map parameterMap,
StringSet invalidateKeys)
Perform an insert operation.
|
void |
DBInterfaceHSQLDB.performInsert(java.lang.String tableName,
java.util.Map<java.lang.String,java.lang.Object> parameterMap,
StringSet invalidateKeys)
Perform an insert operation.
|
void |
DBInterfaceMySQL.performInsert(java.lang.String tableName,
java.util.Map<java.lang.String,java.lang.Object> parameterMap,
StringSet invalidateKeys)
Perform an insert operation.
|
void |
DBInterfacePostgreSQL.performInsert(java.lang.String tableName,
java.util.Map<java.lang.String,java.lang.Object> parameterMap,
StringSet invalidateKeys)
Perform an insert operation.
|
protected void |
BaseTable.performModification(java.lang.String query,
java.util.List params,
StringSet invalidateKeys)
Perform a general database modification query.
|
void |
DBInterfaceHSQLDB.performModification(java.lang.String query,
java.util.List params,
StringSet invalidateKeys)
Perform a general database modification query.
|
void |
DBInterfaceMySQL.performModification(java.lang.String query,
java.util.List params,
StringSet invalidateKeys)
Perform a general database modification query.
|
void |
DBInterfacePostgreSQL.performModification(java.lang.String query,
java.util.List params,
StringSet invalidateKeys)
Perform a general database modification query.
|
protected IResultSet |
BaseTable.performQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
java.lang.String queryClass)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfaceHSQLDB.performQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
java.lang.String queryClass)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfaceMySQL.performQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
java.lang.String queryClass)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfacePostgreSQL.performQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
java.lang.String queryClass)
Perform a general "data fetch" query.
|
protected IResultSet |
BaseTable.performQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
java.lang.String queryClass,
int resultLimit)
Perform a general "data fetch" query, with the ability to provide a limit.
|
IResultSet |
DBInterfaceHSQLDB.performQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
java.lang.String queryClass,
int maxResults,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfaceMySQL.performQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
java.lang.String queryClass,
int maxResults,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfacePostgreSQL.performQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
java.lang.String queryClass,
int maxResults,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfaceHSQLDB.performQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
java.lang.String queryClass,
int maxResults,
ResultSpecification resultSpec,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfaceMySQL.performQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
java.lang.String queryClass,
int maxResults,
ResultSpecification resultSpec,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfacePostgreSQL.performQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
java.lang.String queryClass,
int maxResults,
ResultSpecification resultSpec,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
void |
BaseTable.performRemoveIndex(java.lang.String indexName)
Remove an index.
|
void |
DBInterfaceHSQLDB.performRemoveIndex(java.lang.String indexName,
java.lang.String tableName)
Remove an index.
|
void |
DBInterfaceMySQL.performRemoveIndex(java.lang.String indexName,
java.lang.String tableName)
Remove an index.
|
void |
DBInterfacePostgreSQL.performRemoveIndex(java.lang.String indexName,
java.lang.String tableName)
Remove an index.
|
protected void |
BaseTable.performUpdate(java.util.Map parameterMap,
java.lang.String whereClause,
java.util.List whereParameters,
StringSet invalidateKeys)
Perform an update operation.
|
void |
DBInterfaceHSQLDB.performUpdate(java.lang.String tableName,
java.util.Map<java.lang.String,java.lang.Object> parameterMap,
java.lang.String whereClause,
java.util.List whereParameters,
StringSet invalidateKeys)
Perform an update operation.
|
void |
DBInterfaceMySQL.performUpdate(java.lang.String tableName,
java.util.Map<java.lang.String,java.lang.Object> parameterMap,
java.lang.String whereClause,
java.util.List whereParameters,
StringSet invalidateKeys)
Perform an update operation.
|
void |
DBInterfacePostgreSQL.performUpdate(java.lang.String tableName,
java.util.Map<java.lang.String,java.lang.Object> parameterMap,
java.lang.String whereClause,
java.util.List whereParameters,
StringSet invalidateKeys)
Perform an update operation.
|
void |
Database.prepareForDatabaseCreate()
Prepare database for database creation step.
|
protected int |
DBInterfaceMySQL.readDatum(java.lang.String datumName)
Read a datum, presuming zero if the datum does not exist.
|
protected int |
DBInterfacePostgreSQL.readDatum(java.lang.String datumName)
Read a datum, presuming zero if the datum does not exist.
|
protected void |
BaseTable.reindexTable()
Reindex this table.
|
void |
DBInterfaceHSQLDB.reindexTable(java.lang.String tableName)
Reindex a table.
|
void |
DBInterfaceMySQL.reindexTable(java.lang.String tableName)
Reindex a table.
|
void |
DBInterfacePostgreSQL.reindexTable(java.lang.String tableName)
Reindex a table.
|
protected void |
DBInterfacePostgreSQL.reindexTableInternal(java.lang.String tableName) |
static void |
ConnectionFactory.releaseConnection(WrappedConnection c) |
protected void |
DBInterfaceHSQLDB.rollbackCurrentTransaction()
Abstract method to roll back a transaction
|
protected void |
DBInterfaceMySQL.rollbackCurrentTransaction()
Abstract method to roll back a transaction
|
protected void |
DBInterfacePostgreSQL.rollbackCurrentTransaction()
Abstract method to roll back a transaction
|
protected void |
Database.rollbackCurrentTransaction()
Abstract method to roll back a transaction
|
protected void |
BaseTable.sleepFor(long amt)
Sleep for a specified amount, to resolve a deadlock
|
void |
Database.sleepFor(long amt)
Sleep, as part of recovery from deadlock.
|
protected void |
DBInterfaceHSQLDB.startATransaction()
Abstract method to start a transaction
|
protected void |
DBInterfaceMySQL.startATransaction()
Abstract method to start a transaction
|
protected void |
DBInterfacePostgreSQL.startATransaction()
Abstract method to start a transaction
|
protected void |
Database.startATransaction()
Abstract method to start a transaction
|
protected void |
Database.synchronizeTransactions()
Synchronize internal transactions.
|
protected void |
DBInterfaceMySQL.writeDatum(java.lang.String datumName,
int value)
Write a datum, presuming zero if the datum does not exist.
|
protected void |
DBInterfacePostgreSQL.writeDatum(java.lang.String datumName,
int value)
Write a datum, presuming zero if the datum does not exist.
|
| Constructor and Description |
|---|
Database(IThreadContext context,
java.lang.String jdbcUrl,
java.lang.String jdbcDriverClass,
java.lang.String databaseName,
java.lang.String userName,
java.lang.String password) |
DBInterfaceHSQLDB(IThreadContext tc,
java.lang.String databaseName,
java.lang.String userName,
java.lang.String password) |
DBInterfaceMariaDB(IThreadContext tc,
java.lang.String databaseName,
java.lang.String userName,
java.lang.String password) |
DBInterfaceMySQL(IThreadContext tc,
java.lang.String databaseName,
java.lang.String userName,
java.lang.String password) |
DBInterfaceMySQL(IThreadContext tc,
java.lang.String jdbcDriverClass,
java.lang.String databaseName,
java.lang.String userName,
java.lang.String password) |
DBInterfacePostgreSQL(IThreadContext tc,
java.lang.String databaseName,
java.lang.String userName,
java.lang.String password) |
TransactionHandle(IThreadContext tc,
TransactionHandle previousTransaction,
int transactionType) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.velocity.app.VelocityEngine |
Messages.createVelocityEngine(java.lang.Class classInstance)
Create and initialize a velocity engine instance, given a class.
|
static java.io.InputStream |
Messages.getResourceAsStream(java.lang.Class classInstance,
java.lang.String pathName,
java.util.Locale originalLocale,
java.lang.String resourceKey)
Read a resource as an input stream, given a class, path, locale, and resource key.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IServiceDataAcceptor.acceptServiceData(java.lang.String serviceName,
byte[] serviceData)
Accept service data.
|
void |
IDBInterface.addTableIndex(java.lang.String tableName,
boolean unique,
java.util.List<java.lang.String> columnList)
Add an index to a table.
|
void |
IDBInterface.analyzeTable(java.lang.String tableName)
Analyze a table.
|
void |
IDBInterface.beginTransaction()
Begin a database transaction.
|
void |
IDBInterface.beginTransaction(int transactionType)
Begin a database transaction.
|
protected abstract void |
CharacterInput.calculateHashValue()
Calculate the datum's hash value
|
protected void |
NullCharacterInput.calculateHashValue()
Calculate the datum's hash value
|
protected void |
TempFileCharacterInput.calculateHashValue()
Calculate the datum's hash value
|
protected abstract void |
BinaryInput.calculateLength() |
protected abstract void |
CharacterInput.calculateLength()
Calculate the datum's length in characters
|
protected void |
NullCharacterInput.calculateLength()
Calculate the datum's length in characters
|
protected void |
TempFileCharacterInput.calculateLength()
Calculate the datum's length in characters
|
protected void |
TempFileInput.calculateLength() |
java.lang.String |
IConnector.check()
Test the connection.
|
boolean |
IAuthorizer.checkAllowed(IThreadContext threadContext,
int capability)
Check user capability
|
boolean |
IAuth.checkCapability(java.lang.String userId,
int capability)
Check user capability
|
boolean |
ILimitChecker.checkContinue()
See if we should examine another row.
|
boolean |
ILockManager.checkGlobalFlag(java.lang.String flagName)
Check the condition of a specified flag.
|
boolean |
ILimitChecker.checkInclude(IResultRow row)
See if a result row should be included in the final result set.
|
boolean |
ILockManager.checkServiceActive(java.lang.String serviceType,
java.lang.String serviceName)
Check whether a service is active or not.
|
void |
IServiceCleanup.cleanUpAllServices()
Clean up after ALL services of the type on the cluster.
|
boolean |
ILockManager.cleanupInactiveService(java.lang.String serviceType,
IServiceCleanup cleanup)
Clean up any inactive services found.
|
void |
IServiceCleanup.cleanUpService(java.lang.String serviceName)
Clean up after the specified service.
|
void |
ILockManager.clearGlobalFlag(java.lang.String flagName)
Clear a flag.
|
void |
ILockManager.clearLocks()
Clear all outstanding locks in the system.
|
void |
IDBInterface.closeDatabase()
Uninitialize.
|
protected void |
BinaryInput.closeStream()
Close the stream
|
protected void |
CharacterInput.closeStream()
Close any open reader
|
protected void |
NullCharacterInput.closeStream()
Close any open reader
|
void |
IServiceCleanup.clusterInit()
Perform cluster initialization - that is, whatever is needed presuming that the
cluster has been down for an indeterminate period of time, but is otherwise in a clean
state.
|
void |
ICacheManager.commitTransaction(java.lang.String transactionID)
Commit a cache transaction.
|
java.lang.String |
IDBInterface.constructIndexHintClause(java.lang.String tableName,
IndexDescription description)
Construct index hint clause.
|
int |
ILockManager.countActiveServices(java.lang.String serviceType)
Count all active services of a given type.
|
java.lang.Object[] |
ICacheExecutor.create(ICacheDescription[] objectDescriptions)
Create a set of new objects to operate on and cache.
|
void |
IDBInterface.createUserAndDatabase(java.lang.String adminUserName,
java.lang.String adminPassword,
StringSet invalidateKeys)
Create user and database.
|
void |
IConnector.deinstall(IThreadContext threadContext)
Uninstall the connector.
|
protected void |
ConnectorFactory.deinstallThis(IThreadContext threadContext,
java.lang.String className)
Uninstall connector.
|
void |
BinaryInput.discard()
Discard the object
|
void |
CharacterInput.discard()
Discard this object permanently
|
void |
NullCharacterInput.discard()
Discard this object permanently
|
abstract void |
PersistentDatabaseObject.discard()
Discard this object permanently
|
void |
TempFileCharacterInput.discard() |
void |
TempFileInput.discard() |
void |
IConnector.disconnect()
Close the connection.
|
void |
IShutdownHook.doCleanup(IThreadContext threadContext)
Do the requisite cleanup.
|
void |
BinaryInput.doneWithStream()
Close the stream we passed to JDBC
|
void |
CharacterInput.doneWithStream() |
void |
NullCharacterInput.doneWithStream() |
abstract void |
PersistentDatabaseObject.doneWithStream()
Close any open streams, but do NOT remove the backing object.
|
void |
IPollingHook.doPoll(IThreadContext threadContext)
Do the requisite cleanup.
|
void |
IDBInterface.dropUserAndDatabase(java.lang.String adminUserName,
java.lang.String adminPassword,
StringSet invalidateKeys)
Drop user and database.
|
void |
ILockManager.endServiceActivity(java.lang.String serviceType,
java.lang.String serviceName)
End service activity.
|
void |
IDBInterface.endTransaction()
End a database transaction, either performing a commit or a rollback or nothing (depending on whether
signalRollback() was called within the transaction or performCommit() or none of the above).
|
ICacheHandle |
ICacheManager.enterCache(ICacheDescription[] locateObjectDescriptions,
StringSet invalidateKeys,
java.lang.String transactionID)
Second way of doing cache management.
|
ICacheCreateHandle |
ICacheManager.enterCreateSection(ICacheHandle handle)
Enter a creation critical section.
|
void |
ILockManager.enterCriticalSections(java.lang.String[] readSectionKeys,
java.lang.String[] nonExSectionKeys,
java.lang.String[] writeSectionKeys)
Enter multiple critical sections simultaneously.
|
void |
ILockManager.enterLocks(java.lang.String[] readLocks,
java.lang.String[] nonExWriteLocks,
java.lang.String[] writeLocks)
Enter multiple locks simultaneously.
|
void |
ILockManager.enterLocksNoWait(java.lang.String[] readLocks,
java.lang.String[] nonExWriteLocks,
java.lang.String[] writeLocks)
Enter multiple locks simultaneously.
|
void |
ILockManager.enterNonExWriteCriticalSection(java.lang.String sectionKey)
Enter a named, non-exclusive write critical section (NOT a lock).
|
void |
ILockManager.enterNonExWriteLock(java.lang.String lockKey)
Enter a non-exclusive write-locked area (blocking out all readers, but letting in other "writers").
|
void |
ILockManager.enterNonExWriteLockNoWait(java.lang.String lockKey)
Enter a non-exclusive write-locked area (blocking out all readers, but letting in other "writers").
|
void |
ILockManager.enterReadCriticalSection(java.lang.String sectionKey)
Enter a named, read critical section (NOT a lock).
|
void |
ILockManager.enterReadLock(java.lang.String lockKey)
Enter a read-only locked area (i.e., block ONLY if there's a writer).
|
void |
ILockManager.enterReadLockNoWait(java.lang.String lockKey)
Enter a read-only locked area (i.e., block ONLY if there's a writer).
|
void |
ILockManager.enterWriteCriticalSection(java.lang.String sectionKey)
Enter a named, exclusive write critical section (NOT a lock).
|
void |
ILockManager.enterWriteLock(java.lang.String lockKey)
Enter a write locked code area (i.e., block out both readers and other writers).
|
void |
ILockManager.enterWriteLockNoWait(java.lang.String lockKey)
Enter a write locked code area (i.e., block out both readers and other writers),
but do not wait if the lock cannot be obtained.
|
void |
ICacheExecutor.execute()
Perform the desired operation.
|
void |
ICacheExecutor.exists(ICacheDescription objectDescription,
java.lang.Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
ICacheManager.expireObjects(long currentTimestamp)
Timed invalidation.
|
void |
ICacheManager.findObjectsAndExecute(ICacheDescription[] locateObjectDescriptions,
StringSet invalidateKeys,
ICacheExecutor execObject,
java.lang.String transactionID)
Locate or create a set of objects in the cached object pool, and/or destroy and invalidate
the same or other objects.
|
void |
Configuration.fromJSON(java.lang.String json)
Read from JSON.
|
void |
Configuration.fromXML(java.io.InputStream xmlstream)
Read from an XML binary stream.
|
void |
ManifoldCFConfiguration.fromXML(java.io.InputStream is)
Read from an input stream.
|
void |
Configuration.fromXML(java.lang.String xml)
Read from XML.
|
StringSet |
IDBInterface.getAllTables(StringSet cacheKeys,
java.lang.String queryClass)
Get a database's tables.
|
BinaryInput |
IParameterActivity.getBinaryStream(java.lang.String name)
Get a file parameter, as a binary input stream.
|
static boolean |
LockManagerFactory.getBooleanProperty(IThreadContext tc,
java.lang.String s,
boolean defaultValue) |
boolean |
ManifoldCFConfiguration.getBooleanProperty(java.lang.String s,
boolean defaultValue)
Read a boolean property
|
long |
CharacterInput.getCharacterLength() |
long |
NullCharacterInput.getCharacterLength() |
static double |
LockManagerFactory.getDoubleProperty(IThreadContext tc,
java.lang.String s,
double defaultValue) |
double |
ManifoldCFConfiguration.getDoubleProperty(java.lang.String s,
double defaultValue)
Read a float property, either from the system properties, or from the local configuration file.
|
java.lang.String |
CharacterInput.getHashValue() |
java.lang.String |
NullCharacterInput.getHashValue() |
static int |
LockManagerFactory.getIntProperty(IThreadContext tc,
java.lang.String s,
int defaultValue) |
int |
ManifoldCFConfiguration.getIntProperty(java.lang.String s,
int defaultValue)
Read an integer property, either from the system properties, or from the local configuration file.
|
long |
BinaryInput.getLength()
Obtain the length to pass to JDBC
|
static long |
LockManagerFactory.getLongProperty(IThreadContext tc,
java.lang.String s,
long defaultValue) |
long |
ManifoldCFConfiguration.getLongProperty(java.lang.String s,
long defaultValue)
Read a long property, either from the system properties, or from the local configuration file.
|
static java.lang.String |
LockManagerFactory.getPossiblyObfuscatedStringProperty(IThreadContext tc,
java.lang.String s,
java.lang.String defaultValue) |
java.lang.String |
ManifoldCFConfiguration.getPossiblyObfuscatedStringProperty(java.lang.String s,
java.lang.String defaultValue)
Read a possibly obfuscated string property, either from the system properties, or from the local configuration file.
|
static java.lang.String |
LockManagerFactory.getProperty(IThreadContext tc,
java.lang.String s) |
javax.net.ssl.SSLSocketFactory |
ISSLSocketFactoryProducer.getSecureSocketFactory()
Build a secure socket factory based on this producer.
|
ManifoldCFConfiguration |
ILockManager.getSharedConfiguration()
Get the current shared configuration.
|
java.io.InputStream |
BinaryInput.getStream()
Obtain the stream to pass to JDBC
|
java.io.Reader |
CharacterInput.getStream() |
java.io.Reader |
NullCharacterInput.getStream() |
static java.lang.String |
LockManagerFactory.getStringProperty(IThreadContext tc,
java.lang.String s,
java.lang.String defaultValue) |
java.util.Map<java.lang.String,IndexDescription> |
IDBInterface.getTableIndexes(java.lang.String tableName,
StringSet cacheKeys,
java.lang.String queryClass)
Get a table's indexes.
|
java.util.Map<java.lang.String,ColumnDescription> |
IDBInterface.getTableSchema(java.lang.String tableName,
StringSet cacheKeys,
java.lang.String queryClass)
Get a table's schema.
|
protected T |
ConnectorFactory.getThisConnector(IThreadContext threadContext,
java.lang.String className)
Get a connector instance.
|
protected T |
ConnectorFactory.getThisConnectorNoCheck(java.lang.String className)
Get a connector instance, without checking for installed connector.
|
protected T |
ConnectorFactory.getThisConnectorRaw(java.lang.String className)
Instantiate a connector, but return null if the class is not found.
|
abstract java.io.InputStream |
CharacterInput.getUtf8Stream()
Open a Utf8 stream directly
|
java.io.InputStream |
NullCharacterInput.getUtf8Stream()
Open a Utf8 stream directly
|
java.io.InputStream |
TempFileCharacterInput.getUtf8Stream()
Open a Utf8 stream directly from the backing file
|
abstract long |
CharacterInput.getUtf8StreamLength()
Get binary UTF8 stream length directly
|
long |
NullCharacterInput.getUtf8StreamLength()
Get binary UTF8 stream length directly
|
long |
TempFileCharacterInput.getUtf8StreamLength()
Get binary UTF8 stream length directly
|
protected static void |
BinaryInput.handleIOException(java.io.IOException e,
java.lang.String context) |
protected static void |
CharacterInput.handleIOException(java.io.IOException e,
java.lang.String context) |
protected void |
Configuration.initializeFromDoc(XMLDoc doc) |
void |
IConnector.install(IThreadContext threadContext)
Install the connector.
|
protected void |
ConnectorFactory.installThis(IThreadContext threadContext,
java.lang.String className)
Install connector.
|
void |
ICacheManager.invalidateKeys(ICacheHandle handle)
Invalidate keys.
|
protected abstract boolean |
ConnectorFactory.isInstalled(IThreadContext tc,
java.lang.String className)
Override this method to hook into a connector manager.
|
void |
ICacheManager.leaveCache(ICacheHandle handle)
Leave the cache.
|
void |
ICacheManager.leaveCreateSection(ICacheCreateHandle handle)
Leave the create section.
|
void |
ILockManager.leaveCriticalSections(java.lang.String[] readSectionKeys,
java.lang.String[] nonExSectionKeys,
java.lang.String[] writeSectionKeys)
Leave multiple critical sections simultaneously.
|
void |
ILockManager.leaveLocks(java.lang.String[] readLocks,
java.lang.String[] nonExWriteLocks,
java.lang.String[] writeLocks)
Leave multiple locks.
|
void |
ILockManager.leaveNonExWriteCriticalSection(java.lang.String sectionKey)
Leave a named, non-exclusive write critical section (NOT a lock).
|
void |
ILockManager.leaveNonExWriteLock(java.lang.String lockKey)
Leave a non-exclusive write locked code area.
|
void |
ILockManager.leaveReadCriticalSection(java.lang.String sectionKey)
Leave a named, read critical section (NOT a lock).
|
void |
ILockManager.leaveReadLock(java.lang.String lockKey)
Leave a read-locked code area.
|
void |
ILockManager.leaveWriteCriticalSection(java.lang.String sectionKey)
Leave a named, exclusive write critical section (NOT a lock).
|
void |
ILockManager.leaveWriteLock(java.lang.String lockKey)
Leave a write locked code area.
|
java.lang.Object |
ICacheManager.lookupObject(ICacheCreateHandle handle,
ICacheDescription objectDescription)
Lookup an object.
|
static IAuth |
AuthFactory.make(IThreadContext context) |
static ICacheManager |
CacheManagerFactory.make(IThreadContext context)
Return a cache manager instance that any client can use to obtain cache management services.
|
static java.lang.String |
IDFactory.make(IThreadContext tc) |
static ILockManager |
LockManagerFactory.make(IThreadContext context)
Instantiate a lock manager.
|
static IDBInterface |
DBInterfaceFactory.make(IThreadContext context,
java.lang.String databaseName,
java.lang.String userName,
java.lang.String password) |
void |
IDBInterface.noteModifications(java.lang.String tableName,
int insertCount,
int modifyCount,
int deleteCount)
Note a number of inserts, modifications, or deletions to a specific table.
|
void |
IDBInterface.openDatabase()
Initialize.
|
protected abstract void |
BinaryInput.openStream() |
protected abstract void |
CharacterInput.openStream()
Open a reader, for use by a caller, until closeStream is called
|
protected void |
NullCharacterInput.openStream()
Open a reader, for use by a caller, until closeStream is called
|
protected void |
TempFileCharacterInput.openStream() |
protected void |
TempFileInput.openStream() |
void |
IConnector.outputConfigurationBody(IThreadContext threadContext,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.lang.String tabName)
Output the configuration body section.
|
void |
IConnector.outputConfigurationHeader(IThreadContext threadContext,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.util.List<java.lang.String> tabsArray)
Output the configuration header section.
|
protected void |
ConnectorFactory.outputThisConfigurationBody(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.lang.String tabName)
Output the configuration body section.
|
protected void |
ConnectorFactory.outputThisConfigurationHeader(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.util.ArrayList tabsArray)
Output the configuration header section.
|
protected void |
ManifoldCFConfiguration.parseProperties() |
void |
IDBInterface.performAddIndex(java.lang.String indexName,
java.lang.String tableName,
IndexDescription description)
Add an index to a table.
|
void |
IDBInterface.performAlter(java.lang.String tableName,
java.util.Map<java.lang.String,ColumnDescription> columnMap,
java.util.Map<java.lang.String,ColumnDescription> columnModifyMap,
java.util.List<java.lang.String> columnDeleteList,
StringSet invalidateKeys)
Perform a table alter operation.
|
void |
IDBInterface.performCommit()
Perform the transaction commit.
|
void |
IDBInterface.performCreate(java.lang.String tableName,
java.util.Map<java.lang.String,ColumnDescription> columnMap,
StringSet invalidateKeys)
Perform a table creation operation.
|
void |
IDBInterface.performDelete(java.lang.String tableName,
java.lang.String whereClause,
java.util.List whereParameters,
StringSet invalidateKeys)
Perform a delete operation.
|
void |
IDBInterface.performDrop(java.lang.String tableName,
StringSet invalidateKeys)
Perform a table drop operation.
|
void |
IDBInterface.performInsert(java.lang.String tableName,
java.util.Map<java.lang.String,java.lang.Object> parameterMap,
StringSet invalidateKeys)
Perform an insert operation.
|
void |
IDBInterface.performModification(java.lang.String query,
java.util.List params,
StringSet invalidateKeys)
Perform a general database modification query.
|
IResultSet |
IDBInterface.performQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
java.lang.String queryClass)
Perform a general "data fetch" query.
|
IResultSet |
IDBInterface.performQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
java.lang.String queryClass,
int maxResults,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
IResultSet |
IDBInterface.performQuery(java.lang.String query,
java.util.List params,
StringSet cacheKeys,
java.lang.String queryClass,
int maxResults,
ResultSpecification resultSpec,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
void |
IDBInterface.performRemoveIndex(java.lang.String indexName,
java.lang.String tableName)
Remove an index.
|
void |
IDBInterface.performUpdate(java.lang.String tableName,
java.util.Map<java.lang.String,java.lang.Object> parameterMap,
java.lang.String whereClause,
java.util.List whereParameters,
StringSet invalidateKeys)
Perform an update operation.
|
void |
IConnector.poll()
This method is periodically called for all connectors that are connected but not
in active use.
|
java.lang.String |
IConnector.processConfigurationPost(IThreadContext threadContext,
IPostParameters variableContext,
java.util.Locale locale,
ConfigParams parameters)
Process a configuration post.
|
protected void |
Configuration.processObject(ConfigurationNode cn,
java.lang.String key,
Configuration.JSONReader x)
Process a JSON object
|
protected void |
Configuration.processObject(java.lang.String key,
Configuration.JSONReader x)
Process a JSON object
|
protected java.lang.String |
ConnectorFactory.processThisConfigurationPost(IThreadContext threadContext,
java.lang.String className,
IPostParameters variableContext,
java.util.Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
byte[] |
ILockManager.readData(java.lang.String resourceName)
Read data from a shared data resource.
|
protected ConfigurationNode |
Configuration.readNode(java.lang.String key,
Configuration.JSONReader object)
Read a node from a json object
|
protected ConfigurationNode |
Configuration.readNode(XMLDoc doc,
java.lang.Object object)
Read a configuration node from XML.
|
java.lang.String |
ILockManager.registerServiceBeginServiceActivity(java.lang.String serviceType,
java.lang.String serviceName,
byte[] initialData,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
java.lang.String |
ILockManager.registerServiceBeginServiceActivity(java.lang.String serviceType,
java.lang.String serviceName,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
void |
IDBInterface.reindexTable(java.lang.String tableName)
Reindex a table.
|
byte[] |
ILockManager.retrieveServiceData(java.lang.String serviceType,
java.lang.String serviceName)
Retrieve service data for a service.
|
void |
ICacheManager.rollbackTransaction(java.lang.String transactionID)
Roll back a cache transaction.
|
void |
ICacheManager.saveObject(ICacheCreateHandle handle,
ICacheDescription objectDescription,
java.lang.Object object)
Save a newly created object.
|
void |
ILockManager.scanServiceData(java.lang.String serviceType,
IServiceDataAcceptor dataAcceptor)
Scan service data for a service type.
|
void |
ILockManager.setGlobalFlag(java.lang.String flagName)
Raise a flag.
|
void |
IConnector.setThreadContext(IThreadContext threadContext)
Attach to a new thread.
|
void |
IDBInterface.sleepFor(long time)
Sleep for a specified time, as part of backoff from deadlock.
|
void |
ICacheManager.startTransaction(java.lang.String startingTransactionID,
java.lang.String enclosingTransactionID)
Begin a cache transaction.
|
void |
ILockManager.timedWait(int time)
Wait for a time before retrying a lock.
|
java.lang.String |
Configuration.toJSON()
Get as JSON.
|
java.lang.String |
Configuration.toXML()
Get as XML
|
void |
ILockManager.updateServiceData(java.lang.String serviceType,
java.lang.String serviceName,
byte[] serviceData)
Set service data for a service.
|
boolean |
IAuth.verifyAPILogin(java.lang.String userId,
java.lang.String password)
Verify API login
|
boolean |
IAuth.verifyUILogin(java.lang.String userId,
java.lang.String password)
Verify UI login
|
void |
IConnector.viewConfiguration(IThreadContext threadContext,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters)
View configuration.
|
protected void |
ConnectorFactory.viewThisConfiguration(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams configParams)
View connector configuration.
|
void |
ILockManager.writeData(java.lang.String resourceName,
byte[] data)
Write data to a shared data resource.
|
protected static void |
Configuration.writeNode(Configuration.JSONWriter writer,
ConfigurationNode node,
boolean writeKey,
boolean writeSpecialKey)
Write a JSON specification node.
|
protected static void |
Configuration.writeNode(XMLDoc doc,
java.lang.Object parent,
ConfigurationNode node)
Write a specification node.
|
| Constructor and Description |
|---|
ConfigParams(java.io.InputStream xmlstream)
Construct from XML.
|
ConfigParams(java.lang.String xml)
Construct from XML.
|
JSONReader(java.lang.String json) |
ManifoldCFConfiguration(java.io.InputStream xmlStream)
Construct from XML.
|
Specification(java.lang.String xml)
Construct from XML.
|
TempFileCharacterInput(java.io.Reader is)
Construct from a non-length-delimited reader.
|
TempFileCharacterInput(java.io.Reader is,
long length)
Construct from a length-delimited reader.
|
TempFileCharacterInput(java.io.Reader is,
long length,
int maxInMemoryLength)
Construct from a length-delimited reader.
|
TempFileInput(java.io.InputStream is)
Construct from an input stream.
|
TempFileInput(java.io.InputStream is,
long length)
Construct from a length-delimited input stream.
|
TempFileInput(java.io.InputStream is,
long length,
int maxMemSize)
Construct from a length-delimited input stream.
|
| Constructor and Description |
|---|
ConnectionPoolManager(int count,
boolean debug) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BaseLockManager.checkGlobalFlag(java.lang.String flagName)
Check the condition of a specified flag.
|
boolean |
FileLockManager.checkGlobalFlag(java.lang.String flagName)
Check the condition of a specified flag.
|
boolean |
LockManager.checkGlobalFlag(java.lang.String flagName)
Check the condition of a specified flag.
|
boolean |
ZooKeeperConnection.checkGlobalFlag(java.lang.String flagPath) |
boolean |
ZooKeeperLockManager.checkGlobalFlag(java.lang.String flagName)
Check the condition of a specified flag.
|
boolean |
ZooKeeperConnection.checkNodeExists(java.lang.String nodePath)
Check whether a node exists.
|
boolean |
BaseLockManager.checkServiceActive(java.lang.String serviceType,
java.lang.String serviceName)
Check whether a service is active or not.
|
boolean |
LockManager.checkServiceActive(java.lang.String serviceType,
java.lang.String serviceName)
Check whether a service is active or not.
|
boolean |
ZooKeeperLockManager.checkServiceActive(java.lang.String serviceType,
java.lang.String serviceName)
Check whether a service is active or not.
|
boolean |
BaseLockManager.cleanupInactiveService(java.lang.String serviceType,
IServiceCleanup cleanup)
Clean up any inactive services found.
|
boolean |
LockManager.cleanupInactiveService(java.lang.String serviceType,
IServiceCleanup cleanup)
Clean up any inactive services found.
|
boolean |
ZooKeeperLockManager.cleanupInactiveService(java.lang.String serviceType,
IServiceCleanup cleanup)
Clean up any inactive services found.
|
protected static void |
BaseLockManager.clear(java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.clearGlobalFlag(java.lang.String flagName)
Clear a flag.
|
void |
FileLockManager.clearGlobalFlag(java.lang.String flagName)
Clear a flag.
|
void |
LockManager.clearGlobalFlag(java.lang.String flagName)
Clear a flag.
|
void |
ZooKeeperConnection.clearGlobalFlag(java.lang.String flagPath) |
void |
ZooKeeperLockManager.clearGlobalFlag(java.lang.String flagName)
Clear a flag.
|
protected void |
LockObject.clearGlobalNonExWriteLock() |
protected void |
FileLockObject.clearGlobalNonExWriteLockNoWait() |
protected void |
LockObject.clearGlobalNonExWriteLockNoWait() |
protected void |
ZooKeeperLockObject.clearGlobalNonExWriteLockNoWait() |
protected void |
LockObject.clearGlobalReadLock() |
protected void |
FileLockObject.clearGlobalReadLockNoWait() |
protected void |
LockObject.clearGlobalReadLockNoWait() |
protected void |
ZooKeeperLockObject.clearGlobalReadLockNoWait() |
protected void |
LockObject.clearGlobalWriteLock() |
protected void |
FileLockObject.clearGlobalWriteLockNoWait() |
protected void |
LockObject.clearGlobalWriteLockNoWait() |
protected void |
ZooKeeperLockObject.clearGlobalWriteLockNoWait() |
protected void |
ZooKeeperLockObject.clearLock() |
void |
BaseLockManager.clearLocks() |
void |
LockManager.clearLocks() |
protected java.lang.String |
BaseLockManager.constructUniqueServiceName(java.lang.String serviceType)
Construct a unique service name given the service type.
|
protected java.lang.String |
ZooKeeperLockManager.constructUniqueServiceName(ZooKeeperConnection connection,
java.lang.String serviceType)
Construct a unique service name given the service type.
|
int |
BaseLockManager.countActiveServices(java.lang.String serviceType)
Count all active services of a given type.
|
int |
LockManager.countActiveServices(java.lang.String serviceType)
Count all active services of a given type.
|
int |
ZooKeeperLockManager.countActiveServices(java.lang.String serviceType)
Count all active services of a given type.
|
void |
ZooKeeperConnection.createChild(java.lang.String nodePath,
java.lang.String childName)
Create a persistent child of a node.
|
void |
ZooKeeperEphemeralNodeObject.createNode(byte[] nodeData)
Create the specified node.
|
void |
ZooKeeperConnection.createNode(java.lang.String nodePath,
byte[] nodeData)
Create a transient node.
|
void |
ZooKeeperEphemeralNodePool.createNode(java.lang.String nodePath,
byte[] nodeData) |
protected void |
ZooKeeperConnection.createSession() |
void |
ZooKeeperEphemeralNodePool.deleteAll() |
void |
ZooKeeperConnection.deleteChild(java.lang.String nodePath,
java.lang.String childName)
Delete the child of a node.
|
void |
ZooKeeperConnection.deleteNode()
Delete a node.
|
void |
ZooKeeperEphemeralNodeObject.deleteNode()
Delete the node.
|
void |
ZooKeeperEphemeralNodePool.deleteNode(java.lang.String nodePath) |
void |
ZooKeeperConnection.deleteNodeChildren(java.lang.String nodePath)
Delete all a node's children.
|
protected void |
BaseLockManager.deleteServiceData(java.lang.String serviceType,
java.lang.String serviceName) |
void |
ZooKeeperLockManager.ZooKeeperShutdown.doCleanup(IThreadContext threadContext)
Do the requisite cleanup.
|
void |
BaseLockManager.endServiceActivity(java.lang.String serviceType,
java.lang.String serviceName)
End service activity.
|
void |
LockManager.endServiceActivity(java.lang.String serviceType,
java.lang.String serviceName)
End service activity.
|
void |
ZooKeeperLockManager.endServiceActivity(java.lang.String serviceType,
java.lang.String serviceName)
End service activity.
|
protected static void |
BaseLockManager.enter(java.lang.Long threadID,
java.lang.String[] readLocks,
java.lang.String[] nonExWriteLocks,
java.lang.String[] writeLocks,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.enterCriticalSections(java.lang.String[] readSectionKeys,
java.lang.String[] nonExSectionKeys,
java.lang.String[] writeSectionKeys)
Enter multiple critical sections simultaneously.
|
void |
LockManager.enterCriticalSections(java.lang.String[] readSectionKeys,
java.lang.String[] nonExSectionKeys,
java.lang.String[] writeSectionKeys)
Enter multiple critical sections simultaneously.
|
void |
BaseLockManager.enterLocks(java.lang.String[] readLocks,
java.lang.String[] nonExWriteLocks,
java.lang.String[] writeLocks)
Enter multiple locks
|
void |
LockManager.enterLocks(java.lang.String[] readLocks,
java.lang.String[] nonExWriteLocks,
java.lang.String[] writeLocks)
Enter multiple locks
|
void |
BaseLockManager.enterLocksNoWait(java.lang.String[] readLocks,
java.lang.String[] nonExWriteLocks,
java.lang.String[] writeLocks) |
void |
LockManager.enterLocksNoWait(java.lang.String[] readLocks,
java.lang.String[] nonExWriteLocks,
java.lang.String[] writeLocks) |
protected static void |
BaseLockManager.enterNonExWrite(java.lang.Long threadID,
java.lang.String lockKey,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.enterNonExWriteCriticalSection(java.lang.String sectionKey)
Enter a named, non-exclusive write critical section (NOT a lock).
|
void |
LockManager.enterNonExWriteCriticalSection(java.lang.String sectionKey)
Enter a named, non-exclusive write critical section (NOT a lock).
|
void |
LockObject.enterNonExWriteLock() |
void |
LockGate.enterNonExWriteLock(java.lang.Long threadID) |
void |
BaseLockManager.enterNonExWriteLock(java.lang.String lockKey)
Enter a non-exclusive write-locked area (blocking out all readers, but letting in other "writers").
|
void |
LockManager.enterNonExWriteLock(java.lang.String lockKey)
Enter a non-exclusive write-locked area (blocking out all readers, but letting in other "writers").
|
void |
LockObject.enterNonExWriteLockNoWait()
Note well: Upgrading a read lock to a non-ex write lock is tricky.
|
void |
LockGate.enterNonExWriteLockNoWait(java.lang.Long threadID) |
void |
BaseLockManager.enterNonExWriteLockNoWait(java.lang.String lockKey) |
void |
LockManager.enterNonExWriteLockNoWait(java.lang.String lockKey) |
protected static void |
BaseLockManager.enterNonExWriteNoWait(java.lang.Long threadID,
java.lang.String lockKey,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
protected static void |
BaseLockManager.enterNoWait(java.lang.Long threadID,
java.lang.String[] readLocks,
java.lang.String[] nonExWriteLocks,
java.lang.String[] writeLocks,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
protected static void |
BaseLockManager.enterRead(java.lang.Long threadID,
java.lang.String lockKey,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.enterReadCriticalSection(java.lang.String sectionKey)
Enter a named, read critical section (NOT a lock).
|
void |
LockManager.enterReadCriticalSection(java.lang.String sectionKey)
Enter a named, read critical section (NOT a lock).
|
void |
LockObject.enterReadLock() |
void |
LockGate.enterReadLock(java.lang.Long threadID) |
void |
BaseLockManager.enterReadLock(java.lang.String lockKey)
Enter a read-only locked area (i.e., block ONLY if there's a writer)
|
void |
LockManager.enterReadLock(java.lang.String lockKey)
Enter a read-only locked area (i.e., block ONLY if there's a writer)
|
void |
LockObject.enterReadLockNoWait() |
void |
LockGate.enterReadLockNoWait(java.lang.Long threadID) |
void |
BaseLockManager.enterReadLockNoWait(java.lang.String lockKey) |
void |
LockManager.enterReadLockNoWait(java.lang.String lockKey) |
protected static void |
BaseLockManager.enterReadNoWait(java.lang.Long threadID,
java.lang.String lockKey,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
protected void |
ZooKeeperLockManager.enterServiceRegistryReadLock(ZooKeeperConnection connection,
java.lang.String serviceType)
Enter service registry read lock
|
protected void |
ZooKeeperLockManager.enterServiceRegistryWriteLock(ZooKeeperConnection connection,
java.lang.String serviceType)
Enter service registry write lock
|
protected static void |
BaseLockManager.enterWrite(java.lang.Long threadID,
java.lang.String lockKey,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.enterWriteCriticalSection(java.lang.String sectionKey)
Enter a named, exclusive critical section (NOT a lock).
|
void |
LockManager.enterWriteCriticalSection(java.lang.String sectionKey)
Enter a named, exclusive critical section (NOT a lock).
|
void |
LockObject.enterWriteLock()
This method WILL NOT BE CALLED UNLESS we are actually committing a write lock for the
first time for a given thread.
|
void |
LockGate.enterWriteLock(java.lang.Long threadID) |
void |
BaseLockManager.enterWriteLock(java.lang.String lockKey)
Enter a write locked area (i.e., block out both readers and other writers)
NOTE: Can't enter until all readers have left.
|
void |
LockManager.enterWriteLock(java.lang.String lockKey)
Enter a write locked area (i.e., block out both readers and other writers)
NOTE: Can't enter until all readers have left.
|
void |
LockObject.enterWriteLockNoWait()
Note well: Upgrading a read lock to a non-ex write lock is tricky.
|
void |
LockGate.enterWriteLockNoWait(java.lang.Long threadID) |
void |
BaseLockManager.enterWriteLockNoWait(java.lang.String lockKey) |
void |
LockManager.enterWriteLockNoWait(java.lang.String lockKey) |
protected static void |
BaseLockManager.enterWriteNoWait(java.lang.Long threadID,
java.lang.String lockKey,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
java.util.List<java.lang.String> |
ZooKeeperConnection.getChildren(java.lang.String nodePath)
Get the relative paths of all node's children.
|
byte[] |
ZooKeeperConnection.getNodeData(java.lang.String nodePath)
Get node data.
|
ManifoldCFConfiguration |
BaseLockManager.getSharedConfiguration()
Get the current shared configuration.
|
ManifoldCFConfiguration |
LockManager.getSharedConfiguration()
Get the current shared configuration.
|
ManifoldCFConfiguration |
ZooKeeperLockManager.getSharedConfiguration()
Get the current shared configuration.
|
static java.io.File |
FileLockManager.getSynchDirectoryProperty()
Get the synch directory property.
|
ZooKeeperConnection |
ZooKeeperConnectionPool.grab() |
protected void |
ZooKeeperConnection.handleEphemeralNodeKeeperException(org.apache.zookeeper.KeeperException e,
boolean recreate)
Handle keeper exceptions that may involve ephemeral node creation.
|
protected void |
ZooKeeperConnection.handleKeeperException(org.apache.zookeeper.KeeperException e,
boolean recreate)
Handle keeper exceptions that don't involve ephemeral node creation.
|
protected static void |
BaseLockManager.leave(java.lang.String[] readLocks,
java.lang.String[] writeNonExLocks,
java.lang.String[] writeLocks,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.leaveCriticalSections(java.lang.String[] readSectionKeys,
java.lang.String[] nonExSectionKeys,
java.lang.String[] writeSectionKeys)
Leave multiple critical sections simultaneously.
|
void |
LockManager.leaveCriticalSections(java.lang.String[] readSectionKeys,
java.lang.String[] nonExSectionKeys,
java.lang.String[] writeSectionKeys)
Leave multiple critical sections simultaneously.
|
void |
BaseLockManager.leaveLocks(java.lang.String[] readLocks,
java.lang.String[] writeNonExLocks,
java.lang.String[] writeLocks)
Leave multiple locks
|
void |
LockManager.leaveLocks(java.lang.String[] readLocks,
java.lang.String[] writeNonExLocks,
java.lang.String[] writeLocks)
Leave multiple locks
|
protected static void |
BaseLockManager.leaveNonExWrite(java.lang.String lockKey,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.leaveNonExWriteCriticalSection(java.lang.String sectionKey)
Leave a named, non-exclusive write critical section (NOT a lock).
|
void |
LockManager.leaveNonExWriteCriticalSection(java.lang.String sectionKey)
Leave a named, non-exclusive write critical section (NOT a lock).
|
void |
LockGate.leaveNonExWriteLock() |
boolean |
LockObject.leaveNonExWriteLock() |
void |
BaseLockManager.leaveNonExWriteLock(java.lang.String lockKey)
Leave a non-exclusive write lock.
|
void |
LockManager.leaveNonExWriteLock(java.lang.String lockKey)
Leave a non-exclusive write lock.
|
protected static void |
BaseLockManager.leaveRead(java.lang.String lockKey,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.leaveReadCriticalSection(java.lang.String sectionKey)
Leave a named, read critical section (NOT a lock).
|
void |
LockManager.leaveReadCriticalSection(java.lang.String sectionKey)
Leave a named, read critical section (NOT a lock).
|
void |
LockGate.leaveReadLock() |
boolean |
LockObject.leaveReadLock() |
void |
BaseLockManager.leaveReadLock(java.lang.String lockKey) |
void |
LockManager.leaveReadLock(java.lang.String lockKey) |
protected void |
ZooKeeperLockManager.leaveServiceRegistryLock(ZooKeeperConnection connection)
Leave service registry lock
|
protected static void |
BaseLockManager.leaveWrite(java.lang.String lockKey,
java.lang.String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.leaveWriteCriticalSection(java.lang.String sectionKey)
Leave a named, exclusive critical section (NOT a lock).
|
void |
LockManager.leaveWriteCriticalSection(java.lang.String sectionKey)
Leave a named, exclusive critical section (NOT a lock).
|
void |
LockGate.leaveWriteLock() |
boolean |
LockObject.leaveWriteLock() |
void |
BaseLockManager.leaveWriteLock(java.lang.String lockKey) |
void |
LockManager.leaveWriteLock(java.lang.String lockKey) |
protected void |
LockObject.obtainGlobalNonExWriteLock() |
protected void |
ZooKeeperLockObject.obtainGlobalNonExWriteLock() |
protected void |
FileLockObject.obtainGlobalNonExWriteLockNoWait() |
protected void |
LockObject.obtainGlobalNonExWriteLockNoWait() |
protected void |
ZooKeeperLockObject.obtainGlobalNonExWriteLockNoWait() |
protected void |
LockObject.obtainGlobalReadLock() |
protected void |
ZooKeeperLockObject.obtainGlobalReadLock() |
protected void |
FileLockObject.obtainGlobalReadLockNoWait() |
protected void |
LockObject.obtainGlobalReadLockNoWait() |
protected void |
ZooKeeperLockObject.obtainGlobalReadLockNoWait() |
protected void |
LockObject.obtainGlobalWriteLock() |
protected void |
ZooKeeperLockObject.obtainGlobalWriteLock() |
protected void |
FileLockObject.obtainGlobalWriteLockNoWait() |
protected void |
LockObject.obtainGlobalWriteLockNoWait() |
protected void |
ZooKeeperLockObject.obtainGlobalWriteLockNoWait() |
void |
ZooKeeperConnection.obtainNonExWriteLock(java.lang.String lockPath)
Obtain a non-ex-write lock, with wait.
|
boolean |
ZooKeeperConnection.obtainNonExWriteLockNoWait(java.lang.String lockPath)
Obtain a non-ex-write lock, with no wait.
|
void |
ZooKeeperConnection.obtainReadLock(java.lang.String lockPath)
Obtain a read lock, with wait.
|
boolean |
ZooKeeperConnection.obtainReadLockNoWait(java.lang.String lockPath)
Obtain a read lock, with no wait.
|
void |
ZooKeeperConnection.obtainWriteLock(java.lang.String lockPath)
Obtain a write lock, with wait.
|
boolean |
ZooKeeperConnection.obtainWriteLockNoWait(java.lang.String lockPath)
Obtain a write lock, with no wait.
|
byte[] |
BaseLockManager.readData(java.lang.String resourceName)
Read data from a shared data resource.
|
byte[] |
FileLockManager.readData(java.lang.String resourceName)
Read data from a shared data resource.
|
byte[] |
LockManager.readData(java.lang.String resourceName)
Read data from a shared data resource.
|
byte[] |
ZooKeeperConnection.readData(java.lang.String resourcePath) |
byte[] |
ZooKeeperLockManager.readData(java.lang.String resourceName)
Read data from a shared data resource.
|
protected int |
BaseLockManager.readServiceCounter(java.lang.String serviceCounterName)
Read service counter.
|
protected int |
ZooKeeperLockManager.readServiceCounter(ZooKeeperConnection connection,
java.lang.String serviceCounterName)
Read service counter.
|
protected byte[] |
BaseLockManager.readServiceData(java.lang.String serviceType,
java.lang.String serviceName) |
protected java.lang.String |
BaseLockManager.readServiceName(java.lang.String resourceName) |
java.lang.String |
BaseLockManager.registerServiceBeginServiceActivity(java.lang.String serviceType,
java.lang.String serviceName,
byte[] initialData,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
java.lang.String |
LockManager.registerServiceBeginServiceActivity(java.lang.String serviceType,
java.lang.String serviceName,
byte[] initialData,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
java.lang.String |
ZooKeeperLockManager.registerServiceBeginServiceActivity(java.lang.String serviceType,
java.lang.String serviceName,
byte[] initialData,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
java.lang.String |
BaseLockManager.registerServiceBeginServiceActivity(java.lang.String serviceType,
java.lang.String serviceName,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
java.lang.String |
LockManager.registerServiceBeginServiceActivity(java.lang.String serviceType,
java.lang.String serviceName,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
java.lang.String |
ZooKeeperLockManager.registerServiceBeginServiceActivity(java.lang.String serviceType,
java.lang.String serviceName,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
void |
ZooKeeperConnection.releaseLock()
Release the (saved) lock.
|
byte[] |
BaseLockManager.retrieveServiceData(java.lang.String serviceType,
java.lang.String serviceName)
Retrieve service data for a service.
|
byte[] |
LockManager.retrieveServiceData(java.lang.String serviceType,
java.lang.String serviceName)
Retrieve service data for a service.
|
byte[] |
ZooKeeperLockManager.retrieveServiceData(java.lang.String serviceType,
java.lang.String serviceName)
Retrieve service data for a service.
|
void |
BaseLockManager.scanServiceData(java.lang.String serviceType,
IServiceDataAcceptor dataAcceptor)
Scan service data for a service type.
|
void |
LockManager.scanServiceData(java.lang.String serviceType,
IServiceDataAcceptor dataAcceptor)
Scan service data for a service type.
|
void |
ZooKeeperLockManager.scanServiceData(java.lang.String serviceType,
IServiceDataAcceptor dataAcceptor)
Scan service data for a service type.
|
void |
BaseLockManager.setGlobalFlag(java.lang.String flagName)
Raise a flag.
|
void |
FileLockManager.setGlobalFlag(java.lang.String flagName)
Raise a flag.
|
void |
LockManager.setGlobalFlag(java.lang.String flagName)
Raise a flag.
|
void |
ZooKeeperConnection.setGlobalFlag(java.lang.String flagPath) |
void |
ZooKeeperLockManager.setGlobalFlag(java.lang.String flagName)
Raise a flag.
|
void |
ZooKeeperConnection.setNodeData(byte[] data)
Set node data.
|
void |
ZooKeeperEphemeralNodeObject.setNodeData(byte[] nodeData)
Set the node's data.
|
void |
ZooKeeperEphemeralNodePool.setNodeData(java.lang.String nodePath,
byte[] nodeData) |
void |
ZooKeeperLockManager.setSharedConfiguration(java.io.InputStream configurationInputStream)
Write shared configuration.
|
protected static void |
ZooKeeperLockManager.shutdownPool()
Shutdown the connection pool.
|
void |
BaseLockManager.timedWait(int time)
Wait for a time before retrying a lock.
|
void |
LockManager.timedWait(int time)
Wait for a time before retrying a lock.
|
void |
BaseLockManager.updateServiceData(java.lang.String serviceType,
java.lang.String serviceName,
byte[] serviceData)
Set service data for a service.
|
void |
LockManager.updateServiceData(java.lang.String serviceType,
java.lang.String serviceName,
byte[] serviceData)
Set service data for a service.
|
void |
ZooKeeperLockManager.updateServiceData(java.lang.String serviceType,
java.lang.String serviceName,
byte[] serviceData)
Set service data for a service.
|
void |
BaseLockManager.writeData(java.lang.String resourceName,
byte[] data)
Write data to a shared data resource.
|
void |
FileLockManager.writeData(java.lang.String resourceName,
byte[] data)
Write data to a shared data resource.
|
void |
LockManager.writeData(java.lang.String resourceName,
byte[] data)
Write data to a shared data resource.
|
void |
ZooKeeperConnection.writeData(java.lang.String resourcePath,
byte[] data) |
void |
ZooKeeperLockManager.writeData(java.lang.String resourceName,
byte[] data)
Write data to a shared data resource.
|
protected void |
BaseLockManager.writeServiceCounter(java.lang.String serviceCounterName,
int counter)
Write service counter.
|
protected void |
ZooKeeperLockManager.writeServiceCounter(ZooKeeperConnection connection,
java.lang.String serviceCounterName,
int counter)
Write service counter.
|
protected void |
BaseLockManager.writeServiceData(java.lang.String serviceType,
java.lang.String serviceName,
byte[] serviceData) |
protected void |
BaseLockManager.writeServiceName(java.lang.String resourceName,
java.lang.String serviceName) |
| Constructor and Description |
|---|
BaseLockManager() |
FileLockManager() |
FileLockManager(java.io.File synchDirectory) |
LockManager() |
ZooKeeperConnection(java.lang.String connectString,
int sessionTimeout)
Constructor.
|
ZooKeeperLockManager()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ManifoldCFResourceLoader.addDirsToClassPath(java.io.File[] baseList,
java.io.FileFilter[] filterList)
Add fully-resolved directories (with filters) to the current class path.
|
void |
ManifoldCFResourceLoader.addToClassPath(java.io.File file)
Add to the class-search path.
|
void |
ManifoldCFResourceLoader.addToClassPath(java.io.File dir,
java.io.FileFilter filter)
Add to the class-search path.
|
static void |
ManifoldCF.addToHash(java.security.MessageDigest digest,
java.lang.String input)
Add to hash
|
static void |
ManifoldCF.checkProperties()
Reloads properties as needed.
|
protected void |
ManifoldCF.DatabaseShutdown.closeDatabase() |
static ManifoldCFResourceLoader |
ManifoldCF.createResourceLoader()
Create a new resource loader based on the default one.
|
static void |
ManifoldCF.createSystemDatabase(IThreadContext threadcontext,
java.lang.String masterUsername,
java.lang.String masterPassword)
Install system database.
|
static java.io.File |
ManifoldCF.createTempDir(java.lang.String prefix,
java.lang.String suffix)
Create temporary directory.
|
static java.lang.String |
ManifoldCF.decrypt(java.lang.String saltValue,
java.lang.String passCode,
java.lang.String input)
Decrypt a string.
|
static java.lang.String |
ManifoldCF.deobfuscate(java.lang.String input)
Decode a string encoded using the obfuscation
technique.
|
void |
ManifoldCF.FileTrack.doCleanup(IThreadContext threadContext)
Delete all remaining files
|
void |
ManifoldCF.DatabaseShutdown.doCleanup(IThreadContext threadContext) |
void |
ManifoldCF.CachePoll.doPoll(IThreadContext threadContext) |
static void |
ManifoldCF.dropSystemDatabase(IThreadContext threadcontext,
java.lang.String masterUsername,
java.lang.String masterPassword)
Drop system database.
|
static java.lang.String |
ManifoldCF.encrypt(java.lang.String saltValue,
java.lang.String passCode,
java.lang.String input)
Encrypt a string in a reversible encryption.
|
static void |
ManifoldCF.ensureFolder(java.lang.String path)
Attempt to make sure a path is a folder
|
static java.lang.Class |
ManifoldCF.findClass(java.lang.String cname)
Locate a class in the configuration-determined class path.
|
java.lang.Class |
ManifoldCFResourceLoader.findClass(java.lang.String cname)
Get the specified class using the proper classloader.
|
static boolean |
ManifoldCF.getBooleanProperty(java.lang.String s,
boolean defaultValue)
Read a boolean property
|
protected static javax.crypto.Cipher |
ManifoldCF.getCipher(IThreadContext threadContext,
int mode,
java.lang.String passCode,
byte[] iv) |
protected static javax.crypto.Cipher |
ManifoldCF.getCipher(java.lang.String saltValue,
int mode,
java.lang.String passCode,
byte[] iv) |
java.lang.ClassLoader |
ManifoldCFResourceLoader.getClassLoader()
Get the class loader representing this resource loader.
|
static double |
ManifoldCF.getDoubleProperty(java.lang.String s,
double defaultValue)
Read a float property, either from the system properties, or from the local configuration file.
|
static java.lang.String |
ManifoldCF.getHashValue(java.security.MessageDigest digest)
Calculate final hash value
|
static int |
ManifoldCF.getIntProperty(java.lang.String s,
int defaultValue)
Read an integer property, either from the system properties, or from the local configuration file.
|
static long |
ManifoldCF.getLongProperty(java.lang.String s,
long defaultValue)
Read a long property, either from the system properties, or from the local configuration file.
|
protected static java.lang.String |
ManifoldCF.getSaltValue(IThreadContext threadContext) |
static java.lang.String |
ManifoldCF.hash(java.lang.String input)
Perform standard hashing of a string
|
static void |
ManifoldCF.initializeEnvironment()
Deprecated.
|
static void |
ManifoldCF.initializeEnvironment(IThreadContext threadContext)
Initialize environment.
|
static void |
ManifoldCF.noteConfigurationChange()
Note configuration change.
|
static java.lang.String |
ManifoldCF.obfuscate(java.lang.String input)
Encode a string in a reversible obfuscation.
|
static void |
ManifoldCF.pollAll(IThreadContext threadContext)
Poll all the registered polling services.
|
protected static int |
ManifoldCF.readNibble(char value)
Read a hex nibble.
|
protected static void |
ManifoldCF.registerConnectorServices()
Register connector services provided in connectors and connector-commons
|
void |
ManifoldCFResourceLoader.setClassPath(java.util.ArrayList libdirList)
Set the classpath to a given list of libdirs.
|
static void |
Logging.setLogLevels(IThreadContext threadContext)
Reset all loggers
|
static java.security.MessageDigest |
ManifoldCF.startHash()
Start creating a hash
|
| Constructor and Description |
|---|
ManifoldCFResourceLoader(java.lang.ClassLoader parent)
Construct a resource manager.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
Converter.asDouble(java.lang.Object o)
Convert a JDBC output value to a double.
|
static long |
Converter.asLong(java.lang.Object o)
Convert a JDBC output value to a long.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
BaseCrawlerInitializationCommand.doExecute(IThreadContext tc) |
protected void |
ExportConfiguration.doExecute(IThreadContext tc) |
protected void |
ImportConfiguration.doExecute(IThreadContext tc) |
protected void |
InitializeAndRegister.doExecute(IThreadContext tc) |
protected void |
Register.doExecute(IThreadContext tc) |
protected void |
SynchronizeConnectors.doExecute(IThreadContext tc) |
protected abstract void |
TransactionalCrawlerInitializationCommand.doExecute(IThreadContext tc) |
protected void |
UnRegister.doExecute(IThreadContext tc) |
protected void |
UnRegisterAll.doExecute(IThreadContext tc) |
void |
BaseCrawlerInitializationCommand.execute() |
void |
TransactionalCrawlerInitializationCommand.execute() |
| Modifier and Type | Method and Description |
|---|---|
void |
BinManager.deinstall()
Uninstall.
|
double[] |
BinManager.getIncrementBinValues(java.lang.String connectorClass,
java.lang.String binName,
double newBinValue,
int count)
Get N bin values (and set next one).
|
double[] |
BinManager.getIncrementBinValuesInTransaction(java.lang.String connectorClass,
java.lang.String binName,
double newBinValue,
int count)
Get N bin values (and set next one).
|
void |
BinManager.install()
Install or upgrade this table.
|
void |
BinManager.reset()
Reset all bins
|
| Constructor and Description |
|---|
BinManager(IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
BaseRepositoryConnector.addSeedDocuments(ISeedingActivity activities,
Specification spec,
java.lang.String lastSeedVersion,
long seedTime,
int jobMode)
Queue "seed" documents.
|
void |
BaseRepositoryConnector.outputSpecificationBody(IHTTPOutput out,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber,
int actualSequenceNumber,
java.lang.String tabName)
Output the specification body section.
|
void |
BaseRepositoryConnector.outputSpecificationHeader(IHTTPOutput out,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber,
java.util.List<java.lang.String> tabsArray)
Output the specification header section.
|
void |
BaseRepositoryConnector.processDocuments(java.lang.String[] documentIdentifiers,
IExistingVersions statuses,
Specification spec,
IProcessActivity activities,
int jobMode,
boolean usesDefaultAuthority)
Process a set of documents.
|
java.lang.String |
BaseRepositoryConnector.processSpecificationPost(IPostParameters variableContext,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber)
Process a specification post.
|
boolean |
BaseRepositoryConnector.requestInfo(Configuration output,
java.lang.String command)
Request arbitrary connector information.
|
void |
BaseRepositoryConnector.viewSpecification(IHTTPOutput out,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber)
View specification.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectorManager.deinstall()
Uninstall.
|
IResultSet |
ConnectorManager.getConnectors()
Get ordered list of connectors.
|
java.lang.String |
ConnectorManager.getDescription(java.lang.String className)
Get a description given a class name.
|
void |
ConnectorManager.install()
Install or upgrade.
|
boolean |
ConnectorManager.isInstalled(java.lang.String className)
Check if a particular connector is installed or not.
|
void |
ConnectorManager.registerConnector(java.lang.String description,
java.lang.String className)
Register a new connector.
|
void |
ConnectorManager.removeConnector(java.lang.String className)
Remove a connector.
|
void |
ConnectorManager.unregisterConnector(java.lang.String className)
Unregister a connector.
|
| Constructor and Description |
|---|
ConnectorManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IJobManager.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 |
IProcessActivity.addDocumentReference(java.lang.String documentIdentifier)
Add a document description to the current job's queue.
|
void |
IProcessActivity.addDocumentReference(java.lang.String documentIdentifier,
java.lang.String parentIdentifier,
java.lang.String relationshipType)
Add a document description to the current job's queue.
|
void |
IProcessActivity.addDocumentReference(java.lang.String documentIdentifier,
java.lang.String parentIdentifier,
java.lang.String relationshipType,
java.lang.String[] dataNames,
java.lang.Object[][] dataValues)
Add a document description to the current job's queue.
|
void |
IProcessActivity.addDocumentReference(java.lang.String documentIdentifier,
java.lang.String parentIdentifier,
java.lang.String relationshipType,
java.lang.String[] dataNames,
java.lang.Object[][] dataValues,
java.lang.Long originationTime)
Add a document description to the current job's queue.
|
void |
IProcessActivity.addDocumentReference(java.lang.String documentIdentifier,
java.lang.String parentIdentifier,
java.lang.String relationshipType,
java.lang.String[] dataNames,
java.lang.Object[][] dataValues,
java.lang.Long originationTime,
java.lang.String[] prereqEventNames)
Add a document description to the current job's queue.
|
void |
IJobManager.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 |
IJobManager.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 |
IJobManager.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 |
ISeedingActivity.addSeedDocument(java.lang.String documentIdentifier)
Record a "seed" document identifier.
|
void |
ISeedingActivity.addSeedDocument(java.lang.String documentIdentifier,
java.lang.String[] prereqEventNames)
Record a "seed" document identifier.
|
java.lang.String |
IRepositoryConnector.addSeedDocuments(ISeedingActivity activities,
Specification spec,
java.lang.String lastSeedVersion,
long seedTime,
int jobMode)
Queue "seed" documents.
|
void |
ISeedingActivity.addUnqueuedSeedDocument(java.lang.String documentIdentifier)
This method receives document identifiers that should be considered part of the seeds, but do not need to be
queued for processing at this time.
|
void |
IJobManager.assessMarkedJobs()
Assess jobs marked to be in need of assessment for connector status changes.
|
void |
IReprioritizationTracker.assessMinimumDepth(java.lang.Double[] binNamesSet)
Assess the current minimum depth.
|
boolean |
IEventActivity.beginEventSequence(java.lang.String eventName)
Begin an event sequence.
|
boolean |
IJobManager.beginEventSequence(java.lang.String processID,
java.lang.String eventName)
Begin an event sequence.
|
void |
IJobManager.carrydownChangeDocument(DocumentDescription documentDescription,
IPriorityCalculator docPriority)
Requeue a document because of carrydown changes.
|
void |
IJobManager.carrydownChangeDocumentMultiple(DocumentDescription[] documentDescriptions,
IPriorityCalculator[] docPriorities)
Requeue a document set because of carrydown changes.
|
boolean |
INotificationConnectionManager.checkConnectorExists(java.lang.String name)
Check if underlying connector exists.
|
boolean |
IRepositoryConnectionManager.checkConnectorExists(java.lang.String name)
Check if underlying connector exists.
|
boolean |
IFingerprintActivity.checkDateIndexable(java.util.Date date)
Detect if a date is indexable or not.
|
boolean |
IFingerprintActivity.checkDocumentIndexable(java.io.File localFile)
Check whether a document is indexable by the currently specified output connector.
|
boolean |
IProcessActivity.checkDocumentNeedsReindexing(java.lang.String documentIdentifier,
java.lang.String newVersionString)
Check if a document needs to be reindexed, based on a computed version string.
|
boolean |
IProcessActivity.checkDocumentNeedsReindexing(java.lang.String documentIdentifier,
java.lang.String componentIdentifier,
java.lang.String newVersionString)
Check if a document needs to be reindexed, based on a computed version string.
|
boolean |
IJobManager.checkIfNotificationReference(java.lang.String connectionName)
See if there's a reference to a notification connection name.
|
boolean |
IJobManager.checkIfOutputReference(java.lang.String connectionName)
See if there's a reference to an output connection name.
|
boolean |
IJobManager.checkIfReference(java.lang.String connectionName)
See if there's a reference to a connection name.
|
boolean |
IJobManager.checkIfTransformationReference(java.lang.String connectionName)
See if there's a reference to a transformation connection name.
|
boolean |
IJobManager.checkJobActive(java.lang.Long jobID)
Verify that a specific job is indeed still active.
|
boolean |
IJobManager.checkJobBusy(java.lang.Long jobID)
Verify if a job is still processing documents, or no longer has any outstanding active documents
|
void |
IAbortActivity.checkJobStillActive()
Check whether current job is still active.
|
boolean |
IFingerprintActivity.checkLengthIndexable(long length)
Check whether a document of a specific length is indexable by the currently specified output connector.
|
boolean |
IFingerprintActivity.checkMimeTypeIndexable(java.lang.String mimeType)
Detect if a mime type is indexable or not.
|
boolean |
IFingerprintActivity.checkURLIndexable(java.lang.String url)
Pre-determine whether a document's URL is indexable by this connector.
|
void |
IRepositoryConnectionManager.cleanUpHistoryData(long timeCutoff)
Delete history rows older than a specified timestamp.
|
void |
IRepositoryConnectionManager.cleanUpHistoryData(java.lang.String connectionName)
Delete history rows related to a specific connection, upon user request.
|
void |
IJobManager.cleanupProcessData()
Reset the job queue for all process IDs.
|
void |
IJobManager.cleanupProcessData(java.lang.String processID)
Reset the job queue for an individual process ID.
|
void |
IJobManager.clearAllDocumentPriorities()
Clear all document priorities, in preparation for reprioritization of all previously-prioritized documents.
|
void |
IJobManager.clearJobSeedingState(java.lang.Long jobID)
Clear job seeding state.
|
void |
INotificationConnectorPool.closeAllConnectors()
Clean up all open notification connector handles.
|
void |
IRepositoryConnectorPool.closeAllConnectors()
Clean up all open repository connector handles.
|
void |
IEventActivity.completeEventSequence(java.lang.String eventName)
Complete an event sequence.
|
void |
IJobManager.completeEventSequence(java.lang.String eventName)
Complete an event sequence.
|
long |
IRepositoryConnectionManager.countHistoryRows(java.lang.String connectionName,
FilterCriteria criteria)
Count the number of rows specified by a given set of criteria.
|
INotificationConnection |
INotificationConnectionManager.create()
Create a new notification connection object.
|
IRepositoryConnection |
IRepositoryConnectionManager.create()
Create a new repository connection object.
|
IJobDescription |
IJobManager.createJob()
Create a new job.
|
void |
IBinManager.deinstall()
Uninstall.
|
void |
IConnectorManager.deinstall()
Uninstall.
|
void |
IJobManager.deinstall()
Uninstall the job manager's tables.
|
void |
INotificationConnectionManager.deinstall()
Uninstall the manager.
|
void |
INotificationConnectorManager.deinstall()
Uninstall.
|
void |
IRepositoryConnectionManager.deinstall()
Uninstall the manager.
|
static void |
NotificationConnectorFactory.deinstall(IThreadContext threadContext,
java.lang.String className)
Uninstall connector.
|
static void |
RepositoryConnectorFactory.deinstall(IThreadContext threadContext,
java.lang.String className)
Uninstall connector.
|
void |
INotificationConnectionManager.delete(java.lang.String name)
Delete a notification connection.
|
void |
IRepositoryConnectionManager.delete(java.lang.String name)
Delete a repository connection.
|
void |
IProcessActivity.deleteDocument(java.lang.String documentIdentifier)
Delete the specified document permanently from the search engine index, and from the status table,
along with all its components.
|
void |
IJobManager.deleteIngestedDocumentIdentifiers(DocumentDescription[] identifiers)
Delete ingested document identifiers (as part of deleting the owning job).
|
void |
IJobManager.deleteJob(java.lang.Long id)
Delete a job.
|
void |
IJobManager.deleteJobsReadyForDelete()
Delete jobs in need of being deleted (which are marked "ready for delete").
|
void |
IJobManager.doneDocumentsInitial(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
boolean isPartial,
int hopcountMethod)
Signal that a seeding pass has been done.
|
void |
IReprioritizationTracker.doneReprioritization(java.lang.String reproID)
Complete a reprioritization activity.
|
boolean |
IJobManager.errorAbort(java.lang.Long jobID,
java.lang.String errorText)
Abort a running job due to a fatal error condition.
|
void |
IJobManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
void |
INotificationConnectionManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
void |
IRepositoryConnectionManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
java.lang.String[] |
INotificationConnectionManager.findConnectionsForConnector(java.lang.String className)
Get a list of notification connections that share the same connector.
|
java.lang.String[] |
IRepositoryConnectionManager.findConnectionsForConnector(java.lang.String className)
Get a list of repository connections that share the same connector.
|
boolean[] |
IJobManager.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[] |
IJobManager.findJobsForConnection(java.lang.String connectionName)
Get the job IDs associated with a given connection name.
|
DocumentDescription[] |
IJobManager.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 |
IJobManager.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 |
IJobManager.finishJobs()
Put all eligible jobs in the "shutting down" state.
|
void |
IJobManager.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.
|
void |
INotificationConnectorPool.flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
void |
IRepositoryConnectorPool.flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
IResultSet |
IJobManager.genDocumentStatus(java.lang.String connectionName,
StatusFilterCriteria filterCriteria,
SortOrder sortOrder,
int startRow,
int rowCount)
Run a 'document status' report.
|
IResultSet |
IRepositoryConnectionManager.genHistoryActivityCount(java.lang.String connectionName,
FilterCriteria criteria,
SortOrder sort,
BucketDescription idBucket,
long interval,
int startRow,
int maxRowCount)
Generate a report, listing the start time, activity count, and identifier bucket, given
a time slice (interval) size.
|
IResultSet |
IRepositoryConnectionManager.genHistoryByteCount(java.lang.String connectionName,
FilterCriteria criteria,
SortOrder sort,
BucketDescription idBucket,
long interval,
int startRow,
int maxRowCount)
Generate a report, listing the start time, bytes processed, and identifier bucket, given
a time slice (interval) size.
|
IResultSet |
IRepositoryConnectionManager.genHistoryResultCodes(java.lang.String connectionName,
FilterCriteria criteria,
SortOrder sort,
BucketDescription resultCodeBucket,
BucketDescription idBucket,
int startRow,
int maxRowCount)
Generate a report, listing the result bucket and identifier bucket.
|
IResultSet |
IRepositoryConnectionManager.genHistorySimple(java.lang.String connectionName,
FilterCriteria criteria,
SortOrder sort,
int startRow,
int maxRowCount)
Generate a report, listing the start time, elapsed time, result code and description, number of bytes, and entity identifier.
|
IResultSet |
IJobManager.genQueueStatus(java.lang.String connectionName,
StatusFilterCriteria filterCriteria,
SortOrder sortOrder,
BucketDescription idBucketDescription,
int startRow,
int rowCount)
Run a 'queue status' report.
|
static java.lang.String[] |
RepositoryConnectorFactory.getActivitiesList(IThreadContext threadContext,
java.lang.String className)
Get the activities supported by this connector.
|
INotificationConnection[] |
INotificationConnectionManager.getAllConnections()
Obtain a list of the notification connections, ordered by name.
|
IRepositoryConnection[] |
IRepositoryConnectionManager.getAllConnections()
Obtain a list of the repository connections, ordered by name.
|
IJobDescription[] |
IJobManager.getAllJobs()
Load a sorted list of job descriptions.
|
java.lang.String[] |
IJobManager.getAllSeeds(java.lang.Long jobID)
Get all the current seeds.
|
JobStatus[] |
IJobManager.getAllStatus()
Get a list of all jobs, and their status information.
|
JobStatus[] |
IJobManager.getAllStatus(boolean includeCounts)
Get a list of all jobs, and their status information.
|
JobStatus[] |
IJobManager.getAllStatus(boolean includeCounts,
int maxCount)
Get a list of all jobs, and their status information.
|
static int |
RepositoryConnectorFactory.getConnectorModel(IThreadContext threadContext,
java.lang.String className)
Get the operating mode for a connector.
|
static INotificationConnector |
NotificationConnectorFactory.getConnectorNoCheck(java.lang.String className)
Get a notification connector instance, without checking for installed connector.
|
static IRepositoryConnector |
RepositoryConnectorFactory.getConnectorNoCheck(java.lang.String className)
Get a repository connector instance, without checking for installed connector.
|
IResultSet |
IConnectorManager.getConnectors()
Get ordered list of connectors.
|
IResultSet |
INotificationConnectorManager.getConnectors()
Get ordered list of connectors.
|
java.lang.String |
IConnectorManager.getDescription(java.lang.String className)
Get a description given a class name.
|
java.lang.String |
INotificationConnectorManager.getDescription(java.lang.String className)
Get a description given a class name.
|
double |
IPriorityCalculator.getDocumentPriority()
Compute the document priority.
|
DocumentSetAndFlags |
IJobManager.getExpiredDocuments(java.lang.String processID,
int n,
long currentTime)
Get up to the next n documents to be expired.
|
JobStatus[] |
IJobManager.getFinishedJobs()
Get a list of completed jobs, and their statistics.
|
JobStatus[] |
IJobManager.getFinishedJobs(boolean includeCounts)
Get a list of completed jobs, and their statistics.
|
JobStatus[] |
IJobManager.getFinishedJobs(boolean includeCounts,
int maxCount)
Get a list of completed jobs, and their statistics.
|
double |
IReprioritizationTracker.getIncrementBinValue(java.lang.String connectorClass,
java.lang.String binName,
double weightedMinimumDepth)
Get a bin value.
|
double[] |
IBinManager.getIncrementBinValues(java.lang.String connectorClass,
java.lang.String binName,
double newBinValue,
int count)
Get N bin values (and set next one).
|
double[] |
IBinManager.getIncrementBinValuesInTransaction(java.lang.String connectorClass,
java.lang.String binName,
double newBinValue,
int count)
Get N bin values (and set next one).
|
java.lang.String |
IExistingVersions.getIndexedVersionString(java.lang.String documentIdentifier)
Retrieve the primary existing version string given a document identifier.
|
java.lang.String |
IExistingVersions.getIndexedVersionString(java.lang.String documentIdentifier,
java.lang.String componentIdentifier)
Retrieve a component existing version string given a document identifier.
|
JobNotifyRecord[] |
IJobManager.getJobsReadyForDelete(java.lang.String processID)
Find the list of jobs that need to have their connectors notified of job deletion.
|
JobDeleteRecord[] |
IJobManager.getJobsReadyForDeleteCleanup(java.lang.String processID)
Get the list of jobs that are ready for delete cleanup.
|
JobNotifyRecord[] |
IJobManager.getJobsReadyForInactivity(java.lang.String processID)
Find the list of jobs that need to have their connectors notified of job completion.
|
JobSeedingRecord[] |
IJobManager.getJobsReadyForSeeding(java.lang.String processID,
long currentTime)
Get the list of jobs that are ready for seeding.
|
JobStartRecord[] |
IJobManager.getJobsReadyForStartup(java.lang.String processID)
Get the list of jobs that are ready for startup.
|
long |
IRepositoryConnectionManager.getMaxRows()
Get the maximum number of rows a window-based report can work with.
|
double |
IReprioritizationTracker.getMinimumDepth()
Retrieve current minimum depth.
|
DocumentSetAndFlags |
IJobManager.getNextCleanableDocuments(java.lang.String processID,
int n,
long currentTime)
Get list of cleanable document descriptions.
|
DocumentDescription[] |
IJobManager.getNextDeletableDocuments(java.lang.String processID,
int n,
long currentTime)
Get list of deletable document descriptions.
|
DocumentDescription[] |
IJobManager.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[] |
IJobManager.getNextNotYetProcessedReprioritizationDocuments(java.lang.String processID,
int n)
Get a list of not-yet-processed documents to reprioritize.
|
static java.lang.String[] |
RepositoryConnectorFactory.getRelationshipTypes(IThreadContext threadContext,
java.lang.String className)
Get the link types logged by this connector.
|
JobStatus[] |
IJobManager.getRunningJobs()
Get a list of running jobs.
|
JobStatus[] |
IJobManager.getRunningJobs(boolean includeCounts)
Get a list of running jobs.
|
JobStatus[] |
IJobManager.getRunningJobs(boolean includeCounts,
int maxCount)
Get a list of running jobs.
|
JobStatus |
IJobManager.getStatus(java.lang.Long jobID)
Get the status of a job.
|
JobStatus |
IJobManager.getStatus(java.lang.Long jobID,
boolean includeCounts)
Get the status of a job.
|
JobStatus |
IJobManager.getStatus(java.lang.Long jobID,
boolean includeCounts,
int maxCount)
Get the status of a job.
|
protected java.lang.String[] |
RepositoryConnectorFactory.getThisActivitiesList(IThreadContext threadContext,
java.lang.String className)
Get the activities supported by this connector.
|
protected int |
RepositoryConnectorFactory.getThisConnectorModel(IThreadContext threadContext,
java.lang.String className)
Get the operating mode for a connector.
|
protected java.lang.String[] |
RepositoryConnectorFactory.getThisRelationshipTypes(IThreadContext threadContext,
java.lang.String className)
Get the link types logged by this connector.
|
INotificationConnector |
INotificationConnectorPool.grab(INotificationConnection notificationConnection)
Get a notification connector.
|
IRepositoryConnector |
IRepositoryConnectorPool.grab(IRepositoryConnection repositoryConnection)
Get a repository connector.
|
INotificationConnector[] |
INotificationConnectorPool.grabMultiple(java.lang.String[] orderingKeys,
INotificationConnection[] notificationConnections)
Get multiple notification connectors, all at once.
|
IRepositoryConnector[] |
IRepositoryConnectorPool.grabMultiple(java.lang.String[] orderingKeys,
IRepositoryConnection[] authorityConnections)
Get multiple repository connectors, all at once.
|
void |
IJobManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
INotificationConnectionManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
IRepositoryConnectionManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
IJobManager.inactivateJob(java.lang.Long jobID)
Inactivate a job, from the notification state.
|
void |
IProcessActivity.ingestDocumentWithException(java.lang.String documentIdentifier,
java.lang.String version,
java.lang.String documentURI,
RepositoryDocument data)
Ingest the current document.
|
void |
IProcessActivity.ingestDocumentWithException(java.lang.String documentIdentifier,
java.lang.String componentIdentifier,
java.lang.String version,
java.lang.String documentURI,
RepositoryDocument data)
Ingest the current document.
|
void |
IBinManager.install()
Install or upgrade this table.
|
void |
IConnectorManager.install()
Install.
|
void |
IJobManager.install()
Install the job manager's tables.
|
void |
INotificationConnectionManager.install()
Install the manager.
|
void |
INotificationConnectorManager.install()
Install.
|
void |
IRepositoryConnectionManager.install()
Install the manager.
|
static void |
NotificationConnectorFactory.install(IThreadContext threadContext,
java.lang.String className)
Install connector.
|
static void |
RepositoryConnectorFactory.install(IThreadContext threadContext,
java.lang.String className)
Install connector.
|
boolean |
IRepositoryConnectionManager.isGroupReferenced(java.lang.String authorityGroup)
Return true if the specified authority group name is referenced.
|
protected boolean |
NotificationConnectorFactory.isInstalled(IThreadContext tc,
java.lang.String className) |
protected boolean |
RepositoryConnectorFactory.isInstalled(IThreadContext tc,
java.lang.String className) |
boolean |
IConnectorManager.isInstalled(java.lang.String className)
Check if a particular connector is installed or not.
|
boolean |
INotificationConnectorManager.isInstalled(java.lang.String className)
Check if a particular connector is installed or not.
|
java.lang.String |
IReprioritizationTracker.isSpecifiedProcessReprioritizing(java.lang.String processID)
Check if the specified processID is the one performing reprioritization.
|
IJobDescription |
IJobManager.load(java.lang.Long id)
Load a job for editing.
|
IJobDescription |
IJobManager.load(java.lang.Long id,
boolean readOnly)
Load a job.
|
INotificationConnection |
INotificationConnectionManager.load(java.lang.String name)
Load a notification connection by name.
|
IRepositoryConnection |
IRepositoryConnectionManager.load(java.lang.String name)
Load a repository connection by name.
|
INotificationConnection[] |
INotificationConnectionManager.loadMultiple(java.lang.String[] names)
Load a set of notification connections.
|
IRepositoryConnection[] |
IRepositoryConnectionManager.loadMultiple(java.lang.String[] names)
Load a set of repository connections.
|
static IBinManager |
BinManagerFactory.make(IThreadContext threadContext)
Create a bin manager handle.
|
static IConnectorManager |
ConnectorManagerFactory.make(IThreadContext tc)
Construct a connector manager.
|
static IJobManager |
JobManagerFactory.make(IThreadContext threadContext)
Create a job manager handle.
|
static INotificationConnectionManager |
NotificationConnectionManagerFactory.make(IThreadContext tc)
Make a notification connection manager handle.
|
static INotificationConnectorManager |
NotificationConnectorManagerFactory.make(IThreadContext tc)
Construct a connector manager.
|
static INotificationConnectorPool |
NotificationConnectorPoolFactory.make(IThreadContext tc)
Make a notification connector pool handle.
|
static IRepositoryConnectionManager |
RepositoryConnectionManagerFactory.make(IThreadContext tc)
Make a repository connection manager handle.
|
static IRepositoryConnectorPool |
RepositoryConnectorPoolFactory.make(IThreadContext tc)
Make a repository connector pool handle.
|
static IReprioritizationTracker |
ReprioritizationTrackerFactory.make(IThreadContext threadContext)
Create a reprioritization tracker handle.
|
void |
IJobManager.manualAbort(java.lang.Long jobID)
Manually abort a running job.
|
void |
IJobManager.manualAbortRestart(java.lang.Long jobID)
Manually restart a running job.
|
void |
IJobManager.manualAbortRestart(java.lang.Long jobID,
boolean requestMinimum)
Manually restart a running job.
|
void |
IJobManager.manualStart(java.lang.Long jobID)
Manually start a job.
|
void |
IJobManager.manualStart(java.lang.Long jobID,
boolean requestMinimum)
Manually start a job.
|
DocumentDescription[] |
IJobManager.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[] |
IJobManager.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 |
IJobManager.markDocumentCompleted(DocumentDescription documentDescription)
Note completion of document processing by a job thread of a document.
|
void |
IJobManager.markDocumentCompletedMultiple(DocumentDescription[] documentDescriptions)
Note completion of document processing by a job thread of a document.
|
DocumentDescription[] |
IJobManager.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[] |
IJobManager.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[] |
IJobManager.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[] |
IJobManager.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[] |
IJobManager.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[] |
IJobManager.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 |
IProcessActivity.noDocument(java.lang.String documentIdentifier,
java.lang.String version)
Remove the specified document from the search engine index, and update the
recorded version information for the document.
|
void |
IProcessActivity.noDocument(java.lang.String documentIdentifier,
java.lang.String componentIdentifier,
java.lang.String version)
Remove the specified document from the search engine index, and update the
recorded version information for the document.
|
void |
IJobManager.noteConnectionChange(java.lang.String connectionName)
Note a change in connection configuration.
|
void |
IJobManager.noteConnectorDeregistration(java.lang.String[] connectionNames)
Note the deregistration of a connector used by the specified connections.
|
void |
IJobManager.noteConnectorRegistration(java.lang.String[] connectionNames)
Note the registration of a connector used by the specified connections.
|
void |
IJobManager.noteJobDeleteStarted(java.lang.Long jobID,
long startTime)
Note job delete started.
|
void |
IJobManager.noteJobSeeded(java.lang.Long jobID,
java.lang.String seedingVersion)
Note job seeded.
|
void |
IJobManager.noteJobStarted(java.lang.Long jobID,
long startTime,
java.lang.String seedingVersion)
Note job started.
|
void |
IJobManager.noteNotificationConnectionChange(java.lang.String connectionName)
Note a change in notification connection configuration.
|
void |
IJobManager.noteNotificationConnectorDeregistration(java.lang.String[] connectionNames)
Note the deregistration of a notification connector used by the specified connections.
|
void |
IJobManager.noteNotificationConnectorRegistration(java.lang.String[] connectionNames)
Note the registration of a notification connector used by the specified connections.
|
void |
IJobManager.noteOutputConnectionChange(java.lang.String connectionName)
Note a change in output connection configuration.
|
void |
IJobManager.noteOutputConnectorDeregistration(java.lang.String[] connectionNames)
Note the deregistration of an output connector used by the specified connections.
|
void |
IJobManager.noteOutputConnectorRegistration(java.lang.String[] connectionNames)
Note the registration of an output connector used by the specified connections.
|
void |
IJobManager.noteTransformationConnectionChange(java.lang.String connectionName)
Note a change in transformation connection configuration.
|
void |
IJobManager.noteTransformationConnectorDeregistration(java.lang.String[] connectionNames)
Note the deregistration of a transformation connector used by the specified connections.
|
void |
IJobManager.noteTransformationConnectorRegistration(java.lang.String[] connectionNames)
Note the registration of a transformation connector used by the specified connections.
|
void |
INotificationConnector.notifyOfJobEnd(Specification spec)
Notify of job end
|
void |
INotificationConnector.notifyOfJobStopErrorAbort(Specification spec)
Notify of job stop due to error abort.
|
void |
INotificationConnector.notifyOfJobStopManualAbort(Specification spec)
Notify of job stop due to manual abort.
|
void |
INotificationConnector.notifyOfJobStopManualPause(Specification spec)
Notify of job stop due to manual pause.
|
void |
INotificationConnector.notifyOfJobStopRestart(Specification spec)
Notify of job stop due to restart.
|
void |
INotificationConnector.notifyOfJobStopSchedulePause(Specification spec)
Notify of job stop due to schedule pause.
|
static void |
NotificationConnectorFactory.outputConfigurationBody(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.lang.String tabName)
Output the configuration body section.
|
static void |
RepositoryConnectorFactory.outputConfigurationBody(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.lang.String tabName)
Output the configuration body section.
|
static void |
NotificationConnectorFactory.outputConfigurationHeader(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.util.ArrayList tabsArray)
Output the configuration header section.
|
static void |
RepositoryConnectorFactory.outputConfigurationHeader(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams parameters,
java.util.ArrayList tabsArray)
Output the configuration header section.
|
void |
INotificationConnector.outputSpecificationBody(IHTTPOutput out,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber,
int actualSequenceNumber,
java.lang.String tabName)
Output the specification body section.
|
void |
IRepositoryConnector.outputSpecificationBody(IHTTPOutput out,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber,
int actualSequenceNumber,
java.lang.String tabName)
Output the specification body section.
|
void |
INotificationConnector.outputSpecificationHeader(IHTTPOutput out,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber,
java.util.List<java.lang.String> tabsArray)
Output the specification header section.
|
void |
IRepositoryConnector.outputSpecificationHeader(IHTTPOutput out,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber,
java.util.List<java.lang.String> tabsArray)
Output the specification header section.
|
void |
IJobManager.pauseJob(java.lang.Long jobID)
Pause a job.
|
void |
INotificationConnectorPool.pollAllConnectors()
Idle notification for inactive notification connector handles.
|
void |
IRepositoryConnectorPool.pollAllConnectors()
Idle notification for inactive repository connector handles.
|
void |
IReprioritizationTracker.preloadBinValues()
Preload bin values.
|
void |
IJobManager.prepareDeleteScan(java.lang.Long jobID)
Prepare for a delete scan.
|
void |
IJobManager.prepareForClusterStart()
Prepare to start the entire cluster.
|
void |
IJobManager.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.
|
static java.lang.String |
NotificationConnectorFactory.processConfigurationPost(IThreadContext threadContext,
java.lang.String className,
IPostParameters variableContext,
java.util.Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
static java.lang.String |
RepositoryConnectorFactory.processConfigurationPost(IThreadContext threadContext,
java.lang.String className,
IPostParameters variableContext,
java.util.Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
void |
IRepositoryConnector.processDocuments(java.lang.String[] documentIdentifiers,
IExistingVersions statuses,
Specification spec,
IProcessActivity activities,
int jobMode,
boolean usesDefaultAuthority)
Process a set of documents.
|
java.lang.String |
INotificationConnector.processSpecificationPost(IPostParameters variableContext,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber)
Process a specification post.
|
java.lang.String |
IRepositoryConnector.processSpecificationPost(IPostParameters variableContext,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber)
Process a specification post.
|
void |
IHistoryActivity.recordActivity(java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityIdentifier,
java.lang.String resultCode,
java.lang.String resultDescription,
java.lang.String[] childIdentifiers)
Record time-stamped information about the activity of the connector.
|
void |
IProcessActivity.recordDocument(java.lang.String documentIdentifier,
java.lang.String version)
Record a document version, WITHOUT reindexing it, or removing it.
|
void |
IProcessActivity.recordDocument(java.lang.String documentIdentifier,
java.lang.String componentIdentifier,
java.lang.String version)
Record a document version, WITHOUT reindexing it, or removing it.
|
void |
IRepositoryConnectionManager.recordHistory(java.lang.String connectionName,
java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityIdentifier,
java.lang.String resultCode,
java.lang.String resultDescription,
java.lang.String[] childIdentifiers)
Record time-stamped information about the activity of the connection.
|
void |
IConnectorManager.registerConnector(java.lang.String description,
java.lang.String className)
Register a new connector.
|
void |
INotificationConnectorManager.registerConnector(java.lang.String description,
java.lang.String className)
Register a new connector.
|
void |
INotificationConnectorPool.release(INotificationConnection connection,
INotificationConnector connector)
Release a notification connector.
|
void |
IRepositoryConnectorPool.release(IRepositoryConnection connection,
IRepositoryConnector connector)
Release a repository connector.
|
void |
INotificationConnectorPool.releaseMultiple(INotificationConnection[] connections,
INotificationConnector[] connectors)
Release multiple notification connectors.
|
void |
IRepositoryConnectorPool.releaseMultiple(IRepositoryConnection[] connections,
IRepositoryConnector[] connectors)
Release multiple repository connectors.
|
void |
IConnectorManager.removeConnector(java.lang.String className)
Remove a connector.
|
void |
INotificationConnectorManager.removeConnector(java.lang.String className)
Remove a connector.
|
void |
IProcessActivity.removeDocument(java.lang.String documentIdentifier)
Remove the specified document primary component permanently from the search engine index,
and from the status table.
|
void |
IJobManager.removeJob(java.lang.Long jobID)
Remove a job, from the notification state.
|
boolean |
INotificationConnector.requestInfo(Configuration output,
java.lang.String command)
Request arbitrary connector information.
|
boolean |
IRepositoryConnector.requestInfo(Configuration output,
java.lang.String command)
Request arbitrary connector information.
|
void |
IJobManager.requeueDocument(DocumentDescription documentDescription,
java.lang.Long executeTime,
int action)
Requeue a document for further processing in the future.
|
void |
IJobManager.requeueDocumentMultiple(DocumentDescription[] documentDescriptions,
java.lang.Long[] executeTimes,
int[] actions)
Requeue a document for further processing in the future.
|
void |
IBinManager.reset()
Reset all bins
|
void |
IJobManager.resetCleaningDocument(DocumentDescription documentDescription,
long checkTime)
Reset a cleaning document back to its former state.
|
void |
IJobManager.resetCleaningDocumentMultiple(DocumentDescription[] documentDescriptions,
long checkTime)
Reset a set of cleaning documents for further processing in the future.
|
void |
IJobManager.resetDeleteNotifyJob(java.lang.Long jobID)
Reset a job that is delete notifying back to "ready for delete notify"
state.
|
void |
IJobManager.resetDeleteStartupWorkerStatus(java.lang.String processID)
Reset as part of restoring delete startup threads.
|
void |
IJobManager.resetDeletingDocument(DocumentDescription documentDescription,
long checkTime)
Reset a deleting document back to its former state.
|
void |
IJobManager.resetDeletingDocumentMultiple(DocumentDescription[] documentDescriptions,
long checkTime)
Reset a set of deleting documents for further processing in the future.
|
void |
IJobManager.resetDocCleanupWorkerStatus(java.lang.String processID)
Reset as part of restoring doc cleanup threads.
|
void |
IJobManager.resetDocDeleteWorkerStatus(java.lang.String processID)
Reset as part of restoring doc delete threads.
|
void |
IJobManager.resetDocument(DocumentDescription documentDescription,
long executeTime,
int action,
long failTime,
int failCount)
Reset an active document back to its former state.
|
void |
IJobManager.resetDocumentMultiple(DocumentDescription[] documentDescriptions,
long executeTime,
int action,
long failTime,
int failCount)
Reset documents for further processing in the future.
|
void |
IJobManager.resetDocumentWorkerStatus(java.lang.String processID)
Reset as part of restoring document worker threads.
|
void |
IJobManager.resetJobs(long currentTime,
java.util.List<IJobDescription> resetJobs)
Reset eligible jobs either back to the "inactive" state, or make them active again.
|
void |
IJobManager.resetJobSchedule(java.lang.Long jobID)
Reset job schedule.
|
void |
IJobManager.resetNotificationWorkerStatus(java.lang.String processID)
Reset as part of restoring notification threads.
|
void |
IJobManager.resetNotifyJob(java.lang.Long jobID)
Reset a job that is notifying back to "ready for notify"
state.
|
void |
IJobManager.resetSeedingWorkerStatus(java.lang.String processID)
Reset as part of restoring seeding threads.
|
void |
IJobManager.resetSeedJob(java.lang.Long jobID)
Reset a seeding job back to "active" state.
|
void |
IJobManager.resetStartDeleteJob(java.lang.Long jobID)
Reset a job starting for delete back to "ready for delete"
state.
|
void |
IJobManager.resetStartupJob(java.lang.Long jobID)
Reset a starting job back to "ready for startup" state.
|
void |
IJobManager.resetStartupWorkerStatus(java.lang.String processID)
Reset as part of restoring startup threads.
|
void |
IJobManager.restartJob(java.lang.Long jobID)
Restart a paused job.
|
void |
IProcessActivity.retainAllComponentDocument(java.lang.String documentIdentifier)
Retain all existing document components of a primary document.
|
void |
IProcessActivity.retainDocument(java.lang.String documentIdentifier,
java.lang.String componentIdentifier)
Retain existing document component.
|
java.lang.String[] |
IJobManager.retrieveParentData(java.lang.Long jobID,
java.lang.String docIDHash,
java.lang.String dataName)
Retrieve specific parent data for a given document.
|
java.lang.String[] |
ICarrydownActivity.retrieveParentData(java.lang.String localIdentifier,
java.lang.String dataName)
Retrieve data passed from parents to a specified child document.
|
CharacterInput[] |
IJobManager.retrieveParentDataAsFiles(java.lang.Long jobID,
java.lang.String docIDHash,
java.lang.String dataName)
Retrieve specific parent data for a given document.
|
CharacterInput[] |
ICarrydownActivity.retrieveParentDataAsFiles(java.lang.String localIdentifier,
java.lang.String dataName)
Retrieve data passed from parents to a specified child document.
|
void |
IJobManager.retryDeleteNotification(JobNotifyRecord jnr,
long failTime,
int failCount)
Retry delete notification.
|
void |
IEventActivity.retryDocumentProcessing(java.lang.String localIdentifier)
Abort processing a document (for sequencing reasons).
|
void |
IJobManager.retryNotification(JobNotifyRecord jobNotifyRecord,
long failTime,
int failRetryCount)
Retry notification.
|
void |
IJobManager.retrySeeding(JobSeedingRecord jobSeedingRecord,
long failTime,
int failRetryCount)
Retry seeding.
|
void |
IJobManager.retryStartup(JobStartRecord jobStartRecord,
long failTime,
int failRetryCount)
Retry startup.
|
void |
IJobManager.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 |
IJobManager.save(IJobDescription jobDescription)
Save a job.
|
boolean |
INotificationConnectionManager.save(INotificationConnection object)
Save a notification connection object.
|
boolean |
IRepositoryConnectionManager.save(IRepositoryConnection object)
Save a repository connection object.
|
void |
IProcessActivity.setDocumentOriginationTime(java.lang.String documentIdentifier,
java.lang.Long originationTime)
Override a document's origination time.
|
void |
IProcessActivity.setDocumentScheduleBounds(java.lang.String documentIdentifier,
java.lang.Long lowerRecrawlBoundTime,
java.lang.Long upperRecrawlBoundTime,
java.lang.Long lowerExpireBoundTime,
java.lang.Long upperExpireBoundTime)
Override the schedule for the next time a document is crawled.
|
void |
IJobManager.startJobs(long currentTime,
java.util.List<java.lang.Long> unwaitList)
Start jobs based on schedule.
|
void |
IReprioritizationTracker.startReprioritization(java.lang.String processID,
java.lang.String reproID)
Start a reprioritization activity.
|
void |
IConnectorManager.unregisterConnector(java.lang.String className)
Unregister a connector.
|
void |
INotificationConnectorManager.unregisterConnector(java.lang.String className)
Unregister a connector.
|
static void |
NotificationConnectorFactory.viewConfiguration(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams configParams)
View connector configuration.
|
static void |
RepositoryConnectorFactory.viewConfiguration(IThreadContext threadContext,
java.lang.String className,
IHTTPOutput out,
java.util.Locale locale,
ConfigParams configParams)
View connector configuration.
|
void |
INotificationConnector.viewSpecification(IHTTPOutput out,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber)
View specification.
|
void |
IRepositoryConnector.viewSpecification(IHTTPOutput out,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber)
View specification.
|
void |
IJobManager.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 |
IJobManager.writeDocumentPriorities(DocumentDescription[] descriptions,
IPriorityCalculator[] priorities)
Save a set of document priorities.
|
| Constructor and Description |
|---|
Connectors(java.io.InputStream xmlStream)
Construct from XML.
|
SortOrder(java.lang.String rep)
Constructor from string representation.
|
SortSpec(SortOrder.ParseBuffer pb) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Jobs.abortJob(java.lang.Long jobID,
java.lang.String errorText)
Abort a job.
|
void |
Jobs.abortRestartJob(java.lang.Long jobID,
boolean requestMinimum)
Restart a job.
|
static java.lang.String |
JobQueue.actionToString(int action)
Convert integer to action string
|
boolean |
Jobs.activeJobsPresent()
Return true if there is a job in either the ACTIVE or the ACTIVESEEDING state.
|
void |
JobManager.ThrottleLimit.addConnectionName(java.lang.String connectionName,
IRepositoryConnector connectorInstance)
Add an active connection.
|
protected boolean |
JobManager.addCriteria(java.lang.StringBuilder sb,
java.util.ArrayList list,
java.lang.String fieldPrefix,
java.lang.String connectionName,
StatusFilterCriteria criteria,
boolean whereEmitted)
Add criteria clauses to query.
|
void |
JobManager.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 |
JobManager.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[] documentPriorities,
java.lang.String[][] prereqEventNames)
Add documents to the queue in bulk.
|
void |
JobManager.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 |
JobQueue.addRemainingDocumentsInitial(java.lang.Long jobID,
java.lang.String[] docIDHashes,
java.lang.String processID)
Note the remaining documents that do NOT need to be queued.
|
void |
JobManager.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 |
PrereqEventManager.addRows(java.lang.Long recordID,
java.lang.String[] eventNames)
Add rows pertaining to a single entry
|
protected boolean[] |
HopCount.addToProcessingQueue(java.lang.Long jobID,
java.lang.String[] affectedLinkTypes,
java.lang.String[] documentIDHashes,
HopCount.Answer[] startingAnswers,
java.lang.String sourceDocumentIDHash,
java.lang.String linkType,
int hopcountMethod)
Add documents to the processing queue.
|
void |
Carrydown.analyzeTables()
Analyze job tables that need analysis.
|
void |
HopDeleteDeps.analyzeTables()
Analyze job tables that need analysis.
|
void |
IntrinsicLink.analyzeTables()
Analyze job tables that need analysis.
|
void |
Jobs.analyzeTables()
Analyze job tables that need analysis.
|
int[] |
HopCount.DocumentHash.askQuestions(HopCount.Question[] questions)
Throw in some questions, and prepare for the answers.
|
void |
JobManager.assessMarkedJobs()
Assess jobs marked to be in need of assessment for connector status changes.
|
void |
Jobs.assessMarkedJobs()
Assess all marked jobs to determine if they can be reactivated.
|
static java.lang.String |
Jobs.assessmentStateToString(int value)
Go from assessment state to string.
|
boolean |
JobManager.beginEventSequence(java.lang.String processID,
java.lang.String eventName)
Begin an event sequence.
|
protected void |
JobManager.buildCountsUsingGroupBy(java.lang.String whereClause,
java.util.ArrayList whereParams,
java.util.Map<java.lang.Long,java.lang.Long> set2Hash,
java.util.Map<java.lang.Long,java.lang.Long> set3Hash,
java.util.Map<java.lang.Long,java.lang.Long> set4Hash,
java.util.Map<java.lang.Long,java.lang.Boolean> set2Exact,
java.util.Map<java.lang.Long,java.lang.Boolean> set3Exact,
java.util.Map<java.lang.Long,java.lang.Boolean> set4Exact) |
protected void |
JobManager.buildCountsUsingIndividualQueries(java.lang.String whereClause,
java.util.ArrayList whereParams,
int maxCount,
java.util.Map<java.lang.Long,java.lang.Long> set2Hash,
java.util.Map<java.lang.Long,java.lang.Long> set3Hash,
java.util.Map<java.lang.Long,java.lang.Long> set4Hash,
java.util.Map<java.lang.Long,java.lang.Boolean> set2Exact,
java.util.Map<java.lang.Long,java.lang.Boolean> set3Exact,
java.util.Map<java.lang.Long,java.lang.Boolean> set4Exact) |
protected static ClauseDescription |
JobManager.buildOutstandingClause() |
protected static ClauseDescription |
JobManager.buildProcessedClause() |
protected DocumentDescription[] |
JobManager.calculateAffectedDeleteCarrydownChildren(java.lang.Long jobID,
java.lang.String[] docIDHashes)
Helper method: Find the document descriptions that will be affected due to carrydown row deletions.
|
protected DocumentDescription[] |
JobManager.calculateAffectedRestoreCarrydownChildren(java.lang.Long jobID,
java.lang.String[] parentIDHashes)
Helper method: Calculate the unique set of affected carrydown children resulting from a "restoreRecords" operation.
|
void |
JobManager.carrydownChangeDocument(DocumentDescription documentDescription,
IPriorityCalculator docPriority)
Requeue a document because of carrydown changes.
|
void |
JobManager.carrydownChangeDocumentMultiple(DocumentDescription[] documentDescriptions,
IPriorityCalculator[] docPriorities)
Requeue a document set because of carrydown changes.
|
boolean |
Carrydown.ResultDuplicateEliminator.checkContinue()
See if we should examine another row.
|
boolean |
Carrydown.DuplicateFinder.checkContinue()
See if we should examine another row.
|
boolean |
IntrinsicLink.DuplicateFinder.checkContinue()
See if we should examine another row.
|
boolean |
JobManager.ThrottleLimit.checkContinue()
See if we should examine another row.
|
boolean |
JobQueue.DuplicateFinder.checkContinue()
See if we should examine another row.
|
boolean |
JobManager.checkIfNotificationReference(java.lang.String connectionName)
See if there's a reference to a notification connection name.
|
boolean |
Jobs.checkIfNotificationReference(java.lang.String connectionName)
See if there's a reference to a notification connection name.
|
boolean |
JobManager.checkIfOutputReference(java.lang.String connectionName)
See if there's a reference to an output connection name.
|
boolean |
Jobs.checkIfOutputReference(java.lang.String connectionName)
See if there's a reference to an output connection name.
|
boolean |
JobManager.checkIfReference(java.lang.String connectionName)
See if there's a reference to a connection name.
|
boolean |
Jobs.checkIfReference(java.lang.String connectionName)
See if there's a reference to a connection name.
|
boolean |
JobManager.checkIfTransformationReference(java.lang.String connectionName)
See if there's a reference to a transformation connection name.
|
boolean |
Jobs.checkIfTransformationReference(java.lang.String connectionName)
See if there's a reference to a transformation connection name.
|
boolean |
Carrydown.ResultDuplicateEliminator.checkInclude(IResultRow row)
See if a result row should be included in the final result set.
|
boolean |
Carrydown.DuplicateFinder.checkInclude(IResultRow row)
See if a result row should be included in the final result set.
|
boolean |
IntrinsicLink.DuplicateFinder.checkInclude(IResultRow row)
See if a result row should be included in the final result set.
|
boolean |
JobManager.ThrottleLimit.checkInclude(IResultRow row)
See if a result row should be included in the final result set.
|
boolean |
JobQueue.DuplicateFinder.checkInclude(IResultRow row)
See if a result row should be included in the final result set.
|
boolean |
JobManager.checkJobActive(java.lang.Long jobID)
Verify that a specific job is indeed still active.
|
boolean |
Jobs.checkJobActive(java.lang.Long jobID)
Check whether a job's status indicates that it is in ACTIVE or ACTIVESEEDING state.
|
boolean |
JobManager.checkJobBusy(java.lang.Long jobID)
Verify if a job is still processing documents, or no longer has any outstanding active documents
|
boolean |
JobQueue.checkJobBusy(java.lang.Long jobID)
Check if there are any outstanding active documents for a job
|
protected boolean |
Jobs.checkOutputsInstalled(java.lang.String[] outputNames) |
protected boolean |
Jobs.checkTransformationsInstalled(java.lang.String[] transformationNames) |
boolean |
Jobs.cleaningJobsPresent()
Return true if there is a job in the
SHUTTINGDOWN state.
|
void |
JobManager.cleanupProcessData()
Reset the job queue for all process IDs.
|
void |
JobManager.cleanupProcessData(java.lang.String processID)
Reset the job queue for an individual process ID.
|
void |
JobQueue.clearAllDocPriorities()
Clear all document priorities globally for all documents that
have priorities set, and signal that we need new priorities for all.
|
void |
JobManager.clearAllDocumentPriorities()
Clear all document priorities, in preparation for reprioritization of all previously-prioritized documents.
|
void |
JobQueue.clearFailTimes(java.lang.Long jobID)
Clear the failtimes for all documents associated with a job.
|
void |
JobManager.clearJobSeedingState(java.lang.Long jobID)
Clear job seeding state.
|
void |
Jobs.clearSeedingState(java.lang.Long jobID)
Clear seeding state for a job.
|
boolean |
HopFilterManager.compareRows(java.lang.Long ownerID,
IJobDescription list)
Compare a filter list against what's in a job description.
|
boolean |
NotificationManager.compareRows(java.lang.Long ownerID,
IJobDescription job)
Compare rows in job description with what's currently in the database.
|
boolean |
PipelineManager.compareRows(java.lang.Long ownerID,
IJobDescription job)
Compare rows in job description with what's currently in the database.
|
void |
JobManager.completeEventSequence(java.lang.String eventName)
Complete an event sequence.
|
IJobDescription |
Jobs.create()
Create a job.
|
java.lang.Object[] |
Jobs.JobObjectExecutor.create(ICacheDescription[] objectDescriptions)
Create a set of new objects to operate on and cache.
|
void |
EventManager.createEvent(java.lang.String eventName,
java.lang.String processID)
Atomically create an event - and return false if the event already exists
|
IJobDescription |
JobManager.createJob()
Create a new job.
|
void |
Carrydown.deinstall()
Uninstall.
|
void |
EventManager.deinstall()
Uninstall.
|
void |
HopCount.deinstall()
Uninstall.
|
void |
HopDeleteDeps.deinstall()
Uninstall.
|
void |
HopFilterManager.deinstall()
Uninstall.
|
void |
IntrinsicLink.deinstall()
Uninstall.
|
void |
JobManager.deinstall()
Uninstall.
|
void |
JobQueue.deinstall()
Uninstall.
|
void |
Jobs.deinstall()
Uninstall.
|
void |
NotificationManager.deinstall()
Uninstall.
|
void |
PipelineManager.deinstall()
Uninstall.
|
void |
PrereqEventManager.deinstall()
Uninstall.
|
void |
ScheduleManager.deinstall()
Uninstall.
|
void |
Jobs.delete(java.lang.Long id)
Delete a job.
|
void |
JobQueue.deleteAllJobRecords(java.lang.Long jobID)
For a job deletion: Delete all records for a job.
|
void |
HopDeleteDeps.deleteDependency(java.lang.Long ownerID,
DeleteDependency dd)
Delete a dependency
|
void |
HopCount.deleteDocumentIdentifiers(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String[] documentHashes,
int hopcountMethod)
Remove a set of document identifier hashes.
|
void |
JobManager.deleteIngestedDocumentIdentifiers(DocumentDescription[] identifiers)
Delete ingested document identifiers (as part of deleting the owning job).
|
void |
JobQueue.deleteIngestedDocumentIdentifiers(DocumentDescription[] identifiers)
Delete ingested document identifiers (as part of deleting the owning job).
|
void |
HopDeleteDeps.deleteJob(java.lang.Long jobID)
Delete a job.
|
void |
JobManager.deleteJob(java.lang.Long id)
Delete a job.
|
void |
JobManager.deleteJobsReadyForDelete()
Delete jobs in need of being deleted (which are marked "ready for delete").
|
void |
HopCount.deleteMatchingDocuments(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String joinTableName,
java.lang.String joinTableIDColumn,
java.lang.String joinTableJobColumn,
java.lang.String joinTableCriteria,
java.util.ArrayList joinTableParams,
int hopcountMethod)
Remove a set of document identifiers specified as a criteria.
|
void |
Carrydown.deleteOwner(java.lang.Long jobID)
Delete an owning job (and clean up the corresponding carrydown rows).
|
void |
HopCount.deleteOwner(java.lang.Long jobID)
Delete an owner (and clean up the corresponding hopcount rows).
|
void |
IntrinsicLink.deleteOwner(java.lang.Long jobID)
Delete an owner (and clean up the corresponding hopcount rows).
|
void |
HopDeleteDeps.deleteOwnerRows(java.lang.Long[] ownerIDs)
Delete rows related to specified owners.
|
void |
JobQueue.deleteRecord(java.lang.Long id)
Remove a record entirely.
|
void |
JobQueue.deleteRecordMultiple(java.lang.Long[] ids)
Remove multiple records entirely.
|
void |
Carrydown.deleteRecords(java.lang.Long jobID,
java.lang.String[] documentIDHashes)
Delete all records that mention a particular set of document identifiers.
|
void |
PrereqEventManager.deleteRows(java.util.ArrayList list)
Delete specified rows, as directly specified without a join.
|
void |
HopFilterManager.deleteRows(java.lang.Long ownerID)
Delete rows.
|
void |
NotificationManager.deleteRows(java.lang.Long ownerID)
Delete rows.
|
void |
PipelineManager.deleteRows(java.lang.Long ownerID)
Delete rows.
|
void |
PrereqEventManager.deleteRows(java.lang.Long recordID)
Delete rows pertaining to a single entry
|
void |
ScheduleManager.deleteRows(java.lang.Long ownerID)
Delete rows.
|
void |
PrereqEventManager.deleteRows(java.lang.String parentTableName,
java.lang.String joinField,
java.lang.String parentCriteria,
java.util.ArrayList list)
Delete specified rows, based on jobqueue criteria.
|
boolean |
Jobs.deletingJobsPresent()
Return true if there is a job in the DELETING state.
|
void |
EventManager.destroyEvent(java.lang.String eventName)
Destroy an event
|
protected void |
HopCount.doDeleteDocuments(java.lang.Long jobID,
java.lang.String[] documentHashes)
Invalidate links that start with a specific set of documents.
|
protected void |
HopCount.doDeleteDocuments(java.lang.Long jobID,
java.lang.String joinTableName,
java.lang.String joinTableIDColumn,
java.lang.String joinTableJobColumn,
java.lang.String joinTableCriteria,
java.util.ArrayList joinTableParams)
Invalidate links that start with a specific set of documents, described by
a table join.
|
protected void |
HopCount.doDeleteInvalidation(java.lang.Long jobID,
java.lang.String[] sourceDocumentHashes)
Invalidate targets of links which have a given set of source documents.
|
protected DocumentDescription[] |
JobManager.doDeleteMultiple(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
DocumentDescription[] documentDescriptions,
int hopcountMethod)
Delete documents with no repercussions.
|
protected void |
JobQueue.doDeletes(java.util.ArrayList list)
Do a batch of deletes.
|
protected void |
HopCount.doFinish(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String[] sourceDocumentHashes,
int hopcountMethod)
Method that does the work of "finishing" a set of child references.
|
void |
JobQueue.doneDocumentsInitial(java.lang.Long jobID,
boolean isPartial)
Complete the initial set of documents.
|
void |
JobManager.doneDocumentsInitial(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
boolean isPartial,
int hopcountMethod)
Signal that a seeding pass has been done.
|
protected boolean[] |
HopCount.doRecord(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String sourceDocumentIDHash,
java.lang.String[] targetDocumentIDHashes,
java.lang.String linkType,
int hopcountMethod,
java.lang.String processID)
Do the work of recording source-target references.
|
boolean |
JobManager.errorAbort(java.lang.Long jobID,
java.lang.String errorText)
Abort a running job due to a fatal error condition.
|
protected void |
HopCount.DocumentHash.evaluateNode(HopCount.DocumentNode node)
Evaluate a node from the evaluation queue.
|
void |
Jobs.JobObjectExecutor.execute()
Perform the desired operation.
|
void |
Jobs.JobObjectExecutor.exists(ICacheDescription objectDescription,
java.lang.Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
JobManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
protected void |
JobManager.fetchAndProcessDocuments(java.util.List<DocumentDescription> answers,
java.lang.Long currentTimeValue,
java.lang.Long currentPriorityValue,
JobManager.ThrottleLimit vList,
IRepositoryConnection[] connections,
java.lang.String processID)
Fetch and process documents matching the passed-in criteria
|
protected void |
HopCount.DocumentHash.findChildren(java.util.Map referenceMap,
java.lang.Long jobID,
java.util.ArrayList list)
Get the children of a bunch of nodes.
|
int[] |
HopCount.findHopCounts(java.lang.Long jobID,
java.lang.String[] parentIdentifierHashes,
java.lang.String linkType)
Calculate a bunch of hop-counts.
|
boolean[] |
JobManager.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[] |
JobManager.findJobsForConnection(java.lang.String connectionName)
Get the job IDs associated with a given connection name.
|
IJobDescription[] |
Jobs.findJobsForConnection(java.lang.String connectionName)
Get the job IDs associated with a given connection name.
|
java.lang.Long[] |
Jobs.findJobsMatchingNotifications(java.util.List<java.lang.String> notificationConnectionNames)
Find a list of jobs matching specified notification names.
|
java.lang.Long[] |
Jobs.findJobsMatchingOutputs(java.util.List<java.lang.String> outputConnectionNames)
Find a list of jobs matching specified output names.
|
java.lang.Long[] |
Jobs.findJobsMatchingTransformations(java.util.List<java.lang.String> transformationConnectionNames)
Find a list of jobs matching specified transformation names.
|
DocumentDescription[] |
JobManager.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 |
Jobs.finishJob(java.lang.Long jobID,
long finishTime)
Finish a job.
|
void |
Jobs.finishJobCleanup(java.lang.Long jobID)
Finish job cleanup.
|
void |
JobManager.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 |
JobManager.finishJobs()
Put all eligible jobs in the "shutting down" state.
|
void |
JobManager.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.
|
void |
HopCount.finishParents(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String[] sourceDocumentHashes,
int hopcountMethod)
Complete a recalculation pass for a set of source documents.
|
void |
Jobs.finishResumeJob(java.lang.Long jobID,
long currentTime)
Resume a stopped job (from a pause or activewait).
|
void |
HopCount.finishSeedReferences(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
int hopcountMethod)
Finish seed references.
|
void |
Jobs.finishStopJob(java.lang.Long jobID,
long currentTime)
Stop a job suddenly (abort, pause, activewait).
|
IResultSet |
JobManager.genDocumentStatus(java.lang.String connectionName,
StatusFilterCriteria filterCriteria,
SortOrder sortOrder,
int startRow,
int rowCount)
Run a 'document status' report.
|
IResultSet |
JobManager.genQueueStatus(java.lang.String connectionName,
StatusFilterCriteria filterCriteria,
SortOrder sortOrder,
BucketDescription idBucketDescription,
int startRow,
int rowCount)
Run a 'queue status' report.
|
java.lang.String[] |
Jobs.getActiveConnectionNames()
Get unique connection names for all active jobs.
|
IResultSet |
Jobs.getActiveJobConnections()
Get a list of active job identifiers and their associated connection names.
|
IJobDescription[] |
Jobs.getAll()
Get a list of all jobs which are not in the process of being deleted already.
|
IJobDescription[] |
JobManager.getAllJobs()
Load a sorted list of job descriptions.
|
java.lang.String[] |
JobManager.getAllSeeds(java.lang.Long jobID)
Get all the current seeds.
|
java.lang.String[] |
JobQueue.getAllSeeds(java.lang.Long jobID)
Get all the current seeds.
|
JobStatus[] |
JobManager.getAllStatus()
Get a list of all jobs, and their status information.
|
JobStatus[] |
JobManager.getAllStatus(boolean includeCounts)
Get a list of all jobs, and their status information.
|
JobStatus[] |
JobManager.getAllStatus(boolean includeCounts,
int maxCount)
Get a list of all jobs, and their status information.
|
int |
Jobs.getAnalyzeTime()
Come up with a maximum time (in minutes) for re-analyzing tables.
|
java.lang.String[] |
Carrydown.getDataValues(java.lang.Long jobID,
java.lang.String documentIdentifierHash,
java.lang.String dataName)
Get unique values given a document identifier, data name, an job identifier
|
CharacterInput[] |
Carrydown.getDataValuesAsFiles(java.lang.Long jobID,
java.lang.String documentIdentifierHash,
java.lang.String dataName)
Get unique values given a document identifier, data name, an job identifier
|
DeleteDependency[] |
HopDeleteDeps.getDeleteDependencies(java.lang.Long ownerID)
Get the delete dependencies for an owner.
|
protected IResultSet |
HopCount.getDocumentChildren(java.lang.Long jobID,
java.lang.String documentIDHash)
Get document's children.
|
IResultSet |
IntrinsicLink.getDocumentChildren(java.lang.Long jobID,
java.lang.String parentIDHash)
Get document's children.
|
java.lang.String[] |
IntrinsicLink.getDocumentUniqueParents(java.lang.Long jobID,
java.lang.String childIDHash)
Get document's parents.
|
DocumentSetAndFlags |
JobManager.getExpiredDocuments(java.lang.String processID,
int n,
long currentTime)
Get up to the next n documents to be expired.
|
JobStatus[] |
JobManager.getFinishedJobs()
Get a list of completed jobs, and their statistics.
|
JobStatus[] |
JobManager.getFinishedJobs(boolean includeCounts)
Get a list of completed jobs, and their statistics.
|
JobStatus[] |
JobManager.getFinishedJobs(boolean includeCounts,
int maxCount)
Get a list of completed jobs, and their statistics.
|
java.lang.String |
JobQueue.getGetNextDocumentsIndexHint()
Get the 'getNextDocuments' index hint.
|
static java.lang.String |
JobQueue.getHashCode(java.lang.String documentIdentifier)
Get a hash value from a document id string.
|
protected void |
Jobs.getJobsChunk(java.util.Map<java.lang.Long,JobDescription> returnValues,
java.lang.String idList,
java.util.ArrayList params)
Read a chunk of repository connections.
|
protected JobDescription[] |
Jobs.getJobsMultiple(java.lang.Long[] ids)
Get multiple jobs (without caching)
|
JobNotifyRecord[] |
JobManager.getJobsReadyForDelete(java.lang.String processID)
Find the list of jobs that need to have their connectors notified of job deletion.
|
JobDeleteRecord[] |
JobManager.getJobsReadyForDeleteCleanup(java.lang.String processID)
Get the list of jobs that are ready for delete cleanup.
|
JobNotifyRecord[] |
JobManager.getJobsReadyForInactivity(java.lang.String processID)
Find the list of jobs that need to have their connectors notified of job completion.
|
JobSeedingRecord[] |
JobManager.getJobsReadyForSeeding(java.lang.String processID,
long currentTime)
Get the list of jobs that are ready for seeding.
|
JobStartRecord[] |
JobManager.getJobsReadyForStartup(java.lang.String processID)
Get the list of jobs that are ready for startup.
|
DocumentSetAndFlags |
JobManager.getNextCleanableDocuments(java.lang.String processID,
int maxCount,
long currentTime)
Get list of cleanable document descriptions.
|
DocumentDescription[] |
JobManager.getNextDeletableDocuments(java.lang.String processID,
int maxCount,
long currentTime)
Get list of deletable document descriptions.
|
DocumentDescription[] |
JobManager.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[] |
JobManager.getNextNotYetProcessedReprioritizationDocuments(java.lang.String processID,
int n)
Get a list of not-yet-processed documents to reprioritize.
|
protected void |
HopCount.DocumentHash.getNodeChildren(HopCount.DocumentNode[] nodes)
Fetch a the children of a bunch of nodes, and initialize all of the nodes appropriately.
|
java.lang.String[] |
NotificationManager.getNotificationConnectionNames(java.lang.Long ownerID)
Get all the notification connection names for a job.
|
java.lang.String[] |
PipelineManager.getOutputConnectionNames(java.lang.Long ownerID)
Get all the output connection names for a job.
|
void |
HopFilterManager.getRows(java.util.Map<java.lang.Long,JobDescription> returnValues,
java.lang.String ownerIDList,
java.util.ArrayList ownerIDParams)
Fill in a set of filters corresponding to a set of owner id's.
|
void |
NotificationManager.getRows(java.util.Map<java.lang.Long,JobDescription> returnValues,
java.lang.String ownerIDList,
java.util.ArrayList ownerIDParams)
Fill in a set of notifications corresponding to a set of owner id's.
|
void |
PipelineManager.getRows(java.util.Map<java.lang.Long,JobDescription> returnValues,
java.lang.String ownerIDList,
java.util.ArrayList ownerIDParams)
Fill in a set of pipelines corresponding to a set of owner id's.
|
void |
ScheduleManager.getRows(java.util.Map<java.lang.Long,JobDescription> returnValues,
java.lang.String ownerIDList,
java.util.ArrayList ownerIDParams)
Fill in a set of schedules corresponding to a set of owner id's.
|
void |
ScheduleManager.getRowsAlternate(java.util.Map returnValues,
java.util.ArrayList ownerIDParams)
Fill in a set of schedules corresponding to a set of owner id's.
|
JobStatus[] |
JobManager.getRunningJobs()
Get a list of running jobs.
|
JobStatus[] |
JobManager.getRunningJobs(boolean includeCounts)
Get a list of running jobs.
|
JobStatus[] |
JobManager.getRunningJobs(boolean includeCounts,
int maxCount)
Get a list of running jobs.
|
JobStatus |
JobManager.getStatus(java.lang.Long jobID)
Get the status of a job.
|
JobStatus |
JobManager.getStatus(java.lang.Long jobID,
boolean includeCounts)
Get the status of a job.
|
JobStatus |
JobManager.getStatus(java.lang.Long jobID,
boolean includeCounts,
int maxCount)
Get the status of a job.
|
java.lang.String[] |
PipelineManager.getTransformationConnectionNames(java.lang.Long ownerID)
Get all the transformation connection names for a job.
|
protected java.lang.String[] |
JobManager.getUnindexableDocumentIdentifiers(DocumentDescription[] documentIdentifiers,
java.lang.String connectionName)
Get a list of document identifiers that should actually be deleted from the index, from a list that
might contain identifiers that are shared with other jobs, which are targeted to the same output connection.
|
boolean |
Jobs.hasPriorityJobs(int priority)
Are there any jobs that have a specified priority level
|
static java.lang.String |
Jobs.hopcountModeToString(int value)
Go from hopcount mode to string.
|
void |
JobManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
JobManager.inactivateJob(java.lang.Long jobID)
Inactivate a job, from the notification state.
|
void |
JobQueue.insertNewRecord(java.lang.Long jobID,
java.lang.String docIDHash,
java.lang.String docID,
IPriorityCalculator desiredDocPriority,
long desiredExecuteTime,
java.lang.String[] prereqEvents)
Insert a new record into the jobqueue table (as part of adding a child reference).
|
void |
JobQueue.insertNewRecordInitial(java.lang.Long jobID,
java.lang.String docHash,
java.lang.String docID,
IPriorityCalculator desiredDocPriority,
long desiredExecuteTime,
java.lang.String[] prereqEvents,
java.lang.String processID)
Insert a new record into the jobqueue table (as part of adding an initial reference).
|
void |
EventManager.install()
Install or upgrade this table.
|
void |
JobManager.install()
Install.
|
void |
Carrydown.install(java.lang.String jobsTable,
java.lang.String jobsColumn)
Install or upgrade.
|
void |
HopCount.install(java.lang.String jobsTable,
java.lang.String jobsColumn)
Install or upgrade.
|
void |
HopFilterManager.install(java.lang.String ownerTable,
java.lang.String owningTablePrimaryKey)
Install or upgrade.
|
void |
IntrinsicLink.install(java.lang.String jobsTable,
java.lang.String jobsColumn)
Install or upgrade.
|
void |
JobQueue.install(java.lang.String jobsTable,
java.lang.String jobsColumn)
Install or upgrade.
|
void |
PrereqEventManager.install(java.lang.String ownerTableName,
java.lang.String ownerColumn)
Install or upgrade this table.
|
void |
ScheduleManager.install(java.lang.String ownerTable,
java.lang.String owningTablePrimaryKey)
Install or upgrade.
|
void |
HopDeleteDeps.install(java.lang.String jobsTable,
java.lang.String jobsColumn,
java.lang.String hopCountTable,
java.lang.String idColumn)
Install or upgrade.
|
void |
NotificationManager.install(java.lang.String ownerTable,
java.lang.String owningTablePrimaryKey,
java.lang.String notificationTableName,
java.lang.String notificationTableNameField)
Install or upgrade.
|
void |
PipelineManager.install(java.lang.String ownerTable,
java.lang.String owningTablePrimaryKey,
java.lang.String outputTableName,
java.lang.String outputTableNameField,
java.lang.String transformationTableName,
java.lang.String transformationTableNameField)
Install or upgrade.
|
void |
Jobs.install(java.lang.String transTableName,
java.lang.String transNameField,
java.lang.String outputTableName,
java.lang.String outputNameField,
java.lang.String connectionTableName,
java.lang.String connectionNameField,
java.lang.String notificationConnectionTableName,
java.lang.String notificationConnectionNameField)
Install or upgrade this table.
|
void |
Jobs.invalidateCurrentUnregisteredState(java.lang.Long jobID,
int oldStatusValue)
Invalidate current state with respect to installed connectors, as a result of registration.
|
IJobDescription |
JobManager.load(java.lang.Long id)
Load a job for editing.
|
IJobDescription |
JobManager.load(java.lang.Long id,
boolean readOnly)
Load a job.
|
IJobDescription |
Jobs.load(java.lang.Long id,
boolean readOnly)
Load a job for editing.
|
IJobDescription[] |
Jobs.loadMultiple(java.lang.Long[] ids,
boolean[] readOnlies)
Load multiple jobs for editing.
|
protected int |
Jobs.loadMultipleInternal(IJobDescription[] rval,
int outputIndex,
java.lang.Long[] ids,
boolean[] readOnlies,
int inputIndex,
int length) |
protected JobStatus[] |
JobManager.makeJobStatus(java.lang.String whereClause,
java.util.ArrayList whereParams,
boolean includeCounts,
int maxCount)
Make a job status array from a query result.
|
protected void |
HopCount.DocumentHash.makeNodeComplete(HopCount.DocumentNode node)
Make a node be complete.
|
void |
JobManager.manualAbort(java.lang.Long jobID)
Manually abort a running job.
|
void |
JobManager.manualAbortRestart(java.lang.Long jobID)
Manually restart a running job.
|
void |
JobManager.manualAbortRestart(java.lang.Long jobID,
boolean requestMinimum)
Manually restart a running job.
|
void |
JobManager.manualStart(java.lang.Long jobID)
Manually start a job.
|
void |
JobManager.manualStart(java.lang.Long jobID,
boolean requestMinimum)
Manually start a job.
|
DocumentDescription[] |
JobManager.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[] |
JobManager.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 |
JobManager.markDocumentCompleted(DocumentDescription documentDescription)
Note completion of document processing by a job thread of a document.
|
void |
JobManager.markDocumentCompletedMultiple(DocumentDescription[] documentDescriptions)
Note completion of document processing by a job thread of a document.
|
DocumentDescription[] |
JobManager.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[] |
JobManager.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[] |
JobManager.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[] |
JobManager.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[] |
JobManager.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[] |
JobManager.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.
|
protected void |
HopCount.markForDelete(java.lang.Long jobID,
java.util.ArrayList list,
java.lang.String commonNewExpression,
java.util.ArrayList commonNewList) |
protected void |
HopCount.markForDocumentDelete(java.lang.Long jobID,
java.util.ArrayList list) |
void |
JobQueue.markNeedPriorityInProgress(java.lang.Long rowID,
java.lang.String processID)
Prepare to calculate a document priority for a given row.
|
static java.lang.String |
HopCount.markToString(int mark)
Go from mark to string.
|
static java.lang.String |
JobQueue.needPriorityToString(int value)
Convert boolean to need priority value.
|
protected void |
JobManager.noDocPriorities(java.lang.Long jobID) |
void |
JobQueue.noDocPriorities(java.lang.Long jobID)
Clear all document priorities for a job that is going to sleep
|
void |
JobManager.noteConnectionChange(java.lang.String connectionName)
Note a change in connection configuration.
|
void |
Jobs.noteConnectionChange(java.lang.String connectionName)
Note a change in connection configuration.
|
protected void |
JobManager.noteConnectionDeregistration(java.util.List<java.lang.String> list)
Note deregistration for a batch of connection names.
|
protected void |
JobManager.noteConnectionRegistration(java.util.List<java.lang.String> list)
Note registration for a batch of connection names.
|
void |
Jobs.noteConnectorDeregistration(java.lang.Long jobID,
int oldStatusValue)
Signal to a job that its underlying connector has gone away.
|
void |
JobManager.noteConnectorDeregistration(java.lang.String[] connectionNames)
Note the deregistration of a connector used by the specified connections.
|
void |
Jobs.noteConnectorRegistration(java.lang.Long jobID,
int oldStatusValue)
Signal to a job that its underlying connector has returned.
|
void |
JobManager.noteConnectorRegistration(java.lang.String[] connectionNames)
Note the registration of a connector used by the specified connections.
|
void |
JobManager.noteJobDeleteStarted(java.lang.Long jobID,
long startTime)
Note job delete started.
|
void |
Jobs.noteJobDeleteStarted(java.lang.Long jobID,
long startTime)
Put job into "deleting" state, and set the start time field.
|
void |
JobManager.noteJobSeeded(java.lang.Long jobID,
java.lang.String seedingVersion)
Note job seeded.
|
void |
Jobs.noteJobSeeded(java.lang.Long jobID,
java.lang.String seedVersionString)
Note job seeded.
|
void |
JobManager.noteJobStarted(java.lang.Long jobID,
long startTime,
java.lang.String seedingVersion)
Note job started.
|
void |
Jobs.noteJobStarted(java.lang.Long jobID,
long startTime,
java.lang.String seedVersionString)
Make job active, and set the start time field.
|
void |
JobManager.noteNotificationConnectionChange(java.lang.String connectionName)
Note a change in notification connection configuration.
|
void |
Jobs.noteNotificationConnectionChange(java.lang.String connectionName)
Note a change in notification connection configuration.
|
protected void |
JobManager.noteNotificationConnectionDeregistration(java.util.List<java.lang.String> list)
Note deregistration for a batch of notification connection names.
|
protected void |
JobManager.noteNotificationConnectionRegistration(java.util.List<java.lang.String> list)
Note registration for a batch of connection names.
|
void |
Jobs.noteNotificationConnectorDeregistration(java.lang.Long jobID,
int oldStatusValue)
Signal to a job that its underlying notification connector has gone away.
|
void |
JobManager.noteNotificationConnectorDeregistration(java.lang.String[] connectionNames)
Note the deregistration of a notification connector used by the specified connections.
|
void |
Jobs.noteNotificationConnectorRegistration(java.lang.Long jobID,
int oldStatusValue)
Signal to a job that its underlying notification connector has returned.
|
void |
JobManager.noteNotificationConnectorRegistration(java.lang.String[] connectionNames)
Note the registration of a notification connector used by the specified connections.
|
protected void |
JobManager.noteNotificationJobDeregistration(java.util.List<java.lang.Long> jobIDs) |
protected void |
JobManager.noteNotificationJobRegistration(java.util.List<java.lang.Long> jobIDs) |
void |
JobManager.noteOutputConnectionChange(java.lang.String connectionName)
Note a change in output connection configuration.
|
void |
Jobs.noteOutputConnectionChange(java.lang.String connectionName)
Note a change in output connection configuration.
|
protected void |
JobManager.noteOutputConnectionDeregistration(java.util.List<java.lang.String> list)
Note deregistration for a batch of output connection names.
|
protected void |
JobManager.noteOutputConnectionRegistration(java.util.List<java.lang.String> list)
Note registration for a batch of output connection names.
|
void |
Jobs.noteOutputConnectorDeregistration(java.lang.Long jobID,
int oldStatusValue)
Signal to a job that its underlying output connector has gone away.
|
void |
JobManager.noteOutputConnectorDeregistration(java.lang.String[] connectionNames)
Note the deregistration of an output connector used by the specified connections.
|
void |
Jobs.noteOutputConnectorRegistration(java.lang.Long jobID,
int oldStatusValue)
Signal to a job that its underlying output connector has returned.
|
void |
JobManager.noteOutputConnectorRegistration(java.lang.String[] connectionNames)
Note the registration of an output connector used by the specified connections.
|
protected void |
JobManager.noteOutputJobDeregistration(java.util.List<java.lang.Long> jobIDs) |
protected void |
JobManager.noteOutputJobRegistration(java.util.List<java.lang.Long> jobIDs) |
void |
JobManager.noteTransformationConnectionChange(java.lang.String connectionName)
Note a change in transformation connection configuration.
|
void |
Jobs.noteTransformationConnectionChange(java.lang.String connectionName)
Note a change in transformation connection configuration.
|
protected void |
JobManager.noteTransformationConnectionDeregistration(java.util.List<java.lang.String> list)
Note deregistration for a batch of transformation connection names.
|
protected void |
JobManager.noteTransformationConnectionRegistration(java.util.List<java.lang.String> list)
Note registration for a batch of transformation connection names.
|
void |
Jobs.noteTransformationConnectorDeregistration(java.lang.Long jobID,
int oldStatusValue)
Signal to a job that an underlying transformation connector has gone away.
|
void |
JobManager.noteTransformationConnectorDeregistration(java.lang.String[] connectionNames)
Note the deregistration of a transformation connector used by the specified connections.
|
void |
Jobs.noteTransformationConnectorRegistration(java.lang.Long jobID,
int oldStatusValue)
Signal to a job that an underlying transformation connector has been registered.
|
void |
JobManager.noteTransformationConnectorRegistration(java.lang.String[] connectionNames)
Note the registration of a transformation connector used by the specified connections.
|
protected void |
JobManager.noteTransformationJobDeregistration(java.util.List<java.lang.Long> jobIDs) |
protected void |
JobManager.noteTransformationJobRegistration(java.util.List<java.lang.Long> jobIDs) |
void |
Jobs.notificationComplete(java.lang.Long jobID)
Mark job as having properly notified the output connector of completion.
|
void |
JobManager.pauseJob(java.lang.Long jobID)
Pause a job.
|
void |
Jobs.pauseJob(java.lang.Long jobID)
Pause a job.
|
protected void |
Carrydown.performDeleteRecords(java.lang.Long jobID,
java.util.List<java.lang.String> list) |
protected void |
Carrydown.performExistsCheck(java.util.Set<Carrydown.ValueRecord> presentSet,
java.lang.String query,
java.util.ArrayList list)
Do the exists check, in batch.
|
protected void |
IntrinsicLink.performExistsCheck(java.util.Set<java.lang.String> presentMap,
java.lang.Long jobID,
java.lang.String linkType,
java.lang.String childIDHash,
java.util.List<java.lang.String> list)
Do the exists check, in batch.
|
protected void |
HopCount.performFindMissingRecords(java.lang.Long jobID,
java.lang.String[] affectedLinkTypes,
java.util.ArrayList list,
java.util.Map<HopCount.Question,java.lang.Long> matchMap)
Limited find for missing records.
|
protected void |
HopCount.performGetCachedDistanceDeps(java.util.Map<java.lang.Long,HopCount.DocumentNode> depsMap,
java.util.ArrayList list)
Do a limited fetch of cached distance dependencies
|
protected void |
HopCount.performGetCachedDistances(HopCount.DocumentNode[] rval,
java.util.Map<HopCount.Question,java.lang.Integer> indexMap,
java.util.Map<java.lang.Long,HopCount.DocumentNode> depsMap,
java.lang.Long jobID,
java.util.ArrayList ltList,
java.util.ArrayList list)
Do a limited fetch of cached distances
|
protected void |
HopCount.performMarkAddDeps(java.lang.String query,
java.util.ArrayList list)
Do the work of marking add-dep-dependent links in the hopcount table.
|
protected void |
IntrinsicLink.performRemoveDocumentLinks(java.util.List<java.lang.String> list,
java.lang.Long jobID) |
protected void |
IntrinsicLink.performRemoveLinks(java.util.List<java.lang.String> list,
java.lang.Long jobID,
java.lang.String commonNewExpression,
java.util.ArrayList commonNewParams) |
protected void |
IntrinsicLink.performRestoreLinks(java.lang.Long jobID,
java.util.List<java.lang.String> list) |
protected void |
Carrydown.performRestoreRecords(java.lang.String query,
java.lang.Long jobID,
java.util.List<java.lang.String> list) |
protected void |
IntrinsicLink.performRevertLinks(java.lang.Long jobID,
java.util.List<java.lang.String> list) |
protected void |
Carrydown.performRevertRecords(java.lang.String query,
java.lang.Long jobID,
java.util.List<java.lang.String> list) |
void |
JobManager.prepareDeleteScan(java.lang.Long jobID)
Prepare for a delete scan.
|
void |
JobQueue.prepareDeleteScan(java.lang.Long jobID)
Prepare for a job delete pass.
|
void |
JobManager.prepareForClusterStart()
Prepare to start the entire cluster.
|
void |
JobQueue.prepareFullScan(java.lang.Long jobID)
Prepare for a "full scan" job.
|
protected void |
JobManager.prepareFullScan(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
int hopcountMethod)
Prepare for a full scan.
|
void |
JobQueue.prepareIncrementalScan(java.lang.Long jobID)
Prepare for an "incremental" job.
|
void |
JobManager.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 |
JobQueue.preparePartialScan(java.lang.Long jobID)
Prepare for a "partial" job.
|
void |
JobQueue.prioritizeQueuedDocuments(java.lang.Long jobID)
Mark queued documents for prioritization
|
protected void |
JobManager.processDeleteHashSet(java.lang.Long jobID,
java.util.HashMap resultHash,
java.util.ArrayList list)
Helper method: look up rows affected by a deleteRecords operation.
|
protected void |
HopCount.processFind(int[] rval,
java.util.Map rvalMap,
java.lang.Long jobID,
java.lang.String linkType,
java.util.ArrayList list)
Process a portion of a find request for hopcount information.
|
protected void |
JobManager.processParentHashSet(java.lang.Long jobID,
java.util.HashMap resultHash,
java.util.ArrayList list)
Helper method: look up rows affected by a restoreRecords operation.
|
boolean |
HopCount.processQueue(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
int hopcountMethod)
Process a stage of the propagation queue for a job.
|
protected void |
JobQueue.processRemainingDocuments(java.util.Map idMap,
java.lang.Long jobID,
java.util.ArrayList list,
java.util.Map inSet)
Process the specified set of documents.
|
void |
JobQueue.queueAllExisting(java.lang.Long jobID)
For ADD_CHANGE_DELETE jobs where the specifications have been changed,
we must reconsider every existing document.
|
protected void |
JobManager.queueAllExisting(java.lang.Long jobID,
java.lang.String[] legalLinkTypes)
Queue all existing.
|
protected HopCount.DocumentNode[] |
HopCount.DocumentHash.queueQuestions(HopCount.Question[] questions)
Queue up a set of questions.
|
void |
JobQueue.reactivateHopcountRemovedRecords(java.lang.Long jobID)
Flip all records for a job that have status HOPCOUNTREMOVED back to PENDING.
|
protected HopCount.DocumentNode[] |
HopCount.readCachedNodes(java.lang.Long jobID,
HopCount.Question[] unansweredQuestions)
Find the cached distance from a set of identifiers to the root.
|
java.util.Map |
HopFilterManager.readRows(java.lang.Long id)
Read rows for a given owner id.
|
ScheduleRecord[][] |
Jobs.readScheduleRecords(java.lang.Long[] jobIDs)
Read schedule records for a specified set of jobs.
|
boolean |
Carrydown.recordCarrydownData(java.lang.Long jobID,
java.lang.String parentDocumentIDHash,
java.lang.String childDocumentIDHash,
java.lang.String[] documentDataNames,
java.lang.String[][] documentDataValueHashes,
java.lang.Object[][] documentDataValues,
java.lang.String processID)
Add carrydown data for a given parent/child pair.
|
boolean[] |
Carrydown.recordCarrydownDataMultiple(java.lang.Long jobID,
java.lang.String parentDocumentIDHash,
java.lang.String[] childDocumentIDHashes,
java.lang.String[][] dataNames,
java.lang.String[][][] dataValueHashes,
java.lang.Object[][][] dataValues,
java.lang.String processID)
Add carrydown data to the table.
|
boolean |
HopCount.recordReference(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String sourceDocumentIDHash,
java.lang.String targetDocumentIDHash,
java.lang.String linkType,
int hopcountMethod,
java.lang.String processID)
Record a reference from source to target.
|
boolean[] |
HopCount.recordReferences(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String sourceDocumentIDHash,
java.lang.String[] targetDocumentIDHashes,
java.lang.String linkType,
int hopcountMethod,
java.lang.String processID)
Record a set of references from source to target.
|
java.lang.String[] |
IntrinsicLink.recordReferences(java.lang.Long jobID,
java.lang.String sourceDocumentIDHash,
java.lang.String[] targetDocumentIDHashes,
java.lang.String linkType,
java.lang.String processID)
Record a references from source to targets.
|
void |
HopCount.recordSeedReferences(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
java.lang.String[] targetDocumentIDHashes,
int hopcountMethod,
java.lang.String processID)
Record references from a set of documents to the root.
|
void |
IntrinsicLink.removeDocumentLinks(java.lang.Long jobID,
java.lang.String[] documentIDHashes)
Remove all links that mention a specific set of documents.
|
void |
IntrinsicLink.removeDocumentLinks(java.lang.Long jobID,
java.lang.String joinTableName,
java.lang.String joinTableIDColumn,
java.lang.String joinTableJobColumn,
java.lang.String joinTableCriteria,
java.util.ArrayList joinTableParams)
Remove all links that mention a specific set of documents, as described by a join.
|
void |
JobManager.removeJob(java.lang.Long jobID)
Remove a job, from the notification state.
|
void |
IntrinsicLink.removeLinks(java.lang.Long jobID,
java.lang.String commonNewExpression,
java.util.ArrayList commonNewParams,
java.lang.String[] sourceDocumentIDHashes)
Remove all target links of the specified source documents that are not marked as "new" or "existing", and
return the others to their base state.
|
void |
HopDeleteDeps.removeMarkedRows(java.lang.String parentTable,
java.lang.String parentIDHashField,
java.lang.String query,
java.util.ArrayList queryList)
Remove rows that correspond to specific hopcount records.
|
void |
JobManager.requeueDocument(DocumentDescription documentDescription,
java.lang.Long executeTime,
int action)
Requeue a document for further processing in the future.
|
void |
JobManager.requeueDocumentMultiple(DocumentDescription[] documentDescriptions,
java.lang.Long[] executeTimes,
int[] actions)
Requeue a document for further processing in the future.
|
void |
JobManager.resetCleaningDocument(DocumentDescription documentDescription,
long checkTime)
Reset a cleaning document back to its former state.
|
void |
JobManager.resetCleaningDocumentMultiple(DocumentDescription[] documentDescriptions,
long checkTime)
Reset a set of cleaning documents for further processing in the future.
|
void |
JobManager.resetDeleteNotifyJob(java.lang.Long jobID)
Reset a job that is delete notifying back to "ready for delete notify"
state.
|
void |
JobManager.resetDeleteStartupWorkerStatus(java.lang.String processID)
Reset as part of restoring delete startup threads.
|
void |
Jobs.resetDeleteStartupWorkerStatus(java.lang.String processID)
Reset delete startup worker thread status.
|
void |
JobManager.resetDeletingDocument(DocumentDescription documentDescription,
long checkTime)
Reset a deleting document back to its former state.
|
void |
JobManager.resetDeletingDocumentMultiple(DocumentDescription[] documentDescriptions,
long checkTime)
Reset a set of deleting documents for further processing in the future.
|
void |
JobManager.resetDocCleanupWorkerStatus(java.lang.String processID)
Reset as part of restoring doc cleanup threads.
|
void |
JobQueue.resetDocCleanupWorkerStatus(java.lang.String processID)
Reset doc cleaning worker status.
|
void |
JobManager.resetDocDeleteWorkerStatus(java.lang.String processID)
Reset as part of restoring doc delete threads.
|
void |
JobQueue.resetDocDeleteWorkerStatus(java.lang.String processID)
Reset doc delete worker status.
|
void |
JobManager.resetDocument(DocumentDescription documentDescription,
long executeTime,
int action,
long failTime,
int failCount)
Reset an active document back to its former state.
|
void |
JobManager.resetDocumentMultiple(DocumentDescription[] documentDescriptions,
long executeTime,
int action,
long failTime,
int failCount)
Reset a set of documents for further processing in the future.
|
void |
JobManager.resetDocumentWorkerStatus(java.lang.String processID)
Reset as part of restoring document worker threads.
|
void |
JobQueue.resetDocumentWorkerStatus(java.lang.String processID)
Reset as part of restoring document worker threads.
|
void |
JobManager.resetJobs(long currentTime,
java.util.List<IJobDescription> resetJobs)
Reset eligible jobs either back to the "inactive" state, or make them active again.
|
void |
JobManager.resetJobSchedule(java.lang.Long jobID)
Reset job schedule.
|
void |
JobManager.resetNotificationWorkerStatus(java.lang.String processID)
Reset as part of restoring notification threads.
|
void |
Jobs.resetNotificationWorkerStatus(java.lang.String processID)
Reset notification worker thread status.
|
void |
JobManager.resetNotifyJob(java.lang.Long jobID)
Reset a job that is notifying back to "ready for notify"
state.
|
void |
JobQueue.resetPendingDocumentSchedules(java.lang.Long jobID)
Reset schedule for all PENDINGPURGATORY entries.
|
void |
JobManager.resetSeedingWorkerStatus(java.lang.String processID)
Reset as part of restoring seeding threads.
|
void |
Jobs.resetSeedingWorkerStatus(java.lang.String processID)
Reset as part of restoring seeding worker threads.
|
void |
JobManager.resetSeedJob(java.lang.Long jobID)
Reset a seeding job back to "active" state.
|
void |
JobManager.resetStartDeleteJob(java.lang.Long jobID)
Reset a job starting for delete back to "ready for delete"
state.
|
void |
JobManager.resetStartupJob(java.lang.Long jobID)
Reset a starting job back to "ready for startup" state.
|
void |
JobManager.resetStartupWorkerStatus(java.lang.String processID)
Reset as part of restoring startup threads.
|
void |
Jobs.resetStartupWorkerStatus(java.lang.String processID)
Reset startup worker thread status.
|
void |
Carrydown.restart()
Clean up after all process IDs.
|
void |
EventManager.restart()
Clean up after all processIDs.
|
void |
HopCount.restart()
Clean up after all process IDs.
|
void |
IntrinsicLink.restart()
Clean up after all process IDs
|
void |
JobQueue.restart()
Cleanup after all processIDs.
|
void |
Jobs.restart()
Clean up after all process IDs.
|
void |
Carrydown.restart(java.lang.String processID)
Reset, at startup time.
|
void |
EventManager.restart(java.lang.String processID)
Prepare for restart.
|
void |
HopCount.restart(java.lang.String processID)
Reset, at startup time.
|
void |
IntrinsicLink.restart(java.lang.String processID)
Reset, at startup time.
|
void |
JobQueue.restart(java.lang.String processID)
Restart.
|
void |
Jobs.restart(java.lang.String processID)
This method is called on a restart.
|
void |
Carrydown.restartCluster()
Reset, at startup time, entire cluster
|
void |
EventManager.restartCluster()
Restart cluster.
|
void |
HopCount.restartCluster()
Restart entire cluster.
|
void |
IntrinsicLink.restartCluster() |
void |
JobQueue.restartCluster()
Restart for entire cluster.
|
void |
Jobs.restartCluster() |
void |
JobManager.restartJob(java.lang.Long jobID)
Restart a paused job.
|
void |
Jobs.restartJob(java.lang.Long jobID)
Restart a job.
|
void |
IntrinsicLink.restoreLinks(java.lang.Long jobID,
java.lang.String[] sourceDocumentIDHashes)
Return all target links of the specified source documents to their base state.
|
void |
Carrydown.restoreRecords(java.lang.Long jobID,
java.lang.String[] parentDocumentIDHashes)
Return all records belonging to the specified parent documents to the base state,
and delete the old (eliminated) child records.
|
java.lang.String[] |
JobManager.retrieveParentData(java.lang.Long jobID,
java.lang.String docIDHash,
java.lang.String dataName)
Retrieve specific parent data for a given document.
|
CharacterInput[] |
JobManager.retrieveParentDataAsFiles(java.lang.Long jobID,
java.lang.String docIDHash,
java.lang.String dataName)
Retrieve specific parent data for a given document.
|
void |
JobManager.retryDeleteNotification(JobNotifyRecord jnr,
long failTime,
int failCount)
Retry delete notification.
|
void |
Jobs.retryDeleteNotification(java.lang.Long jobID,
long failTime,
int failCount)
Retry delete notification.
|
void |
JobManager.retryNotification(JobNotifyRecord jnr,
long failTime,
int failCount)
Retry notification.
|
void |
Jobs.retryNotification(java.lang.Long jobID,
long failTime,
int failCount)
Retry notification.
|
void |
JobManager.retrySeeding(JobSeedingRecord jsr,
long failTime,
int failCount)
Retry seeding.
|
void |
Jobs.retrySeeding(java.lang.Long jobID,
long failTime,
int failCount)
Retry seeding.
|
void |
JobManager.retryStartup(JobStartRecord jsr,
long failTime,
int failCount)
Retry startup.
|
void |
Jobs.retryStartup(java.lang.Long jobID,
boolean requestMinimum,
long failTime,
int failCount)
Retry startup.
|
void |
Jobs.returnJobToActive(java.lang.Long jobID)
Put job back into active state, from the shutting-down state.
|
void |
JobManager.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 |
IntrinsicLink.revertLinks(java.lang.Long jobID,
java.lang.String[] sourceDocumentIDHashes)
Throw away links added during (aborted) processing.
|
void |
HopCount.revertParents(java.lang.Long jobID,
java.lang.String[] sourceDocumentHashes)
Revert newly-added links, because of a possibly incomplete document processing phase.
|
void |
Carrydown.revertRecords(java.lang.Long jobID,
java.lang.String[] parentDocumentIDHashes)
Revert all records belonging to the specified parent documents to their original,
pre-modified, state.
|
void |
JobManager.save(IJobDescription jobDescription)
Save a job.
|
void |
Jobs.save(IJobDescription jobDescription)
Save a job description.
|
static java.lang.String |
JobQueue.seedstatusToString(int status)
Convert seedstatus value to a string.
|
void |
JobQueue.setCleaningStatus(java.lang.Long id,
java.lang.String processID)
Set the status of a document to "being cleaned".
|
void |
JobQueue.setDeletingStatus(java.lang.Long id,
java.lang.String processID)
Set the status of a document to "being deleted".
|
void |
JobQueue.setRequeuedStatus(java.lang.Long id,
java.lang.Long checkTime,
int action,
long failTime,
int failCount)
Set the status on a record, including check time and priority.
|
void |
JobQueue.setUncleaningStatus(java.lang.Long id,
long checkTime)
Set the status of a document to be "no longer cleaning"
|
void |
JobQueue.setUndeletingStatus(java.lang.Long id,
long checkTime)
Set the status of a document to be "no longer deleting"
|
protected void |
JobManager.sleepFor(long amt) |
void |
Jobs.startJob(java.lang.Long jobID,
java.lang.Long windowEnd,
boolean requestMinimum)
Write job status and window end, and clear the endtime field.
|
void |
JobManager.startJobs(long currentTime,
java.util.List<java.lang.Long> unwaitList)
Start all jobs in need of starting.
|
static java.lang.String |
Jobs.startMethodToString(int startMethod)
Get from start method to string.
|
static java.lang.String |
JobQueue.statusToString(int status)
Convert status to string.
|
static java.lang.String |
Jobs.statusToString(int status)
Go from status to string.
|
static int |
JobQueue.stringToAction(java.lang.String value)
Convert action field value to integer.
|
static int |
Jobs.stringToAssessmentState(java.lang.String value)
Go from string to assessment state.
|
static EnumeratedValues |
Jobs.stringToEnumeratedValue(java.lang.String value)
Go from string to enumerated value.
|
static EnumeratedValues |
ScheduleManager.stringToEnumeratedValue(java.lang.String value)
Go from string to enumerated value.
|
static int |
Jobs.stringToHopcountMode(java.lang.String value)
Go from string to hopcount mode.
|
static int |
HopCount.stringToMark(java.lang.String value)
Go from string to mark.
|
static int |
JobQueue.stringToNeedPriority(java.lang.String value)
Convert need priority value to boolean.
|
static boolean |
ScheduleManager.stringToRequestMinimumValue(java.lang.String requestMinimum) |
static int |
JobQueue.stringToSeedstatus(java.lang.String x)
Convert seedstatus field value to a boolean.
|
static int |
Jobs.stringToStartMethod(java.lang.String value)
Go from string to start method.
|
static int |
JobQueue.stringToStatus(java.lang.String value)
Convert status field value to integer.
|
static int |
Jobs.stringToStatus(java.lang.String value)
Go from string to status.
|
static int |
Jobs.stringToType(java.lang.String value)
Go from string to type.
|
static java.lang.String |
Jobs.typeToString(int type)
Go from type to string.
|
void |
JobQueue.unconditionallyAnalyzeTables()
Analyze job tables due to major event
|
void |
Jobs.unwaitJob(java.lang.Long jobID,
int newStatus,
java.lang.Long windowEnd)
Cause job that is in "wait" state to become un-waited.
|
void |
JobQueue.updateActiveRecord(java.lang.Long id,
int currentStatus,
java.lang.String processID)
Set the status to active on a record, leaving alone priority or check time.
|
void |
JobQueue.updateCompletedRecord(java.lang.Long recID,
int currentStatus)
Set the "completed" status for a record.
|
void |
JobQueue.updateExistingRecord(java.lang.Long recordID,
int currentStatus,
java.lang.Long checkTimeValue,
long desiredExecuteTime,
boolean otherChangesSeen,
IPriorityCalculator desiredPriority,
java.lang.String[] prereqEvents)
Update an existing record (as the result of a reference add).
|
void |
JobQueue.updateExistingRecordInitial(java.lang.Long recordID,
int currentStatus,
java.lang.Long checkTimeValue,
long desiredExecuteTime,
IPriorityCalculator desiredPriority,
java.lang.String[] prereqEvents,
java.lang.String processID)
Update an existing record (as the result of an initial add).
|
void |
Jobs.updateLastTime(java.lang.Long jobID,
long currentTime)
Update a job's last-time field.
|
boolean |
JobQueue.updateOrHopcountRemoveRecord(java.lang.Long recID,
int currentStatus)
Either mark a record as hopcountremoved, or set status to "rescan", depending on the
record's state.
|
protected void |
JobQueue.updateRemainingDocuments(java.util.ArrayList list,
java.lang.String processID)
Update the specified set of documents to be "NEWSEED"
|
void |
Jobs.waitJob(java.lang.Long jobID,
int newStatus)
Cause job that is in active or paused state to become waited.
|
void |
JobManager.waitJobs(long currentTime,
java.util.List<java.lang.Long> waitList)
Put active or paused jobs in wait state, if they've exceeded their window.
|
protected void |
HopCount.writeCachedDistance(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
HopCount.DocumentNode dn,
int hopcountMethod)
Write a distance into the cache.
|
void |
HopDeleteDeps.writeDependency(java.lang.Long ownerID,
java.lang.Long jobID,
DeleteDependency dd)
Write a delete dependency.
|
void |
JobQueue.writeDocPriority(java.lang.Long rowID,
IPriorityCalculator priority)
Write out a document priority
|
void |
JobManager.writeDocumentPriorities(DocumentDescription[] documentDescriptions,
IPriorityCalculator[] priorities)
Save a set of document priorities.
|
void |
PipelineManager.writeOutputStage(java.lang.Long ownerID,
java.lang.String outputConnectionName,
java.lang.String outputSpecification)
Write an output stage (part of the upgrade code).
|
void |
Jobs.writePermanentStatus(java.lang.Long jobID,
int status)
Update a job's status.
|
void |
Jobs.writePermanentStatus(java.lang.Long jobID,
int status,
boolean clearFailTime)
Update a job's status.
|
void |
Jobs.writePermanentStatus(java.lang.Long jobID,
int status,
java.lang.Long reseedTime)
Update a job's status, and its reseed time.
|
void |
Jobs.writePermanentStatus(java.lang.Long jobID,
int status,
java.lang.Long reseedTime,
boolean clearFailTime)
Update a job's status, and its reseed time.
|
void |
HopFilterManager.writeRows(java.lang.Long ownerID,
IJobDescription list)
Write a filter list into the database.
|
void |
NotificationManager.writeRows(java.lang.Long ownerID,
IJobDescription job)
Write a pipeline list into the database.
|
void |
PipelineManager.writeRows(java.lang.Long ownerID,
IJobDescription job)
Write a pipeline list into the database.
|
void |
ScheduleManager.writeRows(java.lang.Long ownerID,
IJobDescription list)
Write a schedule list into the database.
|
protected void |
Jobs.writeStatus(java.lang.Long jobID,
int status,
java.lang.Long reseedTime,
java.lang.String processID,
boolean clearFailTime)
Update a job's status, and its reseed time.
|
protected void |
Jobs.writeStatus(java.lang.Long jobID,
int status,
java.lang.String processID,
boolean clearFailTime)
Update a job's status.
|
void |
Jobs.writeTransientStatus(java.lang.Long jobID,
int status,
java.lang.Long reseedTime,
java.lang.String processID)
Update a job's status, and its reseed time.
|
void |
Jobs.writeTransientStatus(java.lang.Long jobID,
int status,
java.lang.String processID)
Update a job's status.
|
| Constructor and Description |
|---|
Carrydown(IDBInterface database)
Constructor.
|
EventManager(IDBInterface database)
Constructor.
|
HopCount(IThreadContext tc,
IDBInterface database)
Constructor.
|
HopDeleteDeps(IDBInterface database)
Constructor.
|
HopFilterManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
IntrinsicLink(IDBInterface database)
Constructor.
|
JobManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
JobQueue(IThreadContext tc,
IDBInterface database)
Constructor.
|
Jobs(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
NotificationManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
PipelineManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
PrereqEventManager(IDBInterface database)
Constructor.
|
ScheduleManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
NotificationConnectionManager.checkConnectorExists(java.lang.String name)
Check if underlying connector exists.
|
INotificationConnection |
NotificationConnectionManager.create()
Create a new notification connection object.
|
java.lang.Object[] |
NotificationConnectionManager.NotificationConnectionExecutor.create(ICacheDescription[] objectDescriptions)
Create a set of new objects to operate on and cache.
|
void |
NotificationConnectionManager.deinstall()
Uninstall the manager.
|
void |
NotificationConnectionManager.delete(java.lang.String name)
Delete a notification connection.
|
void |
NotificationConnectionManager.NotificationConnectionExecutor.execute()
Perform the desired operation.
|
void |
NotificationConnectionManager.NotificationConnectionExecutor.exists(ICacheDescription objectDescription,
java.lang.Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
NotificationConnectionManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
java.lang.String[] |
NotificationConnectionManager.findConnectionsForConnector(java.lang.String className)
Get a list of notification connections that share the same connector.
|
INotificationConnection[] |
NotificationConnectionManager.getAllConnections()
Obtain a list of the notification connections, ordered by name.
|
protected void |
NotificationConnectionManager.getNotificationConnectionsChunk(NotificationConnection[] rval,
java.util.Map returnIndex,
java.util.ArrayList params)
Read a chunk of notification connections.
|
protected NotificationConnection[] |
NotificationConnectionManager.getNotificationConnectionsMultiple(java.lang.String[] connectionNames)
Fetch multiple notification connections at a single time.
|
void |
NotificationConnectionManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
NotificationConnectionManager.install()
Install the manager.
|
INotificationConnection |
NotificationConnectionManager.load(java.lang.String name)
Load a notification connection by name.
|
INotificationConnection[] |
NotificationConnectionManager.loadMultiple(java.lang.String[] names)
Load multiple notification connections by name.
|
protected int |
NotificationConnectionManager.loadMultipleInternal(INotificationConnection[] rval,
int outputIndex,
java.lang.String[] fetchNames,
int inputIndex,
int length) |
boolean |
NotificationConnectionManager.save(INotificationConnection object)
Save a notification connection object.
|
| Constructor and Description |
|---|
NotificationConnectionManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NotificationConnectorPool.closeAllConnectors()
Clean up all open repository connector handles.
|
void |
NotificationConnectorPool.flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
INotificationConnector |
NotificationConnectorPool.grab(INotificationConnection notificationConnection)
Get a notification connector.
|
INotificationConnector[] |
NotificationConnectorPool.LocalPool.grabMultiple(IThreadContext tc,
java.lang.String[] orderingKeys,
java.lang.String[] connectionNames,
java.lang.String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes) |
INotificationConnector[] |
NotificationConnectorPool.grabMultiple(java.lang.String[] orderingKeys,
INotificationConnection[] notificationConnections)
Get multiple notification connectors, all at once.
|
protected boolean |
NotificationConnectorPool.LocalPool.isConnectionNameValid(IThreadContext tc,
java.lang.String connectionName) |
protected boolean |
NotificationConnectorPool.LocalPool.isInstalled(IThreadContext tc,
java.lang.String className) |
void |
NotificationConnectorPool.pollAllConnectors()
Idle notification for inactive repository connector handles.
|
void |
NotificationConnectorPool.release(INotificationConnection connection,
INotificationConnector connector)
Release a notification connector.
|
void |
NotificationConnectorPool.releaseMultiple(INotificationConnection[] connections,
INotificationConnector[] connectors)
Release multiple notification connectors.
|
| Constructor and Description |
|---|
NotificationConnectorPool(IThreadContext threadContext)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
NotificationConnectorManager.deinstall()
Uninstall.
|
IResultSet |
NotificationConnectorManager.getConnectors()
Get ordered list of connectors.
|
java.lang.String |
NotificationConnectorManager.getDescription(java.lang.String className)
Get a description given a class name.
|
void |
NotificationConnectorManager.install()
Install or upgrade.
|
boolean |
NotificationConnectorManager.isInstalled(java.lang.String className)
Check if a particular connector is installed or not.
|
void |
NotificationConnectorManager.registerConnector(java.lang.String description,
java.lang.String className)
Register a new connector.
|
void |
NotificationConnectorManager.removeConnector(java.lang.String className)
Remove a connector.
|
void |
NotificationConnectorManager.unregisterConnector(java.lang.String className)
Unregister a connector.
|
| Constructor and Description |
|---|
NotificationConnectorManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BaseNotificationConnector.notifyOfJobEnd(Specification spec)
Notify of job end.
|
void |
BaseNotificationConnector.notifyOfJobStop(Specification spec)
Notify of job stop.
|
void |
BaseNotificationConnector.notifyOfJobStopErrorAbort(Specification spec)
Notify of job stop due to error abort.
|
void |
BaseNotificationConnector.notifyOfJobStopManualAbort(Specification spec)
Notify of job stop due to manual abort.
|
void |
BaseNotificationConnector.notifyOfJobStopManualPause(Specification spec)
Notify of job stop due to manual pause.
|
void |
BaseNotificationConnector.notifyOfJobStopRestart(Specification spec)
Notify of job stop due to restart.
|
void |
BaseNotificationConnector.notifyOfJobStopSchedulePause(Specification spec)
Notify of job stop due to schedule pause.
|
void |
BaseNotificationConnector.outputSpecificationBody(IHTTPOutput out,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber,
int actualSequenceNumber,
java.lang.String tabName)
Output the specification body section.
|
void |
BaseNotificationConnector.outputSpecificationHeader(IHTTPOutput out,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber,
java.util.List<java.lang.String> tabsArray)
Output the specification header section.
|
java.lang.String |
BaseNotificationConnector.processSpecificationPost(IPostParameters variableContext,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber)
Process a specification post.
|
boolean |
BaseNotificationConnector.requestInfo(Configuration output,
java.lang.String command)
Request arbitrary connector information.
|
void |
BaseNotificationConnector.viewSpecification(IHTTPOutput out,
java.util.Locale locale,
Specification ds,
int connectionSequenceNumber)
View specification.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
RepositoryHistoryManager.addRow(java.lang.String connectionName,
long startTime,
long endTime,
long dataSize,
java.lang.String activityType,
java.lang.String entityIdentifier,
java.lang.String resultCode,
java.lang.String resultDescription)
Add row to table, and reanalyze if necessary.
|
boolean |
RepositoryConnectionManager.checkConnectorExists(java.lang.String name)
Check if underlying connector exists.
|
void |
RepositoryConnectionManager.cleanUpHistoryData(long timeCutoff)
Delete history rows older than a specified timestamp.
|
void |
RepositoryConnectionManager.cleanUpHistoryData(java.lang.String connectionName)
Delete history rows related to a specific connection, upon user request.
|
long |
RepositoryConnectionManager.countHistoryRows(java.lang.String connectionName,
FilterCriteria criteria)
Count the number of rows specified by a given set of criteria.
|
long |
RepositoryHistoryManager.countHistoryRows(java.lang.String connectionName,
FilterCriteria criteria)
Count the number of rows specified by a given set of criteria.
|
IRepositoryConnection |
RepositoryConnectionManager.create()
Create a new repository connection object.
|
java.lang.Object[] |
RepositoryConnectionManager.RepositoryConnectionExecutor.create(ICacheDescription[] objectDescriptions)
Create a set of new objects to operate on and cache.
|
void |
RepositoryConnectionManager.deinstall()
Uninstall the manager.
|
void |
RepositoryHistoryManager.deinstall()
Uninstall the table.
|
void |
ThrottleSpecManager.deinstall()
Uninstall.
|
void |
RepositoryConnectionManager.delete(java.lang.String name)
Delete a repository connection.
|
void |
RepositoryHistoryManager.deleteOldRows(long timeCutoff)
Delete records older than a specified time.
|
void |
RepositoryHistoryManager.deleteOwner(java.lang.String owner)
Delete all records associated with given owner.
|
void |
ThrottleSpecManager.deleteRows(java.lang.String owner)
Delete rows.
|
void |
RepositoryConnectionManager.RepositoryConnectionExecutor.execute()
Perform the desired operation.
|
void |
RepositoryConnectionManager.RepositoryConnectionExecutor.exists(ICacheDescription objectDescription,
java.lang.Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
RepositoryConnectionManager.exportConfiguration(java.io.OutputStream os)
Export configuration
|
java.lang.String[] |
RepositoryConnectionManager.findConnectionsForConnector(java.lang.String className)
Get a list of repository connections that share the same connector.
|
IResultSet |
RepositoryConnectionManager.genHistoryActivityCount(java.lang.String connectionName,
FilterCriteria criteria,
SortOrder sort,
BucketDescription idBucket,
long interval,
int startRow,
int maxRowCount)
Generate a report, listing the start time, activity count, and identifier bucket, given
a time slice (interval) size.
|
IResultSet |
RepositoryConnectionManager.genHistoryByteCount(java.lang.String connectionName,
FilterCriteria criteria,
SortOrder sort,
BucketDescription idBucket,
long interval,
int startRow,
int maxRowCount)
Generate a report, listing the start time, bytes processed, and identifier bucket, given
a time slice (interval) size.
|
IResultSet |
RepositoryConnectionManager.genHistoryResultCodes(java.lang.String connectionName,
FilterCriteria criteria,
SortOrder sort,
BucketDescription resultCodeBucket,
BucketDescription idBucket,
int startRow,
int maxRowCount)
Generate a report, listing the result bucket and identifier bucket.
|
IResultSet |
RepositoryConnectionManager.genHistorySimple(java.lang.String connectionName,
FilterCriteria criteria,
SortOrder sort,
int startRow,
int maxRowCount)
Generate a report, listing the start time, elapsed time, result code and description, number of bytes, and entity identifier.
|
IRepositoryConnection[] |
RepositoryConnectionManager.getAllConnections()
Obtain a list of the repository connections, ordered by name.
|
long |
RepositoryConnectionManager.getMaxRows()
Get the maximum number of rows a window-based report can work with.
|
long |
RepositoryHistoryManager.getMaxRows()
Get the maximum number of rows a window-based report can work with.
|
protected void |
RepositoryConnectionManager.getRepositoryConnectionsChunk(RepositoryConnection[] rval,
java.util.Map returnIndex,
java.util.ArrayList params)
Read a chunk of repository connections.
|
protected RepositoryConnection[] |
RepositoryConnectionManager.getRepositoryConnectionsMultiple(java.lang.String[] connectionNames)
Fetch multiple repository connections at a single time.
|
void |
ThrottleSpecManager.getRows(IRepositoryConnection[] connections,
java.util.Map indexMap,
java.util.ArrayList ownerNameParams)
Fill in a set of throttles corresponding to a set of connection names.
|
void |
RepositoryConnectionManager.importConfiguration(java.io.InputStream is)
Import configuration
|
void |
RepositoryConnectionManager.install()
Install the manager.
|
void |
RepositoryHistoryManager.install(java.lang.String parentTable,
java.lang.String parentField)
Install or upgrade the table.
|
void |
ThrottleSpecManager.install(java.lang.String ownerTable,
java.lang.String owningTablePrimaryKey)
Install or upgrade.
|
boolean |
RepositoryConnectionManager.isGroupReferenced(java.lang.String groupName)
Return true if the specified authority name is referenced.
|
IRepositoryConnection |
RepositoryConnectionManager.load(java.lang.String name)
Load a repository connection by name.
|
IRepositoryConnection[] |
RepositoryConnectionManager.loadMultiple(java.lang.String[] names)
Load multiple repository connections by name.
|
protected int |
RepositoryConnectionManager.loadMultipleInternal(IRepositoryConnection[] rval,
int outputIndex,
java.lang.String[] fetchNames,
int inputIndex,
int length) |
IResultSet |
RepositoryHistoryManager.maxActivityCountReport(java.lang.String connectionName,
FilterCriteria filterCriteria,
SortOrder sort,
BucketDescription idBucket,
long interval,
int startRow,
int maxRowCount)
Get a bucketed history, with sliding window, of maximum activity level.
|
IResultSet |
RepositoryHistoryManager.maxByteCountReport(java.lang.String connectionName,
FilterCriteria filterCriteria,
SortOrder sort,
BucketDescription idBucket,
long interval,
int startRow,
int maxRowCount)
Get a bucketed history, with sliding window, of maximum byte count.
|
IResultSet |
ThrottleSpecManager.readRows(java.lang.String name)
Read rows for a given owner name.
|
void |
RepositoryConnectionManager.recordHistory(java.lang.String connectionName,
java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityIdentifier,
java.lang.String resultCode,
java.lang.String resultDescription,
java.lang.String[] childIdentifiers)
Record time-stamped information about the activity of the connection.
|
IResultSet |
RepositoryHistoryManager.resultCodesReport(java.lang.String connectionName,
FilterCriteria filterCriteria,
SortOrder sort,
BucketDescription resultCodeBucket,
BucketDescription idBucket,
int startRow,
int maxRowCount)
Get a bucketed history of different result code/identifier combinations.
|
boolean |
RepositoryConnectionManager.save(IRepositoryConnection object)
Save a repository connection object.
|
IResultSet |
RepositoryHistoryManager.simpleReport(java.lang.String connectionName,
FilterCriteria criteria,
SortOrder sort,
int startRow,
int maxRowCount)
Get a simple history, based on the passed-in filtering criteria and sort order.
|
void |
ThrottleSpecManager.writeRows(java.lang.String owner,
IRepositoryConnection connection)
Write a throttle spec into the database.
|
| Constructor and Description |
|---|
RepositoryConnectionManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
RepositoryHistoryManager(IThreadContext tc,
IDBInterface database)
Constructor.
|
ThrottleSpecManager(IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RepositoryConnectorPool.closeAllConnectors()
Clean up all open repository connector handles.
|
void |
RepositoryConnectorPool.flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
IRepositoryConnector |
RepositoryConnectorPool.grab(IRepositoryConnection repositoryConnection)
Get a repository connector.
|
IRepositoryConnector[] |
RepositoryConnectorPool.LocalPool.grabMultiple(IThreadContext tc,
java.lang.String[] orderingKeys,
java.lang.String[] connectionNames,
java.lang.String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes) |
IRepositoryConnector[] |
RepositoryConnectorPool.grabMultiple(java.lang.String[] orderingKeys,
IRepositoryConnection[] repositoryConnections)
Get multiple repository connectors, all at once.
|
protected boolean |
RepositoryConnectorPool.LocalPool.isConnectionNameValid(IThreadContext tc,
java.lang.String connectionName) |
protected boolean |
RepositoryConnectorPool.LocalPool.isInstalled(IThreadContext tc,
java.lang.String className) |
void |
RepositoryConnectorPool.pollAllConnectors()
Idle notification for inactive repository connector handles.
|
void |
RepositoryConnectorPool.release(IRepositoryConnection connection,
IRepositoryConnector connector)
Release a repository connector.
|
void |
RepositoryConnectorPool.releaseMultiple(IRepositoryConnection[] connections,
IRepositoryConnector[] connectors)
Release multiple repository connectors.
|
| Constructor and Description |
|---|
RepositoryConnectorPool(IThreadContext threadContext)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
ReprioritizationTracker.assessMinimumDepth(java.lang.Double[] binNamesSet)
Assess the current minimum depth.
|
void |
ReprioritizationTracker.doneReprioritization(java.lang.String reproID)
Complete a reprioritization activity.
|
double |
ReprioritizationTracker.getIncrementBinValue(java.lang.String connectorClass,
java.lang.String binName,
double weightedMinimumDepth)
Get a bin value.
|
double |
ReprioritizationTracker.getMinimumDepth()
Retrieve current minimum depth.
|
java.lang.String |
ReprioritizationTracker.isSpecifiedProcessReprioritizing(java.lang.String processID)
Check if the specified processID is the one performing reprioritization.
|
void |
ReprioritizationTracker.preloadBinValues()
Preload bin values.
|
protected double |
ReprioritizationTracker.readMinimumDepth()
Read minimum depth.
|
protected java.lang.String |
ReprioritizationTracker.readProcessID()
Read process ID.
|
protected java.lang.String |
ReprioritizationTracker.readReproID()
Read repriotization ID.
|
void |
ReprioritizationTracker.startReprioritization(java.lang.String processID,
java.lang.String reproID)
Start a reprioritization activity.
|
protected void |
ReprioritizationTracker.writeMinimumDepth(double depth)
Write minimum depth.
|
protected void |
ReprioritizationTracker.writeProcessID(java.lang.String processID)
Write process ID.
|
protected void |
ReprioritizationTracker.writeReproID(java.lang.String reproID)
Write repro ID.
|
| Constructor and Description |
|---|
ReprioritizationTracker(IThreadContext threadContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WorkerThread.ProcessActivity.addDocumentReference(java.lang.String localIdentifier)
Add a document description to the current job's queue.
|
void |
WorkerThread.ProcessActivity.addDocumentReference(java.lang.String localIdentifier,
java.lang.String parentIdentifier,
java.lang.String relationshipType)
Add a document description to the current job's queue.
|
void |
WorkerThread.ProcessActivity.addDocumentReference(java.lang.String localIdentifier,
java.lang.String parentIdentifier,
java.lang.String relationshipType,
java.lang.String[] dataNames,
java.lang.Object[][] dataValues)
Add a document description to the current job's queue.
|
void |
WorkerThread.ProcessActivity.addDocumentReference(java.lang.String localIdentifier,
java.lang.String parentIdentifier,
java.lang.String relationshipType,
java.lang.String[] dataNames,
java.lang.Object[][] dataValues,
java.lang.Long originationTime)
Add a document description to the current job's queue.
|
void |
WorkerThread.ProcessActivity.addDocumentReference(java.lang.String localIdentifier,
java.lang.String parentIdentifier,
java.lang.String relationshipType,
java.lang.String[] dataNames,
java.lang.Object[][] dataValues,
java.lang.Long originationTime,
java.lang.String[] prereqEventNames)
Add a document description to the current job's queue.
|
void |
SeedingActivity.addSeedDocument(java.lang.String documentIdentifier)
Record a "seed" document identifier.
|
void |
SeedingActivity.addSeedDocument(java.lang.String documentIdentifier,
java.lang.String[] prereqEventNames)
Record a "seed" document identifier.
|
protected static void |
ManifoldCF.addStage(java.lang.String stageName,
java.util.List<java.lang.String> orderedStageNames,
java.util.Set<java.lang.String> keysSeen,
java.util.Map<java.lang.String,ManifoldCF.PipelineStage> pipelineStages) |
void |
SeedingActivity.addUnqueuedSeedDocument(java.lang.String documentIdentifier)
This method receives document identifiers that should be considered part of the seeds, but do not need to be
queued for processing at this time.
|
protected static int |
ManifoldCF.apiDeleteAuthorityConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Delete authority connection.
|
protected static int |
ManifoldCF.apiDeleteAuthorityGroup(IThreadContext tc,
Configuration output,
java.lang.String groupName,
IAuthorizer authorizer)
Delete authority group.
|
protected static int |
ManifoldCF.apiDeleteJob(IThreadContext tc,
Configuration output,
java.lang.Long jobID,
IAuthorizer authorizer)
Delete a job.
|
protected static int |
ManifoldCF.apiDeleteMappingConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Delete mapping connection.
|
protected static int |
ManifoldCF.apiDeleteNotificationConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Delete notification connection.
|
protected static int |
ManifoldCF.apiDeleteOutputConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Delete output connection.
|
protected static int |
ManifoldCF.apiDeleteRepositoryConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Delete repository connection.
|
protected static int |
ManifoldCF.apiDeleteTransformationConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Delete transformation connection.
|
protected static int |
ManifoldCF.apiPostJob(IThreadContext tc,
Configuration output,
Configuration input,
IAuthorizer authorizer)
Post job.
|
protected static int |
ManifoldCF.apiReadAuthorityConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Read authority connection
|
protected static int |
ManifoldCF.apiReadAuthorityConnections(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
Get authority connections
|
protected static int |
ManifoldCF.apiReadAuthorityConnectionStatus(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Read an authority connection status
|
protected static int |
ManifoldCF.apiReadAuthorityConnectors(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
List authority connectors
|
protected static int |
ManifoldCF.apiReadAuthorityGroup(IThreadContext tc,
Configuration output,
java.lang.String groupName,
IAuthorizer authorizer)
Read authority group
|
protected static int |
ManifoldCF.apiReadAuthorityGroups(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
Get authority groups
|
protected static int |
ManifoldCF.apiReadAuthorizationDomains(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
List authorization domains
|
protected static int |
ManifoldCF.apiReadJob(IThreadContext tc,
Configuration output,
java.lang.Long jobID,
IAuthorizer authorizer)
Read a job
|
protected static int |
ManifoldCF.apiReadJobs(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
Read jobs
|
protected static int |
ManifoldCF.apiReadJobStatus(IThreadContext tc,
Configuration output,
java.lang.Long jobID,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> queryParameters,
IAuthorizer authorizer)
Get api job status
|
protected static int |
ManifoldCF.apiReadJobStatuses(IThreadContext tc,
Configuration output,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> queryParameters,
IAuthorizer authorizer)
Get api job statuses
|
protected static int |
ManifoldCF.apiReadJobStatusesNoCounts(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
Get api job statuses
|
protected static int |
ManifoldCF.apiReadJobStatusNoCounts(IThreadContext tc,
Configuration output,
java.lang.Long jobID,
IAuthorizer authorizer)
Get api job status with no counts
|
protected static int |
ManifoldCF.apiReadMappingConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Read mapping connection
|
protected static int |
ManifoldCF.apiReadMappingConnections(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
Get mapping connections
|
protected static int |
ManifoldCF.apiReadMappingConnectionStatus(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Read a mapping connection status
|
protected static int |
ManifoldCF.apiReadMappingConnectors(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
List mapping connectors
|
protected static int |
ManifoldCF.apiReadNotificationConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Read notification connection
|
protected static int |
ManifoldCF.apiReadNotificationConnectionInfo(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
java.lang.String command,
IAuthorizer authorizer)
Read a notification connection's info
|
protected static int |
ManifoldCF.apiReadNotificationConnections(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
Get notification connections
|
protected static int |
ManifoldCF.apiReadNotificationConnectionStatus(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Read a notification connection status
|
protected static int |
ManifoldCF.apiReadNotificationConnectors(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
List notification connectors
|
protected static int |
ManifoldCF.apiReadOutputConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Read output connection
|
protected static int |
ManifoldCF.apiReadOutputConnectionInfo(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
java.lang.String command,
IAuthorizer authorizer)
Read an output connection's info
|
protected static int |
ManifoldCF.apiReadOutputConnections(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
Get output connections
|
protected static int |
ManifoldCF.apiReadOutputConnectionStatus(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Read an output connection status
|
protected static int |
ManifoldCF.apiReadOutputConnectors(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
List output connectors
|
protected static int |
ManifoldCF.apiReadRepositoryConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Read repository connection
|
protected static int |
ManifoldCF.apiReadRepositoryConnectionActivities(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Read the activity list for a given connection name.
|
protected static int |
ManifoldCF.apiReadRepositoryConnectionHistory(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> queryParameters,
IAuthorizer authorizer)
History reports
|
protected static int |
ManifoldCF.apiReadRepositoryConnectionInfo(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
java.lang.String command,
IAuthorizer authorizer)
Read a repository connection's info
|
protected static int |
ManifoldCF.apiReadRepositoryConnectionJobs(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Get jobs for connection
|
protected static int |
ManifoldCF.apiReadRepositoryConnectionQueue(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> queryParameters,
IAuthorizer authorizer)
Queue reports
|
protected static int |
ManifoldCF.apiReadRepositoryConnections(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
Get repository connections
|
protected static int |
ManifoldCF.apiReadRepositoryConnectionStatus(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Read a repository connection status
|
protected static int |
ManifoldCF.apiReadRepositoryConnectors(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
List repository connectors
|
protected static int |
ManifoldCF.apiReadTransformationConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Read transformation connection
|
protected static int |
ManifoldCF.apiReadTransformationConnectionInfo(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
java.lang.String command,
IAuthorizer authorizer)
Read a transformation connection's info
|
protected static int |
ManifoldCF.apiReadTransformationConnections(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
Get transformation connections
|
protected static int |
ManifoldCF.apiReadTransformationConnectionStatus(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Read a transformation connection status
|
protected static int |
ManifoldCF.apiReadTransformationConnectors(IThreadContext tc,
Configuration output,
IAuthorizer authorizer)
List transformation connectors
|
protected static int |
ManifoldCF.apiWriteAbortJob(IThreadContext tc,
Configuration output,
java.lang.Long jobID,
IAuthorizer authorizer)
Abort a job.
|
protected static int |
ManifoldCF.apiWriteAuthorityConnection(IThreadContext tc,
Configuration output,
Configuration input,
java.lang.String connectionName,
IAuthorizer authorizer)
Write authority connection.
|
protected static int |
ManifoldCF.apiWriteAuthorityGroup(IThreadContext tc,
Configuration output,
Configuration input,
java.lang.String groupName,
IAuthorizer authorizer)
Write authority group.
|
protected static int |
ManifoldCF.apiWriteClearHistoryRepositoryConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Clear repository connection history.
|
protected static int |
ManifoldCF.apiWriteClearOutputConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Clear output connection (remove all recorded documents).
|
protected static int |
ManifoldCF.apiWriteClearVersionsOutputConnection(IThreadContext tc,
Configuration output,
java.lang.String connectionName,
IAuthorizer authorizer)
Reset output connection (reset version of all recorded documents).
|
protected static int |
ManifoldCF.apiWriteJob(IThreadContext tc,
Configuration output,
Configuration input,
java.lang.Long jobID,
IAuthorizer authorizer)
Write job.
|
protected static int |
ManifoldCF.apiWriteMappingConnection(IThreadContext tc,
Configuration output,
Configuration input,
java.lang.String connectionName,
IAuthorizer authorizer)
Write mapping connection.
|
protected static int |
ManifoldCF.apiWriteNotificationConnection(IThreadContext tc,
Configuration output,
Configuration input,
java.lang.String connectionName,
IAuthorizer authorizer)
Write notification connection.
|
protected static int |
ManifoldCF.apiWriteOutputConnection(IThreadContext tc,
Configuration output,
Configuration input,
java.lang.String connectionName,
IAuthorizer authorizer)
Write output connection.
|
protected static int |
ManifoldCF.apiWritePauseJob(IThreadContext tc,
Configuration output,
java.lang.Long jobID,
IAuthorizer authorizer)
Pause a job.
|
protected static int |
ManifoldCF.apiWriteRepositoryConnection(IThreadContext tc,
Configuration output,
Configuration input,
java.lang.String connectionName,
IAuthorizer authorizer)
Write repository connection.
|
protected static int |
ManifoldCF.apiWriteReseedJob(IThreadContext tc,
Configuration output,
java.lang.Long jobID,
IAuthorizer authorizer)
Reset incremental seeding for a job.
|
protected static int |
ManifoldCF.apiWriteRestartJob(IThreadContext tc,
Configuration output,
java.lang.Long jobID,
boolean requestMinimum,
IAuthorizer authorizer)
Restart a job.
|
protected static int |
ManifoldCF.apiWriteResumeJob(IThreadContext tc,
Configuration output,
java.lang.Long jobID,
IAuthorizer authorizer)
Resume a job.
|
protected static int |
ManifoldCF.apiWriteStartJob(IThreadContext tc,
Configuration output,
java.lang.Long jobID,
boolean requestMinimum,
IAuthorizer authorizer)
Start a job.
|
protected static int |
ManifoldCF.apiWriteTransformationConnection(IThreadContext tc,
Configuration output,
Configuration input,
java.lang.String connectionName,
IAuthorizer authorizer)
Write transformation connection.
|
boolean |
WorkerThread.ProcessActivity.beginEventSequence(java.lang.String eventName)
Begin an event sequence.
|
boolean |
WorkerThread.ProcessActivity.checkDateIndexable(java.util.Date date)
Detect if a date is indexable or not.
|
boolean |
WorkerThread.CheckActivity.checkDateIndexable(java.util.Date date)
Detect if a date is acceptable downstream or not.
|
boolean |
WorkerThread.ProcessActivity.checkDocumentIndexable(java.io.File localFile)
Check whether a document is indexable by the currently specified output connector.
|
boolean |
WorkerThread.CheckActivity.checkDocumentIndexable(java.io.File localFile)
Pre-determine whether a document (passed here as a File object) is acceptable downstream.
|
boolean |
WorkerThread.ProcessActivity.checkDocumentNeedsReindexing(java.lang.String documentIdentifier,
java.lang.String newVersionString)
Check if a document needs to be reindexed, based on a computed version string.
|
boolean |
WorkerThread.ProcessActivity.checkDocumentNeedsReindexing(java.lang.String documentIdentifier,
java.lang.String componentIdentifier,
java.lang.String newVersionString)
Check if a document needs to be reindexed, based on a computed version string.
|
void |
SeedingActivity.checkJobStillActive()
Check whether current job is still active.
|
void |
WorkerThread.ProcessActivity.checkJobStillActive()
Check whether current job is still active.
|
boolean |
WorkerThread.ProcessActivity.checkLengthIndexable(long length)
Check whether a document of a specified length is indexable by the currently specified output connector.
|
boolean |
WorkerThread.CheckActivity.checkLengthIndexable(long length)
Pre-determine whether a document's length is acceptable downstream.
|
boolean |
WorkerThread.ProcessActivity.checkMimeTypeIndexable(java.lang.String mimeType)
Check whether a mime type is indexable by the currently specified output connector.
|
boolean |
WorkerThread.CheckActivity.checkMimeTypeIndexable(java.lang.String mimeType)
Detect if a mime type is acceptable downstream or not.
|
boolean |
WorkerThread.ProcessActivity.checkURLIndexable(java.lang.String url)
Pre-determine whether a document's URL is indexable by this connector.
|
boolean |
WorkerThread.CheckActivity.checkURLIndexable(java.lang.String url)
Pre-determine whether a document's URL is acceptable downstream.
|
void |
CrawlerAgent.cleanUp(IThreadContext threadContext)
Tear down agent environment.
|
void |
CrawlerAgent.cleanUpAgentData(IThreadContext threadContext,
java.lang.String currentProcessID,
java.lang.String cleanupProcessID)
Cleanup after agents process.
|
void |
CrawlerAgent.cleanUpAllAgentData(IThreadContext threadContext,
java.lang.String currentProcessID)
Cleanup after ALL agents processes.
|
void |
CrawlerAgent.clusterInit(IThreadContext threadContext)
Called ONLY when no other active services of this kind are running.
|
void |
WorkerThread.ProcessActivity.completeEventSequence(java.lang.String eventName)
Complete an event sequence.
|
protected static java.lang.String |
WorkerThread.computeComponentIDHash(java.lang.String componentIdentifier) |
protected static void |
ManifoldCF.createResultsetNode(Configuration output,
IResultSet result,
java.lang.String[] resultColumns)
Add a resultset node to the output.
|
static void |
ManifoldCF.createSystemDatabase(IThreadContext threadContext)
Create system database using superuser properties from properties.xml.
|
static java.lang.String |
ManifoldCF.decodeAPIPathElement(java.lang.String startingPathElement)
Decode path element.
|
void |
CrawlerAgent.deinstall(IThreadContext threadContext)
Uninstall agent.
|
static void |
ManifoldCF.deinstallSystemTables(IThreadContext threadcontext)
Uninstall all the crawler system tables.
|
void |
WorkerThread.ProcessActivity.deleteDocument(java.lang.String documentIdentifier)
Delete the specified document from the search engine index, and from the status table.
|
void |
WorkerThread.ProcessActivity.discard()
Clean up any dangling information, before abandoning this process activity object
|
void |
WorkerThread.DocumentReference.discard()
Close all object data references.
|
protected static void |
JobResetThread.doEndNotifications(IJobDescription jobDescription,
INotificationConnectionManager notificationManager,
INotificationConnectorPool notificationPool) |
void |
SeedingActivity.doneSeeding(boolean isPartial)
Finish a seeding pass
|
protected static void |
JobResetThread.doStopNotifications(IJobDescription jobDescription,
int notificationType,
INotificationConnectionManager notificationManager,
INotificationConnectorPool notificationPool) |
static int |
ManifoldCF.executeDeleteCommand(IThreadContext tc,
Configuration output,
java.lang.String path,
IAuthorizer authorizer)
Execute specified delete command.
|
static int |
ManifoldCF.executePostCommand(IThreadContext tc,
Configuration output,
java.lang.String path,
Configuration input,
IAuthorizer authorizer)
Execute specified post command.
|
static int |
ManifoldCF.executeReadCommand(IThreadContext tc,
Configuration output,
java.lang.String path,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> queryParameters,
IAuthorizer authorizer)
Execute specified read command.
|
static int |
ManifoldCF.executeWriteCommand(IThreadContext tc,
Configuration output,
java.lang.String path,
Configuration input,
IAuthorizer authorizer)
Execute specified write command.
|
static void |
ManifoldCF.exportConfiguration(IThreadContext threadContext,
java.lang.String exportFilename,
java.lang.String passCode)
Atomically export the crawler configuration
|
void |
WorkerThread.ProcessActivity.flush()
Flush the outstanding references into the database.
|
static java.lang.String[] |
ManifoldCF.getActivitiesList(IThreadContext threadContext,
java.lang.String connectionName)
Get the activities list for a given repository connection.
|
double |
PriorityCalculator.getDocumentPriority()
Calculate a document priority value.
|
java.lang.String |
WorkerThread.ExistingVersions.getIndexedVersionString(java.lang.String documentIdentifier)
Retrieve an existing version string given a document identifier.
|
java.lang.String |
WorkerThread.ExistingVersions.getIndexedVersionString(java.lang.String documentIdentifier,
java.lang.String componentIdentifier)
Retrieve a component existing version string given a document identifier.
|
static int |
ManifoldCF.getMaxCleanupThreads(IThreadContext threadContext)
Get the maximum number of cleanup threads.
|
static int |
ManifoldCF.getMaxDeleteThreads(IThreadContext threadContext)
Get the maximum number of delete threads.
|
static int |
ManifoldCF.getMaxExpireThreads(IThreadContext threadContext)
Get the maximum number of expire threads.
|
static int |
ManifoldCF.getMaxWorkerThreads(IThreadContext threadContext)
Get the maximum number of worker threads.
|
static void |
ManifoldCF.importConfiguration(IThreadContext threadContext,
java.lang.String importFilename,
java.lang.String passCode)
Atomically import a crawler configuration
|
void |
WorkerThread.ProcessActivity.ingestDocumentWithException(java.lang.String documentIdentifier,
java.lang.String version,
java.lang.String documentURI,
RepositoryDocument data)
Ingest the current document.
|
void |
WorkerThread.ProcessActivity.ingestDocumentWithException(java.lang.String documentIdentifier,
java.lang.String componentIdentifier,
java.lang.String version,
java.lang.String documentURI,
RepositoryDocument data)
Ingest the current document.
|
void |
CrawlerAgent.initialize(IThreadContext threadContext)
Initialize agent environment.
|
static void |
ManifoldCF.initializeEnvironment(IThreadContext tc)
Initialize environment.
|
void |
CrawlerAgent.install(IThreadContext threadContext)
Install agent.
|
static void |
ManifoldCF.installSystemTables(IThreadContext threadcontext)
Install all the crawler system tables.
|
protected static java.lang.Long |
ManifoldCF.interpretInterval(java.lang.String interval) |
boolean |
CrawlerAgent.isOutputConnectionInUse(IThreadContext threadContext,
java.lang.String connName)
Request permission from agent to delete an output connection.
|
boolean |
CrawlerAgent.isTransformationConnectionInUse(IThreadContext threadContext,
java.lang.String connName)
Request permission from agent to delete a transformation connection.
|
static void |
ManifoldCF.localInitialize(IThreadContext tc) |
protected static int |
ManifoldCF.mapToHopcountMode(java.lang.String mode) |
protected static int |
ManifoldCF.mapToRunMode(java.lang.String mode) |
protected static int |
ManifoldCF.mapToStartMode(java.lang.String startMethod) |
void |
WorkerThread.OutputActivity.noDocument()
Send NO document via the pipeline to the next output connection.
|
void |
WorkerThread.ProcessActivity.noDocument(java.lang.String documentIdentifier,
java.lang.String version)
Remove the specified document from the search engine index, while keeping track of the version information
for it (to reduce churn).
|
void |
WorkerThread.ProcessActivity.noDocument(java.lang.String documentIdentifier,
java.lang.String componentIdentifier,
java.lang.String version)
Remove the specified document from the search engine index, and update the
recorded version information for the document.
|
void |
CrawlerAgent.noteOutputConnectionChange(IThreadContext threadContext,
java.lang.String connectionName)
Note a change in configuration for an output connection.
|
void |
CrawlerAgent.noteOutputConnectorDeregistration(IThreadContext threadContext,
java.lang.String[] connectionNames)
Note the deregistration of a set of output connections.
|
void |
CrawlerAgent.noteOutputConnectorRegistration(IThreadContext threadContext,
java.lang.String[] connectionNames)
Note the registration of a set of output connections.
|
void |
CrawlerAgent.noteTransformationConnectionChange(IThreadContext threadContext,
java.lang.String connectionName)
Note a change in configuration for a transformation connection.
|
void |
CrawlerAgent.noteTransformationConnectorDeregistration(IThreadContext threadContext,
java.lang.String[] connectionNames)
Note the deregistration of a set of transformation connections.
|
void |
CrawlerAgent.noteTransformationConnectorRegistration(IThreadContext threadContext,
java.lang.String[] connectionNames)
Note the registration of a set of transformation connections.
|
protected void |
DeleteStartupResetManager.performResetLogic(IThreadContext tc,
java.lang.String processID)
Reset
|
protected void |
DocCleanupResetManager.performResetLogic(IThreadContext tc,
java.lang.String processID)
Reset
|
protected void |
DocDeleteResetManager.performResetLogic(IThreadContext tc,
java.lang.String processID)
Reset
|
protected void |
NotificationResetManager.performResetLogic(IThreadContext tc,
java.lang.String processID)
Reset
|
protected abstract void |
ResetManager.performResetLogic(IThreadContext tc,
java.lang.String processID)
Do the reset logic.
|
protected void |
SeedingResetManager.performResetLogic(IThreadContext tc,
java.lang.String processID)
Reset
|
protected void |
StartupResetManager.performResetLogic(IThreadContext tc,
java.lang.String processID)
Reset
|
protected void |
WorkerResetManager.performResetLogic(IThreadContext tc,
java.lang.String processID)
Reset
|
protected static void |
ManifoldCF.processAuthorityConnection(AuthorityConnection connection,
ConfigurationNode connectionNode)
Convert input hierarchy into an AuthorityConnection object.
|
protected static void |
ManifoldCF.processAuthorityGroup(AuthorityGroup group,
ConfigurationNode groupNode)
Convert input hierarchy into an AuthorityGroup object.
|
protected static void |
WorkerThread.processDeleteLists(IPipelineConnections pipelineConnections,
IRepositoryConnector connector,
IRepositoryConnection connection,
IJobManager jobManager,
java.util.List<QueuedDocument> deleteList,
IIncrementalIngester ingester,
java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
WorkerThread.OutputActivity ingestLogger,
int hopcountMethod,
IReprioritizationTracker rt,
long currentTime)
Clear specified documents out of the job queue and from the appliance.
|
protected void |
WorkerThread.ProcessActivity.processDocumentReferences()
Process outstanding document references, in batch.
|
protected static EnumeratedValues |
ManifoldCF.processEnumeratedValues(ConfigurationNode fieldNode) |
protected static void |
WorkerThread.processHopcountRemovalLists(IPipelineConnections pipelineConnections,
IRepositoryConnector connector,
IRepositoryConnection connection,
IJobManager jobManager,
java.util.List<QueuedDocument> hopcountremoveList,
IIncrementalIngester ingester,
java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
WorkerThread.OutputActivity ingestLogger,
int hopcountMethod,
IReprioritizationTracker rt,
long currentTime)
Mark specified documents as 'hopcount removed', and remove them from the
index.
|
protected static void |
ManifoldCF.processJobDescription(JobDescription jobDescription,
ConfigurationNode jobNode)
Convert a node into a job description.
|
protected static void |
WorkerThread.processJobQueueDeletions(java.util.List<QueuedDocument> jobmanagerDeleteList,
IRepositoryConnector connector,
IRepositoryConnection connection,
IJobManager jobManager,
java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
int hopcountMethod,
IReprioritizationTracker rt,
long currentTime)
Process job queue deletions.
|
protected static void |
WorkerThread.processJobQueueHopcountRemovals(java.util.List<QueuedDocument> jobmanagerRemovalList,
IRepositoryConnector connector,
IRepositoryConnection connection,
IJobManager jobManager,
java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
int hopcountMethod,
IReprioritizationTracker rt,
long currentTime)
Process job queue hopcount removals.
|
protected static void |
ManifoldCF.processMappingConnection(MappingConnection connection,
ConfigurationNode connectionNode)
Convert input hierarchy into an MappingConnection object.
|
protected static void |
ManifoldCF.processNotificationConnection(NotificationConnection connection,
ConfigurationNode connectionNode)
Convert input hierarchy into a NotificationConnection object.
|
protected static void |
ManifoldCF.processOutputConnection(OutputConnection connection,
ConfigurationNode connectionNode)
Convert input hierarchy into an OutputConnection object.
|
protected static void |
ManifoldCF.processRepositoryConnection(RepositoryConnection connection,
ConfigurationNode connectionNode)
Convert input hierarchy into a RepositoryConnection object.
|
protected static void |
ManifoldCF.processTransformationConnection(TransformationConnection connection,
ConfigurationNode connectionNode)
Convert input hierarchy into a TransformationConnection object.
|
java.lang.String |
WorkerThread.OutputActivity.qualifyAccessToken(java.lang.String authorityNameString,
java.lang.String accessToken)
Qualify an access token appropriately, to match access tokens as returned by mod_aa.
|
static Connectors |
ManifoldCF.readConnectorDeclarations(java.io.File connectorConfigFile)
Read connectors configuration file.
|
protected static long |
StufferThread.readLastTime(ILockManager lockManager) |
void |
DocumentCleanupThread.OutputRemoveActivity.recordActivity(java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityURI,
java.lang.String resultCode,
java.lang.String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
DocumentDeleteThread.OutputRemoveActivity.recordActivity(java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityURI,
java.lang.String resultCode,
java.lang.String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
ExpireThread.OutputRemoveActivity.recordActivity(java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityURI,
java.lang.String resultCode,
java.lang.String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
JobNotificationThread.OutputNotifyActivity.recordActivity(java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityURI,
java.lang.String resultCode,
java.lang.String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
WorkerThread.OutputActivity.recordActivity(java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityURI,
java.lang.String resultCode,
java.lang.String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
SeedingActivity.recordActivity(java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityIdentifier,
java.lang.String resultCode,
java.lang.String resultDescription,
java.lang.String[] childIdentifiers)
Record time-stamped information about the activity of the connector.
|
void |
WorkerThread.ProcessActivity.recordActivity(java.lang.Long startTime,
java.lang.String activityType,
java.lang.Long dataSize,
java.lang.String entityIdentifier,
java.lang.String resultCode,
java.lang.String resultDescription,
java.lang.String[] childIdentifiers)
Record time-stamped information about the activity of the connector.
|
void |
WorkerThread.ProcessActivity.recordDocument(java.lang.String documentIdentifier,
java.lang.String version)
Record a document version, but don't ingest it.
|
void |
WorkerThread.ProcessActivity.recordDocument(java.lang.String documentIdentifier,
java.lang.String componentIdentifier,
java.lang.String version)
Record a document version, WITHOUT reindexing it, or removing it.
|
static void |
ManifoldCF.registerConnectors(IThreadContext tc,
Connectors c)
Register all connectors as specified by a Connectors structure, usually read from the connectors.xml file.
|
static void |
ManifoldCF.registerThisAgent(IThreadContext tc)
Register this agent
|
void |
WorkerThread.ProcessActivity.removeDocument(java.lang.String documentIdentifier)
Remove the specified document primary component permanently from the search engine index,
and from the status table.
|
protected static java.util.List<QueuedDocument> |
WorkerThread.removeFromIndex(IPipelineConnections pipelineConnections,
java.lang.String connectionName,
IJobManager jobManager,
java.util.List<QueuedDocument> deleteList,
IIncrementalIngester ingester,
WorkerThread.OutputActivity ingestLogger)
Remove a specified set of documents from the index.
|
protected static void |
WorkerThread.requeueDocuments(IJobManager jobManager,
java.util.List<QueuedDocument> requeueList,
long retryTime,
long failTime,
int failCount)
Requeue documents after a service interruption was detected.
|
static void |
ManifoldCF.requeueDocumentsDueToCarrydown(IJobManager jobManager,
DocumentDescription[] requeueCandidates,
IRepositoryConnector connector,
IRepositoryConnection connection,
IReprioritizationTracker rt,
long currentTime)
Requeue documents due to carrydown.
|
static void |
ManifoldCF.reregisterAllConnectors(IThreadContext tc)
Register or re-register all connectors, based on a connectors.xml file.
|
static void |
ManifoldCF.resetAllDocumentPriorities(IThreadContext threadContext,
java.lang.String processID)
Reset all (active) document priorities.
|
void |
WorkerThread.ProcessActivity.retainAllComponentDocument(java.lang.String documentIdentifier)
Retain all existing document components of a primary document.
|
void |
WorkerThread.ProcessActivity.retainDocument(java.lang.String documentIdentifier,
java.lang.String componentIdentifier)
Retain existing document component.
|
java.lang.String[] |
WorkerThread.ProcessActivity.retrieveParentData(java.lang.String localIdentifier,
java.lang.String dataName)
Retrieve data passed from parents to a specified child document.
|
CharacterInput[] |
WorkerThread.ProcessActivity.retrieveParentDataAsFiles(java.lang.String localIdentifier,
java.lang.String dataName)
Retrieve data passed from parents to a specified child document.
|
void |
WorkerThread.ProcessActivity.retryDocumentProcessing(java.lang.String localIdentifier)
Abort processing a document (for sequencing reasons).
|
int |
WorkerThread.OutputActivity.sendDocument(java.lang.String documentURI,
RepositoryDocument document)
Send a document via the pipeline to the next output connection.
|
void |
WorkerThread.ProcessActivity.setDocumentOriginationTime(java.lang.String localIdentifier,
java.lang.Long originationTime)
Override a document's origination time.
|
void |
WorkerThread.ProcessActivity.setDocumentScheduleBounds(java.lang.String localIdentifier,
java.lang.Long lowerRecrawlBoundTime,
java.lang.Long upperRecrawlBoundTime,
java.lang.Long lowerExpireBoundTime,
java.lang.Long upperExpireBoundTime)
Override the schedule for the next time a document is crawled.
|
void |
CrawlerAgent.startAgent(IThreadContext threadContext,
java.lang.String processID)
Start the agent.
|
void |
CrawlerAgent.startSystem(IThreadContext threadContext)
Start everything.
|
void |
CrawlerAgent.stopAgent(IThreadContext threadContext)
Stop the agent.
|
void |
CrawlerAgent.stopSystem(IThreadContext threadContext)
Stop the system.
|
static void |
ManifoldCF.unregisterAllConnectors(IThreadContext tc)
Unregister all connectors.
|
static void |
ManifoldCF.unregisterAllConnectors(IThreadContext tc,
Connectors c)
Unregister all connectors which don't match a specified connector list.
|
boolean |
ResetManager.waitForReset(IThreadContext tc)
Enter "wait" state for current thread.
|
static void |
ManifoldCF.writeDocumentPriorities(IThreadContext threadContext,
DocumentDescription[] descs,
java.util.Map<java.lang.String,IRepositoryConnection> connectionMap,
java.util.Map<java.lang.Long,IJobDescription> jobDescriptionMap)
Write a set of document priorities, based on the current queue tracker.
|
protected static void |
StufferThread.writeLastTime(ILockManager lockManager,
long lastTime) |
protected void |
SeedingActivity.writeSeedDocuments(java.lang.String[] docIDHashes,
java.lang.String[] docIDs,
java.lang.String[][] prereqEventNames)
Write specified documents after calculating their priorities
|
| Constructor and Description |
|---|
AssessmentThread(java.lang.String processID)
Constructor.
|
CrawlerAgent()
Constructor.
|
DocumentCleanupStufferThread(DocumentCleanupQueue documentCleanupQueue,
int n,
DocCleanupResetManager resetManager,
java.lang.String processID)
Constructor.
|
DocumentCleanupThread(java.lang.String id,
DocumentCleanupQueue documentCleanupQueue,
DocCleanupResetManager resetManager,
java.lang.String processID)
Constructor.
|
DocumentDeleteStufferThread(DocumentDeleteQueue documentDeleteQueue,
int n,
DocDeleteResetManager resetManager,
java.lang.String processID)
Constructor.
|
DocumentDeleteThread(java.lang.String id,
DocumentDeleteQueue documentDeleteQueue,
DocDeleteResetManager resetManager,
java.lang.String processID)
Constructor.
|
ExpireStufferThread(DocumentCleanupQueue documentQueue,
int n,
WorkerResetManager resetManager,
java.lang.String processID)
Constructor.
|
ExpireThread(java.lang.String id,
DocumentCleanupQueue documentQueue,
WorkerResetManager resetManager,
java.lang.String processID)
Constructor.
|
FinisherThread(java.lang.String processID)
Constructor.
|
HistoryCleanupThread(java.lang.String processID)
Constructor.
|
IdleCleanupThread(java.lang.String processID)
Constructor.
|
JobDeleteThread(java.lang.String processID)
Constructor.
|
JobNotificationThread(NotificationResetManager resetManager,
java.lang.String processID)
Constructor.
|
JobResetThread(java.lang.String processID)
Constructor.
|
JobStartThread(java.lang.String processID)
Constructor.
|
PipelineConnections(IPipelineSpecificationBasic spec,
ITransformationConnectionManager transformationConnectionManager,
IOutputConnectionManager outputConnectionManager) |
PipelineSpecification(IPipelineConnections connections,
IJobDescription job,
IIncrementalIngester ingester) |
PriorityCalculator(IReprioritizationTracker rt,
double currentMinimumDepth,
IRepositoryConnection connection,
java.lang.String[] documentBins,
java.lang.String documentIdentifier) |
PriorityCalculator(IReprioritizationTracker rt,
IRepositoryConnection connection,
java.lang.String[] documentBins,
java.lang.String documentIdentifier)
Constructor.
|
SeedingThread(SeedingResetManager resetManager,
java.lang.String processID)
Constructor.
|
SetPriorityThread(int workerThreadCount,
BlockingDocuments blockingDocuments,
java.lang.String processID)
Constructor.
|
StartDeleteThread(DeleteStartupResetManager resetManager,
java.lang.String processID)
Constructor.
|
StartupThread(StartupResetManager resetManager,
java.lang.String processID)
Constructor.
|
StufferThread(DocumentQueue documentQueue,
int n,
WorkerResetManager resetManager,
QueueTracker qt,
BlockingDocuments blockingDocuments,
float lowWaterFactor,
float stuffSizeFactor,
java.lang.String processID)
Constructor.
|
WorkerThread(java.lang.String id,
DocumentQueue documentQueue,
WorkerResetManager resetManager,
QueueTracker queueTracker,
java.lang.String processID)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ManifoldCFCombinedJettyRunner.getLocalPort()
Returns the Local Port of the first Connector found for the jetty Server.
|
int |
ManifoldCFJettyRunner.getLocalPort()
Returns the Local Port of the first Connector found for the jetty Server.
|
static void |
ManifoldCFJettyRunner.runAgents(IThreadContext tc)
Run the agents process.
|
void |
ManifoldCFCombinedJettyRunner.start() |
void |
ManifoldCFJettyRunner.start() |
void |
ManifoldCFCombinedJettyRunner.stop() |
void |
ManifoldCFJettyRunner.stop() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
APIProfile.checkAllowed(IThreadContext threadContext,
int capability)
Check user capability
|
boolean |
AdminProfile.checkAllowed(IThreadContext threadContext,
int capability)
Check user capability
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Messages.outputResource(IHTTPOutput output,
java.lang.Class classInstance,
java.lang.String pathName,
java.util.Locale locale,
java.lang.String resourceKey,
java.util.Map<java.lang.String,java.lang.String> substitutionParameters,
boolean mapToUpperCase)
Write a resource to HTTP output, specifying what to substitute, and more importantly, how.
|
static void |
Messages.outputResourceWithVelocity(IHTTPOutput output,
java.lang.Class clazz,
java.lang.String bundleName,
java.lang.String pathName,
java.util.Locale locale,
java.lang.String resourceKey,
java.util.Map<java.lang.String,java.lang.Object> contextObjects) |
static void |
Messages.outputResourceWithVelocity(IHTTPOutput output,
java.lang.Class clazz,
java.lang.String bundleName,
java.lang.String pathName,
java.util.Locale locale,
java.lang.String resourceKey,
java.util.Map<java.lang.String,java.lang.String> substitutionParameters,
boolean mapToUpperCase)
Write a resource to HTTP output, specifying what to substitute, and more importantly, how.
|
| Modifier and Type | Method and Description |
|---|---|
BinaryInput |
MultipartWrapper.getBinaryStream(java.lang.String name)
Get a file parameter, as a binary input.
|
| Constructor and Description |
|---|
MultipartWrapper(javax.servlet.http.HttpServletRequest request,
AdminProfile adminProfile)
Constructor.
|