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.
|
String[] |
AgentManager.getAllAgents()
Get a list of all registered agent class names.
|
void |
AgentManager.install()
Install or upgrade.
|
void |
AgentManager.registerAgent(String className)
Register an agent.
|
void |
AgentManager.removeAgent(String className)
Remove an agent.
|
void |
AgentManager.unregisterAgent(String className)
Unregister an agent.
|
Constructor and Description |
---|
AgentManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected XMLContext |
XMLContext.beginTag(String namespaceURI,
String localName,
String qName,
Attributes atts)
This method is meant to be extended by classes that extend this class.
|
protected XMLContext |
XMLWriterContext.beginTag(String namespaceURI,
String localName,
String qName,
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
|
File |
XMLFileContext.getCompletedFile()
Get file object, flushing it, closing it, and clearing it.
|
void |
XMLStream.parse(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(String documentURI,
RepositoryDocument document) |
int |
IncrementalIngester.OutputAddEntryPoint.addOrReplaceDocumentWithException(String documentURI,
RepositoryDocument document) |
int |
IncrementalIngester.PipelineObjectWithVersions.addOrReplaceDocumentWithException(String docKey,
String componentHash,
String documentURI,
RepositoryDocument document,
String newDocumentVersion,
String newParameterVersion,
String authorityNameString,
IOutputActivity finalActivity,
long ingestTime) |
boolean |
IncrementalIngester.OutputAddActivitiesWrapper.checkDateIndexable(Date date)
Detect if a date is acceptable downstream or not.
|
boolean |
IncrementalIngester.PipelineCheckFanout.checkDateIndexable(Date date) |
boolean |
IncrementalIngester.PipelineCheckEntryPoint.checkDateIndexable(Date date) |
boolean |
IncrementalIngester.PipelineAddFanout.checkDateIndexable(Date date) |
boolean |
IncrementalIngester.PipelineAddEntryPoint.checkDateIndexable(Date date) |
boolean |
IncrementalIngester.MonitoredAddActivityWrapper.checkDateIndexable(Date date)
Detect if a date is acceptable downstream or not.
|
boolean |
IncrementalIngester.PipelineObject.checkDateIndexable(Date date,
IOutputCheckActivity finalActivity) |
boolean |
IncrementalIngester.checkDateIndexable(IPipelineSpecification pipelineSpecification,
Date date,
IOutputCheckActivity activity)
Check if a date is indexable.
|
boolean |
IncrementalIngester.OutputAddActivitiesWrapper.checkDocumentIndexable(File localFile)
Pre-determine whether a document (passed here as a File object) is acceptable downstream.
|
boolean |
IncrementalIngester.PipelineCheckFanout.checkDocumentIndexable(File localFile) |
boolean |
IncrementalIngester.PipelineCheckEntryPoint.checkDocumentIndexable(File localFile) |
boolean |
IncrementalIngester.PipelineAddFanout.checkDocumentIndexable(File localFile) |
boolean |
IncrementalIngester.PipelineAddEntryPoint.checkDocumentIndexable(File localFile) |
boolean |
IncrementalIngester.MonitoredAddActivityWrapper.checkDocumentIndexable(File localFile)
Pre-determine whether a document (passed here as a File object) is acceptable downstream.
|
boolean |
IncrementalIngester.PipelineObject.checkDocumentIndexable(File localFile,
IOutputCheckActivity finalActivity) |
boolean |
IncrementalIngester.checkDocumentIndexable(IPipelineSpecification pipelineSpecification,
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,
String mimeType,
IOutputCheckActivity activity)
Check if a mime type is indexable.
|
boolean |
IncrementalIngester.OutputAddActivitiesWrapper.checkMimeTypeIndexable(String mimeType)
Detect if a mime type is acceptable downstream or not.
|
boolean |
IncrementalIngester.PipelineCheckFanout.checkMimeTypeIndexable(String mimeType) |
boolean |
IncrementalIngester.PipelineCheckEntryPoint.checkMimeTypeIndexable(String mimeType) |
boolean |
IncrementalIngester.PipelineAddFanout.checkMimeTypeIndexable(String mimeType) |
boolean |
IncrementalIngester.PipelineAddEntryPoint.checkMimeTypeIndexable(String mimeType) |
boolean |
IncrementalIngester.MonitoredAddActivityWrapper.checkMimeTypeIndexable(String mimeType)
Detect if a mime type is acceptable downstream or not.
|
boolean |
IncrementalIngester.PipelineObject.checkMimeTypeIndexable(String mimeType,
IOutputCheckActivity finalActivity) |
boolean |
IncrementalIngester.checkURLIndexable(IPipelineSpecification pipelineSpecification,
String url,
IOutputCheckActivity activity)
Pre-determine whether a document's URL is indexable by this connector.
|
boolean |
IncrementalIngester.OutputAddActivitiesWrapper.checkURLIndexable(String url)
Pre-determine whether a document's URL is acceptable downstream.
|
boolean |
IncrementalIngester.PipelineCheckFanout.checkURLIndexable(String uri) |
boolean |
IncrementalIngester.PipelineCheckEntryPoint.checkURLIndexable(String uri) |
boolean |
IncrementalIngester.PipelineAddFanout.checkURLIndexable(String uri) |
boolean |
IncrementalIngester.PipelineAddEntryPoint.checkURLIndexable(String uri) |
boolean |
IncrementalIngester.MonitoredAddActivityWrapper.checkURLIndexable(String url)
Pre-determine whether a document's URL is acceptable downstream.
|
boolean |
IncrementalIngester.PipelineObject.checkURLIndexable(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(List<Long> list)
Delete a chunk of row ids.
|
void |
IncrementalIngester.documentCheck(IPipelineSpecificationBasic pipelineSpecificationBasic,
String identifierClass,
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,
String[] identifierClasses,
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,
String identifierClass,
String identifierHash,
IOutputRemoveActivity activities)
Delete a document from the search engine index.
|
void |
IncrementalIngester.documentDeleteMultiple(IPipelineConnections[] pipelineConnections,
String[] identifierClasses,
String[] identifierHashes,
IOutputRemoveActivity activities)
Delete multiple documents from the search engine index.
|
void |
IncrementalIngester.documentDeleteMultiple(IPipelineConnections pipelineConnections,
String[] identifierClasses,
String[] identifierHashes,
IOutputRemoveActivity activities)
Delete multiple documents from the search engine index.
|
boolean |
IncrementalIngester.documentIngest(IPipelineSpecificationWithVersions pipelineSpecificationWithVersions,
String identifierClass,
String identifierHash,
String componentHash,
String documentVersion,
String parameterVersion,
String authorityName,
RepositoryDocument data,
long ingestTime,
String documentURI,
IOutputActivity activities)
Ingest a document.
|
void |
IncrementalIngester.documentNoData(IPipelineSpecificationWithVersions pipelineSpecificationWithVersions,
String identifierClass,
String identifierHash,
String componentHash,
String documentVersion,
String parameterVersion,
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,
String identifierClass,
String identifierHash,
String componentHash,
String documentVersion,
long recordTime)
Record a document version, but don't ingest it.
|
void |
IncrementalIngester.documentRemove(IPipelineConnections pipelineConnections,
String identifierClass,
String identifierHash,
String componentHash,
IOutputRemoveActivity activities)
Remove a document component from the search engine index.
|
void |
IncrementalIngester.documentRemoveMultiple(IPipelineConnections pipelineConnections,
String[] identifierClasses,
String[] identifierHashes,
String componentHash,
IOutputRemoveActivity activities)
Remove multiple document components from the search engine index.
|
protected void |
IncrementalIngester.findRowIdsForDocIds(String[] outputConnectionNames,
Set<Long> rowIDSet,
List<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(String outputConnectionName,
Set<Long> rowIDSet,
List<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(String outputConnectionName,
Set<Long> rowIDSet,
List<String> paramValues,
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(String outputConnectionName,
Set<Long> rowIDSet,
Set<String> uris,
List<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,
String identifierClass,
String identifierHash)
Calculate the average time interval between changes for a document.
|
long[] |
IncrementalIngester.getDocumentUpdateIntervalMultiple(IPipelineSpecificationBasic pipelineSpecificationBasic,
String[] identifierClasses,
String[] identifierHashes)
Calculate the average time interval between changes for a document.
|
protected void |
IncrementalIngester.getDocumentURIChunk(List<IncrementalIngester.DeleteInfo> rval,
String outputConnectionName,
List<String> list)
Get a chunk of document uris.
|
protected void |
IncrementalIngester.getDocumentURIChunk(List<IncrementalIngester.DeleteInfo> rval,
String outputConnectionName,
List<String> list,
String componentHash)
Get a chunk of document uris.
|
protected List<IncrementalIngester.DeleteInfo> |
IncrementalIngester.getDocumentURIMultiple(String outputConnectionName,
String[] identifierClasses,
String[] identifierHashes)
Find out what URIs a SET of document URIs are currently ingested.
|
protected List<IncrementalIngester.DeleteInfo> |
IncrementalIngester.getDocumentURIMultiple(String outputConnectionName,
String[] identifierClasses,
String[] identifierHashes,
String componentHash)
Find out what URIs a SET of document URIs are currently ingested.
|
protected void |
IncrementalIngester.getIntervals(long[] rval,
String[] outputConnectionNames,
List<String> list,
Map<String,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,
String identifierClass,
String identifierHash)
Look up ingestion data for a document.
|
protected void |
IncrementalIngester.getPipelineDocumentIngestDataChunk(IngestStatuses rval,
Map<String,Integer> map,
String[] outputConnectionNames,
List<String> list,
String[] identifierClasses,
String[] identifierHashes)
Get a chunk of document ingest data records.
|
void |
IncrementalIngester.getPipelineDocumentIngestDataMultiple(IngestStatuses rval,
IPipelineSpecificationBasic[] pipelineSpecificationBasics,
String[] identifierClasses,
String[] identifierHashes)
Look up ingestion data for a set of documents.
|
void |
IncrementalIngester.getPipelineDocumentIngestDataMultiple(IngestStatuses rval,
IPipelineSpecificationBasic pipelineSpecificationBasic,
String[] identifierClasses,
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(String docKey,
String componentHash,
String newDocumentVersion,
String newParameterVersion,
String authorityNameString,
IOutputActivity finalActivity,
long ingestTime) |
protected void |
IncrementalIngester.noteDocumentIngest(String outputConnectionName,
String docKey,
String componentHash,
String documentVersion,
String transformationVersion,
String outputVersion,
String packedForcedParameters,
String authorityNameString,
long ingestTime,
String documentURI,
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.
|
String |
IncrementalIngester.OutputAddActivitiesWrapper.qualifyAccessToken(String authorityNameString,
String accessToken)
Qualify an access token appropriately, to match access tokens as returned by mod_aa.
|
String |
IncrementalIngester.PipelineAddFanout.qualifyAccessToken(String authorityNameString,
String accessToken)
Qualify an access token appropriately, to match access tokens as returned by mod_aa.
|
String |
IncrementalIngester.MonitoredAddActivityWrapper.qualifyAccessToken(String authorityNameString,
String accessToken)
Qualify an access token appropriately, to match access tokens as returned by mod_aa.
|
void |
IncrementalIngester.OutputRecordingActivity.recordActivity(Long startTime,
String activityType,
Long dataSize,
String entityURI,
String resultCode,
String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
IncrementalIngester.TransformationRecordingActivity.recordActivity(Long startTime,
String activityType,
Long dataSize,
String entityURI,
String resultCode,
String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
IncrementalIngester.PipelineAddFanout.recordActivity(Long startTime,
String activityType,
Long dataSize,
String entityURI,
String resultCode,
String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
IncrementalIngester.MonitoredAddActivityWrapper.recordActivity(Long startTime,
String activityType,
Long dataSize,
String entityURI,
String resultCode,
String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
IncrementalIngester.PipelineObject.release() |
protected void |
IncrementalIngester.removeDocument(IOutputConnection connection,
String documentURI,
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(String documentURI,
RepositoryDocument document)
Send a document via the pipeline to the next output connection.
|
int |
IncrementalIngester.PipelineAddFanout.sendDocument(String documentURI,
RepositoryDocument document)
Send a document via the pipeline to the next output connection.
|
int |
IncrementalIngester.MonitoredAddActivityWrapper.sendDocument(String documentURI,
RepositoryDocument document)
Send a document via the pipeline to the next output connection.
|
protected void |
IncrementalIngester.updateRowIds(List<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(String fieldName,
Date fieldData)
Add/remove a date field.
|
void |
RepositoryDocument.addField(String fieldName,
Date[] fieldData)
Add/remove a multivalue date field.
|
void |
RepositoryDocument.addField(String fieldName,
Reader fieldData)
Add/remove a character field.
|
void |
RepositoryDocument.addField(String fieldName,
Reader[] fieldData)
Add/remove a multivalue character field.
|
void |
RepositoryDocument.addField(String fieldName,
String fieldData)
Add a character field.
|
void |
RepositoryDocument.addField(String fieldName,
String[] fieldData)
Add/Remove a multivalue character field.
|
int |
IPipelineConnector.addOrReplaceDocumentWithException(String documentURI,
VersionContext pipelineDescription,
RepositoryDocument document,
String authorityNameString,
IOutputAddActivity activities)
Add (or replace) a document in the output data store using the connector.
|
boolean |
IOutputConnectionManager.checkConnectorExists(String name)
Check if underlying connector exists.
|
boolean |
ITransformationConnectionManager.checkConnectorExists(String name)
Check if underlying connector exists.
|
boolean |
IOutputCheckActivity.checkDateIndexable(Date date)
Detect if a document date is acceptable downstream or not.
|
boolean |
IIncrementalIngester.checkDateIndexable(IPipelineSpecification pipelineSpecification,
Date date,
IOutputCheckActivity activity)
Check if a document date is indexable.
|
boolean |
IPipelineConnector.checkDateIndexable(VersionContext pipelineDescription,
Date date,
IOutputCheckActivity checkActivity)
Detect if a document date is acceptable or not.
|
boolean |
IOutputCheckActivity.checkDocumentIndexable(File localFile)
Pre-determine whether a document (passed here as a File object) is acceptable downstream.
|
boolean |
ITransformationCheckActivity.checkDocumentIndexable(File localFile)
Pre-determine whether a document (passed here as a File object) is acceptable downstream.
|
boolean |
IIncrementalIngester.checkDocumentIndexable(IPipelineSpecification pipelineSpecification,
File localFile,
IOutputCheckActivity activity)
Check if a file is indexable.
|
boolean |
IPipelineConnector.checkDocumentIndexable(VersionContext pipelineDescription,
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,
String mimeType,
IOutputCheckActivity activity)
Check if a mime type is indexable.
|
boolean |
IOutputCheckActivity.checkMimeTypeIndexable(String mimeType)
Detect if a mime type is acceptable downstream or not.
|
boolean |
ITransformationCheckActivity.checkMimeTypeIndexable(String mimeType)
Detect if a mime type is acceptable downstream or not.
|
boolean |
IPipelineConnector.checkMimeTypeIndexable(VersionContext pipelineDescription,
String mimeType,
IOutputCheckActivity checkActivity)
Detect if a mime type is acceptable or not.
|
boolean |
IIncrementalIngester.checkURLIndexable(IPipelineSpecification pipelineSpecification,
String url,
IOutputCheckActivity activity)
Pre-determine whether a document's URL is indexable by this connector.
|
boolean |
IOutputCheckActivity.checkURLIndexable(String url)
Pre-determine whether a document's URL is acceptable downstream.
|
boolean |
ITransformationCheckActivity.checkURLIndexable(String url)
Pre-determine whether a document's URL is acceptable downstream.
|
boolean |
IPipelineConnector.checkURLIndexable(VersionContext pipelineDescription,
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,
String currentProcessID,
String cleanupProcessID)
Cleanup after agents process.
|
void |
IAgent.cleanUpAllAgentData(IThreadContext threadContext,
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,
String className)
Uninstall connector.
|
static void |
TransformationConnectorFactory.deinstall(IThreadContext threadContext,
String className)
Uninstall connector.
|
void |
IOutputConnectionManager.delete(String name)
Delete an output connection.
|
void |
ITransformationConnectionManager.delete(String name)
Delete a transformation connection.
|
void |
IIncrementalIngester.documentCheck(IPipelineSpecificationBasic pipelineSpecificationBasic,
String identifierClass,
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,
String[] identifierClasses,
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,
String identifierClass,
String identifierHash,
IOutputRemoveActivity activities)
Delete a document, and all its components, from the search engine index.
|
void |
IIncrementalIngester.documentDeleteMultiple(IPipelineConnections[] pipelineConnections,
String[] identifierClasses,
String[] identifierHashes,
IOutputRemoveActivity activities)
Delete multiple documents, and their components, from the search engine index.
|
void |
IIncrementalIngester.documentDeleteMultiple(IPipelineConnections pipelineConnections,
String[] identifierClasses,
String[] identifierHashes,
IOutputRemoveActivity activities)
Delete multiple documents, and their components, from the search engine index.
|
boolean |
IIncrementalIngester.documentIngest(IPipelineSpecificationWithVersions pipelineSpecificationWithVersions,
String identifierClass,
String identifierHash,
String componentHash,
String documentVersion,
String parameterVersion,
String authorityName,
RepositoryDocument data,
long ingestTime,
String documentURI,
IOutputActivity activities)
Ingest a document.
|
void |
IIncrementalIngester.documentNoData(IPipelineSpecificationWithVersions pipelineSpecificationWithVersions,
String identifierClass,
String identifierHash,
String componentHash,
String documentVersion,
String parameterVersion,
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,
String identifierClass,
String identifierHash,
String componentHash,
String documentVersion,
long recordTime)
Record a document version, but don't ingest it.
|
void |
IIncrementalIngester.documentRemove(IPipelineConnections pipelineConnections,
String identifierClass,
String identifierHash,
String componentHash,
IOutputRemoveActivity activities)
Remove a document component from the search engine index.
|
void |
IIncrementalIngester.documentRemoveMultiple(IPipelineConnections pipelineConnections,
String[] identifierClasses,
String[] identifierHashes,
String componentHash,
IOutputRemoveActivity activities)
Remove multiple document components from the search engine index.
|
void |
IOutputConnectionManager.exportConfiguration(OutputStream os)
Export configuration
|
void |
ITransformationConnectionManager.exportConfiguration(OutputStream os)
Export configuration
|
String[] |
IOutputConnectionManager.findConnectionsForConnector(String className)
Get a list of output connections that share the same connector.
|
String[] |
ITransformationConnectionManager.findConnectionsForConnector(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 String[] |
OutputConnectorFactory.getActivitiesList(IThreadContext threadContext,
String className)
Get the activities supported by this connector.
|
static String[] |
TransformationConnectorFactory.getActivitiesList(IThreadContext threadContext,
String className)
Get the activities supported by this connector.
|
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 String[] |
OutputConnectionManagerFactory.getAllOutputActivities(IThreadContext tc)
Compile a list of all pertinent activities, across all existing output connections.
|
static String[] |
TransformationConnectionManagerFactory.getAllTransformationActivities(IThreadContext tc)
Compile a list of all pertinent activities, across all existing transformation connections.
|
static IOutputConnector |
OutputConnectorFactory.getConnectorNoCheck(String className)
Get an output connector instance, without checking for installed connector.
|
static ITransformationConnector |
TransformationConnectorFactory.getConnectorNoCheck(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.
|
String |
IOutputConnectorManager.getDescription(String className)
Get a description given a class name.
|
String |
ITransformationConnectorManager.getDescription(String className)
Get a description given a class name.
|
long |
IIncrementalIngester.getDocumentUpdateInterval(IPipelineSpecificationBasic pipelineSpecificationBasic,
String identifierClass,
String identifierHash)
Calculate the average time interval between changes for a document.
|
long[] |
IIncrementalIngester.getDocumentUpdateIntervalMultiple(IPipelineSpecificationBasic pipelineSpecificationBasic,
String[] identifierClasses,
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,
String identifierClass,
String identifierHash)
Look up ingestion data for a document.
|
void |
IIncrementalIngester.getPipelineDocumentIngestDataMultiple(IngestStatuses rval,
IPipelineSpecificationBasic[] pipelineSpecificationBasics,
String[] identifierClasses,
String[] identifierHashes)
Look up ingestion data for a set of documents.
|
void |
IIncrementalIngester.getPipelineDocumentIngestDataMultiple(IngestStatuses rval,
IPipelineSpecificationBasic pipelineSpecificationBasic,
String[] identifierClasses,
String[] identifierHashes)
Look up ingestion data for a SET of documents.
|
String[] |
OutputConnectorFactory.getThisActivitiesList(IThreadContext threadContext,
String className)
Get the activities supported by this connector.
|
String[] |
TransformationConnectorFactory.getThisActivitiesList(IThreadContext threadContext,
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(String[] orderingKeys,
IOutputConnection[] outputConnections)
Get multiple output connectors, all at once.
|
ITransformationConnector[] |
ITransformationConnectorPool.grabMultiple(String[] orderingKeys,
ITransformationConnection[] transformationConnections)
Get multiple transformation connectors, all at once.
|
void |
IOutputConnectionManager.importConfiguration(InputStream is)
Import configuration
|
void |
ITransformationConnectionManager.importConfiguration(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,
String className)
Install connector.
|
static void |
TransformationConnectorFactory.install(IThreadContext threadContext,
String className)
Install connector.
|
static IAgent[] |
AgentManagerFactory.instantiateAllAgents(IThreadContext threadContext)
Instantiate the complete set of IAgent objects.
|
protected boolean |
OutputConnectorFactory.isInstalled(IThreadContext tc,
String className) |
protected boolean |
TransformationConnectorFactory.isInstalled(IThreadContext tc,
String className) |
boolean |
IOutputConnectorManager.isInstalled(String className)
Check if a particular connector is installed or not.
|
boolean |
ITransformationConnectorManager.isInstalled(String className)
Check if a particular connector is installed or not.
|
static boolean |
AgentManagerFactory.isOutputConnectionInUse(IThreadContext threadContext,
String connName)
Request permission from all registered agents to delete an output connection.
|
boolean |
IAgent.isOutputConnectionInUse(IThreadContext threadContext,
String connName)
Request permission from agent to delete an output connection.
|
static boolean |
AgentManagerFactory.isTransformationConnectionInUse(IThreadContext threadContext,
String connName)
Request permission from all registered agents to delete a transformation connection.
|
boolean |
IAgent.isTransformationConnectionInUse(IThreadContext threadContext,
String connName)
Request permission from agent to delete a transformation connection.
|
IOutputConnection |
IOutputConnectionManager.load(String name)
Load an output connection by name.
|
ITransformationConnection |
ITransformationConnectionManager.load(String name)
Load an transformation connection by name.
|
IOutputConnection[] |
IOutputConnectionManager.loadMultiple(String[] names)
Load a set of output connections.
|
ITransformationConnection[] |
ITransformationConnectionManager.loadMultiple(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(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,
String connectionName)
Note to all registered agents the change of configuration of an output connection.
|
void |
IAgent.noteOutputConnectionChange(IThreadContext threadContext,
String connectionName)
Note a change in configuration for an output connection.
|
static void |
AgentManagerFactory.noteOutputConnectorDeregistration(IThreadContext threadContext,
String[] connectionNames)
Note to all registered agents the deregistration of an output connector used by the specified connections.
|
void |
IAgent.noteOutputConnectorDeregistration(IThreadContext threadContext,
String[] connectionNames)
Note the deregistration of a set of output connections.
|
static void |
AgentManagerFactory.noteOutputConnectorRegistration(IThreadContext threadContext,
String[] connectionNames)
Note to all registered agents the registration of an output connector used by the specified connections.
|
void |
IAgent.noteOutputConnectorRegistration(IThreadContext threadContext,
String[] connectionNames)
Note the registration of a set of output connections.
|
static void |
AgentManagerFactory.noteTransformationConnectionChange(IThreadContext threadContext,
String connectionName)
Note to all registered agents the change of configuration of a transformation connection.
|
void |
IAgent.noteTransformationConnectionChange(IThreadContext threadContext,
String connectionName)
Note a change in configuration for a transformation connection.
|
static void |
AgentManagerFactory.noteTransformationConnectorDeregistration(IThreadContext threadContext,
String[] connectionNames)
Note to all registered agents the deregistration of a transformation connector used by the specified connections.
|
void |
IAgent.noteTransformationConnectorDeregistration(IThreadContext threadContext,
String[] connectionNames)
Note the deregistration of a set of transformation connections.
|
static void |
AgentManagerFactory.noteTransformationConnectorRegistration(IThreadContext threadContext,
String[] connectionNames)
Note to all registered agents the registration of a transformation connector used by the specified connections.
|
void |
IAgent.noteTransformationConnectorRegistration(IThreadContext threadContext,
String[] connectionNames)
Note the registration of a set of transformation connections.
|
static void |
OutputConnectorFactory.outputConfigurationBody(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
String tabName)
Output the configuration body section.
|
static void |
TransformationConnectorFactory.outputConfigurationBody(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
String tabName)
Output the configuration body section.
|
static void |
OutputConnectorFactory.outputConfigurationHeader(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
ArrayList tabsArray)
Output the configuration header section.
|
static void |
TransformationConnectorFactory.outputConfigurationHeader(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
ArrayList tabsArray)
Output the configuration header section.
|
void |
IPipelineConnector.outputSpecificationBody(IHTTPOutput out,
Locale locale,
Specification os,
int connectionSequenceNumber,
int actualSequenceNumber,
String tabName)
Output the specification body section.
|
void |
IPipelineConnector.outputSpecificationHeader(IHTTPOutput out,
Locale locale,
Specification os,
int connectionSequenceNumber,
List<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 String |
OutputConnectorFactory.processConfigurationPost(IThreadContext threadContext,
String className,
IPostParameters variableContext,
Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
static String |
TransformationConnectorFactory.processConfigurationPost(IThreadContext threadContext,
String className,
IPostParameters variableContext,
Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
String |
IPipelineConnector.processSpecificationPost(IPostParameters variableContext,
Locale locale,
Specification os,
int connectionSequenceNumber)
Process a specification post.
|
String |
IOutputQualifyActivity.qualifyAccessToken(String authorityNameString,
String accessToken)
Qualify an access token appropriately, to match access tokens as returned by mod_aa.
|
void |
IOutputHistoryActivity.recordActivity(Long startTime,
String activityType,
Long dataSize,
String entityURI,
String resultCode,
String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
IIngestLogger.recordDeletionAttempt(String documentIdentifier,
Long startTime,
String entityIdentifier,
String resultCode,
String resultDescription)
Record time-stamped information about a deletion attempt.
|
void |
IIngestLogger.recordIngestionAttempt(String documentIdentifier,
Long startTime,
Long dataSize,
String entityIdentifier,
String resultCode,
String resultDescription)
Record time-stamped information about an ingestion attempt.
|
void |
IAgentManager.registerAgent(String className)
Register an agent.
|
void |
IOutputConnectorManager.registerConnector(String description,
String className)
Register a new connector.
|
void |
ITransformationConnectorManager.registerConnector(String description,
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(String className)
Remove an agent.
|
void |
IOutputConnectorManager.removeConnector(String className)
Remove a connector.
|
void |
ITransformationConnectorManager.removeConnector(String className)
Remove a connector.
|
void |
IOutputConnector.removeDocument(String documentURI,
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,
String command)
Request arbitrary connector information.
|
boolean |
ITransformationConnector.requestInfo(Configuration output,
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(String documentURI,
RepositoryDocument document)
Send a document via the pipeline to the next output connection.
|
void |
IAgent.startAgent(IThreadContext threadContext,
String processID)
Start the agent.
|
void |
IAgent.stopAgent(IThreadContext threadContext)
Stop the agent.
|
void |
IAgentManager.unregisterAgent(String className)
Unregister an agent.
|
void |
IOutputConnectorManager.unregisterConnector(String className)
Unregister a connector.
|
void |
ITransformationConnectorManager.unregisterConnector(String className)
Unregister a connector.
|
static void |
OutputConnectorFactory.viewConfiguration(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams configParams)
View connector configuration.
|
static void |
TransformationConnectorFactory.viewConfiguration(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams configParams)
View connector configuration.
|
void |
IPipelineConnector.viewSpecification(IHTTPOutput out,
Locale locale,
Specification os,
int connectionSequenceNumber)
View specification.
|
Constructor and Description |
---|
OutputSpecification(String xml)
Construct from XML.
|
Modifier and Type | Method and Description |
---|---|
int |
BaseOutputConnector.addOrReplaceDocument(String documentURI,
String outputDescription,
RepositoryDocument document,
String authorityNameString,
IOutputAddActivity activities)
Add (or replace) a document in the output data store using the connector.
|
int |
BaseOutputConnector.addOrReplaceDocumentWithException(String documentURI,
VersionContext pipelineDescription,
RepositoryDocument document,
String authorityNameString,
IOutputAddActivity activities)
Add (or replace) a document in the output data store using the connector.
|
boolean |
BaseOutputConnector.checkDateIndexable(VersionContext pipelineDescription,
Date date,
IOutputCheckActivity checkActivity)
Detect if a document date is acceptable or not.
|
boolean |
BaseOutputConnector.checkDocumentIndexable(File localFile)
Pre-determine whether a document (passed here as a File object) is indexable by this connector.
|
boolean |
BaseOutputConnector.checkDocumentIndexable(String outputDescription,
File localFile)
Pre-determine whether a document (passed here as a File object) is indexable by this connector.
|
boolean |
BaseOutputConnector.checkDocumentIndexable(VersionContext pipelineDescription,
File localFile,
IOutputCheckActivity checkActivity)
Pre-determine whether a document (passed here as a File object) is acceptable or not.
|
boolean |
BaseOutputConnector.checkLengthIndexable(String outputDescription,
long length)
Pre-determine whether a document's length is indexable by this connector.
|
boolean |
BaseOutputConnector.checkLengthIndexable(VersionContext pipelineDescription,
long length,
IOutputCheckActivity checkActivity)
Pre-determine whether a document's length is acceptable.
|
boolean |
BaseOutputConnector.checkMimeTypeIndexable(String mimeType)
Detect if a mime type is indexable or not.
|
boolean |
BaseOutputConnector.checkMimeTypeIndexable(String outputDescription,
String mimeType)
Detect if a mime type is indexable or not.
|
boolean |
BaseOutputConnector.checkMimeTypeIndexable(VersionContext pipelineDescription,
String mimeType,
IOutputCheckActivity checkActivity)
Detect if a mime type is acceptable or not.
|
boolean |
BaseOutputConnector.checkURLIndexable(String outputDescription,
String url)
Pre-determine whether a document's URL is indexable by this connector.
|
boolean |
BaseOutputConnector.checkURLIndexable(VersionContext pipelineDescription,
String url,
IOutputCheckActivity checkActivity)
Pre-determine whether a document's URL is acceptable.
|
String |
BaseOutputConnector.getOutputDescription(OutputSpecification spec)
Get an output version string, given an output specification.
|
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,
Locale locale,
OutputSpecification os,
String tabName)
Output the specification body section.
|
void |
BaseOutputConnector.outputSpecificationBody(IHTTPOutput out,
Locale locale,
Specification os,
int connectionSequenceNumber,
int actualSequenceNumber,
String tabName)
Output the specification body section.
|
void |
BaseOutputConnector.outputSpecificationBody(IHTTPOutput out,
OutputSpecification os,
String tabName)
Output the specification body section.
|
void |
BaseOutputConnector.outputSpecificationHeader(IHTTPOutput out,
Locale locale,
OutputSpecification os,
List<String> tabsArray)
Output the specification header section.
|
void |
BaseOutputConnector.outputSpecificationHeader(IHTTPOutput out,
Locale locale,
Specification os,
int connectionSequenceNumber,
List<String> tabsArray)
Output the specification header section.
|
void |
BaseOutputConnector.outputSpecificationHeader(IHTTPOutput out,
OutputSpecification os,
ArrayList<Object> tabsArray) |
void |
BaseOutputConnector.outputSpecificationHeader(IHTTPOutput out,
OutputSpecification os,
List<String> tabsArray)
Output the specification header section.
|
String |
BaseOutputConnector.processSpecificationPost(IPostParameters variableContext,
Locale locale,
OutputSpecification os)
Process a specification post.
|
String |
BaseOutputConnector.processSpecificationPost(IPostParameters variableContext,
Locale locale,
Specification os,
int connectionSequenceNumber)
Process a specification post.
|
String |
BaseOutputConnector.processSpecificationPost(IPostParameters variableContext,
OutputSpecification os)
Process a specification post.
|
void |
BaseOutputConnector.removeDocument(String documentURI,
String outputDescription,
IOutputRemoveActivity activities)
Remove a document using the connector.
|
boolean |
BaseOutputConnector.requestInfo(Configuration output,
String command)
Request arbitrary connector information.
|
void |
BaseOutputConnector.viewSpecification(IHTTPOutput out,
Locale locale,
OutputSpecification os)
View specification.
|
void |
BaseOutputConnector.viewSpecification(IHTTPOutput out,
Locale locale,
Specification os,
int connectionSequenceNumber)
View specification.
|
void |
BaseOutputConnector.viewSpecification(IHTTPOutput out,
OutputSpecification os)
View specification.
|
Modifier and Type | Method and Description |
---|---|
boolean |
OutputConnectionManager.checkConnectorExists(String name)
Check if underlying connector exists.
|
IOutputConnection |
OutputConnectionManager.create()
Create a new output connection object.
|
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(String name)
Delete an output connection.
|
void |
OutputConnectionManager.OutputConnectionExecutor.execute()
Perform the desired operation.
|
void |
OutputConnectionManager.OutputConnectionExecutor.exists(ICacheDescription objectDescription,
Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
OutputConnectionManager.exportConfiguration(OutputStream os)
Export configuration
|
String[] |
OutputConnectionManager.findConnectionsForConnector(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,
Map returnIndex,
ArrayList params)
Read a chunk of output connections.
|
protected OutputConnection[] |
OutputConnectionManager.getOutputConnectionsMultiple(String[] connectionNames)
Fetch multiple output connections at a single time.
|
void |
OutputConnectionManager.importConfiguration(InputStream is)
Import configuration
|
void |
OutputConnectionManager.install()
Install the manager.
|
IOutputConnection |
OutputConnectionManager.load(String name)
Load an output connection by name.
|
IOutputConnection[] |
OutputConnectionManager.loadMultiple(String[] names)
Load multiple output connections by name.
|
protected int |
OutputConnectionManager.loadMultipleInternal(IOutputConnection[] rval,
int outputIndex,
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,
String[] orderingKeys,
String[] connectionNames,
String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes) |
IOutputConnector[] |
OutputConnectorPool.grabMultiple(String[] orderingKeys,
IOutputConnection[] outputConnections)
Get multiple output connectors, all at once.
|
protected boolean |
OutputConnectorPool.LocalPool.isConnectionNameValid(IThreadContext tc,
String connectionName) |
protected boolean |
OutputConnectorPool.LocalPool.isInstalled(IThreadContext tc,
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.
|
String |
OutputConnectorManager.getDescription(String className)
Get a description given a class name.
|
void |
OutputConnectorManager.install()
Install or upgrade.
|
boolean |
OutputConnectorManager.isInstalled(String className)
Check if a particular connector is installed or not.
|
void |
OutputConnectorManager.registerConnector(String description,
String className)
Register a new connector.
|
void |
OutputConnectorManager.removeConnector(String className)
Remove a connector.
|
void |
OutputConnectorManager.unregisterConnector(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(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,
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,
String connectionName)
Signal output connection needs redoing.
|
static void |
ManifoldCF.signalOutputConnectionRemoved(IThreadContext threadContext,
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(String processID)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
BaseTransformationConnector.addOrReplaceDocumentWithException(String documentURI,
VersionContext pipelineDescription,
RepositoryDocument document,
String authorityNameString,
IOutputAddActivity activities)
Add (or replace) a document in the output data store using the connector.
|
boolean |
BaseTransformationConnector.checkDateIndexable(VersionContext pipelineDescription,
Date date,
IOutputCheckActivity checkActivity)
Detect if a document date is acceptable or not.
|
boolean |
BaseTransformationConnector.checkDocumentIndexable(VersionContext pipelineDescription,
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,
String mimeType,
IOutputCheckActivity checkActivity)
Detect if a mime type is acceptable or not.
|
boolean |
BaseTransformationConnector.checkURLIndexable(VersionContext pipelineDescription,
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,
Locale locale,
Specification os,
int connectionSequenceNumber,
int actualSequenceNumber,
String tabName)
Output the specification body section.
|
void |
BaseTransformationConnector.outputSpecificationHeader(IHTTPOutput out,
Locale locale,
Specification os,
int connectionSequenceNumber,
List<String> tabsArray)
Output the specification header section.
|
String |
BaseTransformationConnector.processSpecificationPost(IPostParameters variableContext,
Locale locale,
Specification os,
int connectionSequenceNumber)
Process a specification post.
|
boolean |
BaseTransformationConnector.requestInfo(Configuration output,
String command)
Request arbitrary connector information.
|
void |
BaseTransformationConnector.viewSpecification(IHTTPOutput out,
Locale locale,
Specification os,
int connectionSequenceNumber)
View specification.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TransformationConnectionManager.checkConnectorExists(String name)
Check if underlying connector exists.
|
ITransformationConnection |
TransformationConnectionManager.create()
Create a new transformation connection object.
|
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(String name)
Delete an output connection.
|
void |
TransformationConnectionManager.TransformationConnectionExecutor.execute()
Perform the desired operation.
|
void |
TransformationConnectionManager.TransformationConnectionExecutor.exists(ICacheDescription objectDescription,
Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
TransformationConnectionManager.exportConfiguration(OutputStream os)
Export configuration
|
String[] |
TransformationConnectionManager.findConnectionsForConnector(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,
Map<String,Integer> returnIndex,
ArrayList params)
Read a chunk of transformation connections.
|
protected TransformationConnection[] |
TransformationConnectionManager.getTransformationConnectionsMultiple(String[] connectionNames)
Fetch multiple output connections at a single time.
|
void |
TransformationConnectionManager.importConfiguration(InputStream is)
Import configuration
|
void |
TransformationConnectionManager.install()
Install the manager.
|
ITransformationConnection |
TransformationConnectionManager.load(String name)
Load a transformation connection by name.
|
ITransformationConnection[] |
TransformationConnectionManager.loadMultiple(String[] names)
Load multiple transformation connections by name.
|
protected int |
TransformationConnectionManager.loadMultipleInternal(ITransformationConnection[] rval,
int outputIndex,
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,
String[] orderingKeys,
String[] connectionNames,
String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes) |
ITransformationConnector[] |
TransformationConnectorPool.grabMultiple(String[] orderingKeys,
ITransformationConnection[] transformationConnections)
Get multiple transformation connectors, all at once.
|
protected boolean |
TransformationConnectorPool.LocalPool.isConnectionNameValid(IThreadContext tc,
String connectionName) |
protected boolean |
TransformationConnectorPool.LocalPool.isInstalled(IThreadContext tc,
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.
|
String |
TransformationConnectorManager.getDescription(String className)
Get a description given a class name.
|
void |
TransformationConnectorManager.install()
Install or upgrade.
|
boolean |
TransformationConnectorManager.isInstalled(String className)
Check if a particular connector is installed or not.
|
void |
TransformationConnectorManager.registerConnector(String description,
String className)
Register a new connector.
|
void |
TransformationConnectorManager.removeConnector(String className)
Remove a connector.
|
void |
TransformationConnectorManager.unregisterConnector(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.
|
String |
AuthorityConnectorManager.getDescription(String className)
Get a description given a class name.
|
void |
AuthorityConnectorManager.install()
Install or upgrade.
|
boolean |
AuthorityConnectorManager.isInstalled(String className)
Check if a particular connector is installed or not.
|
void |
AuthorityConnectorManager.registerConnector(String description,
String className)
Register a new connector.
|
void |
AuthorityConnectorManager.removeConnector(String className)
Remove a connector.
|
void |
AuthorityConnectorManager.unregisterConnector(String className)
Unregister a connector.
|
Constructor and Description |
---|
AuthorityConnectorManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
AuthorizationDomainManager.deinstall()
Uninstall.
|
String |
AuthorizationDomainManager.getDescription(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(String description,
String domainName)
Register a new domain.
|
void |
AuthorizationDomainManager.unregisterDomain(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.
|
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(String name)
Delete an authority group.
|
void |
AuthorityGroupManager.AuthorityGroupExecutor.execute()
Perform the desired operation.
|
void |
AuthorityGroupManager.AuthorityGroupExecutor.exists(ICacheDescription objectDescription,
Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
AuthorityGroupManager.exportConfiguration(OutputStream os)
Export configuration
|
IAuthorityGroup[] |
AuthorityGroupManager.getAllGroups()
Obtain a list of the authority grouops, ordered by name.
|
protected void |
AuthorityGroupManager.getAuthorityGroupsChunk(AuthorityGroup[] rval,
Map returnIndex,
ArrayList params)
Read a chunk of authority groups.
|
protected AuthorityGroup[] |
AuthorityGroupManager.getAuthorityGroupsMultiple(String[] groupNames)
Fetch multiple authority groups at a single time.
|
void |
AuthorityGroupManager.importConfiguration(InputStream is)
Import configuration
|
void |
AuthorityGroupManager.install()
Install the manager.
|
IAuthorityGroup |
AuthorityGroupManager.load(String name)
Load an authority group by name.
|
IAuthorityGroup[] |
AuthorityGroupManager.loadMultiple(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 |
---|---|
String[] |
BaseAuthorityConnector.getAccessTokens(String userName)
Obtain the access tokens for a given user name.
|
AuthorizationResponse |
BaseAuthorityConnector.getAuthorizationResponse(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.
|
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(String name)
Delete an authority connection.
|
void |
AuthorityConnectionManager.AuthorityConnectionExecutor.execute()
Perform the desired operation.
|
void |
AuthorityConnectionManager.AuthorityConnectionExecutor.exists(ICacheDescription objectDescription,
Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
AuthorityConnectionManager.exportConfiguration(OutputStream os)
Export configuration
|
IAuthorityConnection[] |
AuthorityConnectionManager.getAllConnections()
Obtain a list of the authority connections, ordered by name.
|
protected void |
AuthorityConnectionManager.getAuthorityConnectionsChunk(AuthorityConnection[] rval,
Map returnIndex,
ArrayList params)
Read a chunk of authority connections.
|
protected AuthorityConnection[] |
AuthorityConnectionManager.getAuthorityConnectionsMultiple(String[] connectionNames)
Fetch multiple repository connections at a single time.
|
IAuthorityConnection[] |
AuthorityConnectionManager.getDomainConnections(String authDomain)
Obtain a list of the authority connections which correspond to an auth domain.
|
void |
AuthorityConnectionManager.importConfiguration(InputStream is)
Import configuration
|
void |
AuthorityConnectionManager.install()
Install the manager.
|
boolean |
AuthorityConnectionManager.isGroupReferenced(String groupName)
Return true if the specified authority group name is referenced.
|
boolean |
AuthorityConnectionManager.isMappingReferenced(String mappingName)
Return true if the specified mapping name is referenced.
|
IAuthorityConnection |
AuthorityConnectionManager.load(String name)
Load a repository connection by name.
|
IAuthorityConnection[] |
AuthorityConnectionManager.loadMultiple(String[] names)
Load multiple repository connections by name.
|
protected int |
AuthorityConnectionManager.loadMultipleInternal(IAuthorityConnection[] rval,
int outputIndex,
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,
String[] orderingKeys,
String[] connectionNames,
String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes) |
IAuthorityConnector[] |
AuthorityConnectorPool.grabMultiple(String[] orderingKeys,
IAuthorityConnection[] authorityConnections)
Get multiple authority connectors, all at once.
|
protected boolean |
AuthorityConnectorPool.LocalPool.isConnectionNameValid(IThreadContext tc,
String connectionName) |
protected boolean |
AuthorityConnectorPool.LocalPool.isInstalled(IThreadContext tc,
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,
String className)
Uninstall connector.
|
static void |
MappingConnectorFactory.deinstall(IThreadContext threadContext,
String className)
Uninstall connector.
|
void |
IAuthorityConnectionManager.delete(String name)
Delete an authority connection.
|
void |
IAuthorityGroupManager.delete(String name)
Delete an authority group.
|
void |
IMappingConnectionManager.delete(String name)
Delete an mapping connection.
|
void |
IAuthorityConnectionManager.exportConfiguration(OutputStream os)
Export configuration
|
void |
IAuthorityGroupManager.exportConfiguration(OutputStream os)
Export configuration
|
void |
IMappingConnectionManager.exportConfiguration(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(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(String userName)
Obtain the access tokens for a given Active Directory user name.
|
static IAuthorityConnector |
AuthorityConnectorFactory.getConnectorNoCheck(String className)
Get a repository connector instance, but do NOT check if class is installed first!
|
static IMappingConnector |
MappingConnectorFactory.getConnectorNoCheck(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,
String className,
String userName)
Get the default response from a connector.
|
String |
IAuthorityConnectorManager.getDescription(String className)
Get a description given a class name.
|
String |
IAuthorizationDomainManager.getDescription(String domainName)
Get a description given a domain name.
|
String |
IMappingConnectorManager.getDescription(String className)
Get a description given a class name.
|
IAuthorityConnection[] |
IAuthorityConnectionManager.getDomainConnections(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,
String className,
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(String[] orderingKeys,
IAuthorityConnection[] authorityConnections)
Get multiple authority connectors, all at once.
|
IMappingConnector[] |
IMappingConnectorPool.grabMultiple(String[] orderingKeys,
IMappingConnection[] mappingConnections)
Get multiple mapping connectors, all at once.
|
void |
IAuthorityConnectionManager.importConfiguration(InputStream is)
Import configuration
|
void |
IAuthorityGroupManager.importConfiguration(InputStream is)
Import configuration
|
void |
IMappingConnectionManager.importConfiguration(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,
String className)
Install connector.
|
static void |
MappingConnectorFactory.install(IThreadContext threadContext,
String className)
Install connector.
|
boolean |
IAuthorityConnectionManager.isGroupReferenced(String authorityGroup)
Return true if the specified authority group name is referenced.
|
protected boolean |
AuthorityConnectorFactory.isInstalled(IThreadContext tc,
String className) |
protected boolean |
MappingConnectorFactory.isInstalled(IThreadContext tc,
String className) |
boolean |
IAuthorityConnectorManager.isInstalled(String className)
Check if a particular connector is installed or not.
|
boolean |
IMappingConnectorManager.isInstalled(String className)
Check if a particular connector is installed or not.
|
boolean |
IAuthorityConnectionManager.isMappingReferenced(String mappingName)
Return true if the specified mapping name is referenced.
|
IAuthorityConnection |
IAuthorityConnectionManager.load(String name)
Load a authority connection by name.
|
IAuthorityGroup |
IAuthorityGroupManager.load(String name)
Load a authority group by name.
|
IMappingConnection |
IMappingConnectionManager.load(String name)
Load a mapping connection by name.
|
IAuthorityConnection[] |
IAuthorityConnectionManager.loadMultiple(String[] names)
Load multiple repository connections by name.
|
IAuthorityGroup[] |
IAuthorityGroupManager.loadMultiple(String[] names)
Load multiple authority groups by name.
|
IMappingConnection[] |
IMappingConnectionManager.loadMultiple(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.
|
String |
IMappingConnector.mapUser(String userName)
Map an input user name to an output name.
|
static void |
AuthorityConnectorFactory.outputConfigurationBody(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
String tabName)
Output the configuration body section.
|
static void |
MappingConnectorFactory.outputConfigurationBody(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
String tabName)
Output the configuration body section.
|
static void |
AuthorityConnectorFactory.outputConfigurationHeader(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
ArrayList tabsArray)
Output the configuration header section.
|
static void |
MappingConnectorFactory.outputConfigurationHeader(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
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 String |
AuthorityConnectorFactory.processConfigurationPost(IThreadContext threadContext,
String className,
IPostParameters variableContext,
Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
static String |
MappingConnectorFactory.processConfigurationPost(IThreadContext threadContext,
String className,
IPostParameters variableContext,
Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
void |
IAuthorityConnectorManager.registerConnector(String description,
String className)
Register a new connector.
|
void |
IMappingConnectorManager.registerConnector(String description,
String className)
Register a new connector.
|
void |
IAuthorizationDomainManager.registerDomain(String description,
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(String className)
Remove a connector.
|
void |
IMappingConnectorManager.removeConnector(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(String className)
Unregister a connector.
|
void |
IMappingConnectorManager.unregisterConnector(String className)
Unregister a connector.
|
void |
IAuthorizationDomainManager.unregisterDomain(String domainName)
Unregister a domain.
|
static void |
AuthorityConnectorFactory.viewConfiguration(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams configParams)
View connector configuration.
|
static void |
MappingConnectorFactory.viewConfiguration(IThreadContext threadContext,
String className,
IHTTPOutput out,
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.
|
String |
MappingConnectorManager.getDescription(String className)
Get a description given a class name.
|
void |
MappingConnectorManager.install()
Install or upgrade.
|
boolean |
MappingConnectorManager.isInstalled(String className)
Check if a particular connector is installed or not.
|
void |
MappingConnectorManager.registerConnector(String description,
String className)
Register a new connector.
|
void |
MappingConnectorManager.removeConnector(String className)
Remove a connector.
|
void |
MappingConnectorManager.unregisterConnector(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.
|
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(String name)
Delete an authority connection.
|
void |
MappingConnectionManager.MappingConnectionExecutor.execute()
Perform the desired operation.
|
void |
MappingConnectionManager.MappingConnectionExecutor.exists(ICacheDescription objectDescription,
Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
MappingConnectionManager.exportConfiguration(OutputStream os)
Export configuration
|
IMappingConnection[] |
MappingConnectionManager.getAllConnections()
Obtain a list of the repository connections, ordered by name.
|
IMappingConnection[] |
MappingConnectionManager.getAllNonLoopingConnections(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,
Map returnIndex,
ArrayList params)
Read a chunk of mapping connections.
|
protected MappingConnection[] |
MappingConnectionManager.getMappingConnectionsMultiple(String[] connectionNames)
Fetch multiple mapping connections at a single time.
|
void |
MappingConnectionManager.importConfiguration(InputStream is)
Import configuration
|
void |
MappingConnectionManager.install()
Install the manager.
|
protected boolean |
MappingConnectionManager.isReferenced(String mappingName)
Return true if the specified mapping name is referenced.
|
IMappingConnection |
MappingConnectionManager.load(String name)
Load a mapping connection by name.
|
IMappingConnection[] |
MappingConnectionManager.loadMultiple(String[] names)
Load multiple mapping connections by name.
|
protected int |
MappingConnectionManager.loadMultipleInternal(IMappingConnection[] rval,
int outputIndex,
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,
String[] orderingKeys,
String[] connectionNames,
String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes) |
IMappingConnector[] |
MappingConnectorPool.grabMultiple(String[] orderingKeys,
IMappingConnection[] mappingConnections)
Get multiple mapping connectors, all at once.
|
protected boolean |
MappingConnectorPool.LocalPool.isConnectionNameValid(IThreadContext tc,
String connectionName) |
protected boolean |
MappingConnectorPool.LocalPool.isInstalled(IThreadContext tc,
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(String id,
RequestQueue<AuthRequest> requestQueue)
Constructor.
|
IdleCleanupThread()
Constructor.
|
MappingThread(String id,
RequestQueue<MappingRequest> requestQueue)
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 |
---|---|
void |
CacheManager.commitTransaction(String transactionID)
Commit a cache transaction.
|
ICacheHandle |
CacheManager.enterCache(ICacheDescription[] locateObjectDescriptions,
StringSet invalidateKeys,
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,
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(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.
|
Object |
CacheManager.lookupObject(ICacheCreateHandle handle,
ICacheDescription objectDescription)
Lookup an object.
|
protected void |
CacheManager.performInvalidation(StringSet keys)
Perform an invalidation.
|
protected long |
CacheManager.readSharedData(String key)
Read an invalidation file contents.
|
void |
CacheManager.rollbackTransaction(String transactionID)
Roll back a cache transaction.
|
void |
CacheManager.saveObject(ICacheCreateHandle handle,
ICacheDescription objectDescription,
Object object)
Save a newly created object.
|
void |
CacheManager.startTransaction(String startingTransactionID,
String enclosingTransactionID)
Begin a cache transaction.
|
protected void |
CacheManager.writeSharedData(String key,
long value)
Write the invalidation file contents.
|
Constructor and Description |
---|
CacheManager(IThreadContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
Base64.decodeNextWord(Reader inputBuffer,
OutputStream outputBuffer)
Decode the next base64 character.
|
void |
Base64.decodeStream(Reader inputBuffer,
OutputStream outputBuffer)
Decode an entire stream.
|
byte[] |
Base64.decodeString(String inputString)
Decode a string into a byte array.
|
String |
Base64.encodeByteArray(byte[] inputByteArray)
Encode a byte array to a string.
|
boolean |
Base64.encodeNextWord(InputStream inputStream,
Writer outputWriter)
Encode a single word.
|
void |
Base64.encodeStream(InputStream inputStream,
Writer outputWriter)
Encode a full stream, to the end.
|
String |
XMLDoc.getXML()
Serialize the document object to a safe string
|
String |
XMLDoc.getXMLNoEntityPreamble()
Get XML with no entity preamble
|
byte[] |
XMLDoc.toByteArray()
Convert the response for transmit
|
Constructor and Description |
---|
XMLDoc()
Creates the empty doc
|
XMLDoc(InputStream is)
Build a document object tree from an input
stream
|
XMLDoc(String data)
Construct a new document tree from a string form of
an xml document
|
XMLDoc(StringBuilder data)
Construct a new document tree from a StringBuilder form of
an xml document
|
XMLDoc(XMLDoc oldDoc,
Object parent)
Construct a document from all the children of an existing element object from another document.
|
Modifier and Type | Method and Description |
---|---|
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,
String tabName)
Output the configuration body section.
|
void |
BaseConnector.outputConfigurationBody(IThreadContext threadContext,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
String tabName)
Output the configuration body section.
|
void |
BaseConnector.outputConfigurationHeader(IThreadContext threadContext,
IHTTPOutput out,
ConfigParams parameters,
ArrayList<Object> tabsArray) |
void |
BaseConnector.outputConfigurationHeader(IThreadContext threadContext,
IHTTPOutput out,
ConfigParams parameters,
List<String> tabsArray)
Output the configuration header section.
|
void |
BaseConnector.outputConfigurationHeader(IThreadContext threadContext,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
List<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.
|
String |
BaseConnector.processConfigurationPost(IThreadContext threadContext,
IPostParameters variableContext,
ConfigParams parameters)
Process a configuration post.
|
String |
BaseConnector.processConfigurationPost(IThreadContext threadContext,
IPostParameters variableContext,
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,
Locale locale,
ConfigParams parameters)
View configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ConnectorPool.SumClass.acceptServiceData(String serviceName,
byte[] serviceData) |
void |
ConnectorPool.closeAllConnectors(IThreadContext threadContext)
Clean up all open output connector handles.
|
protected T |
ConnectorPool.createConnectorInstance(IThreadContext threadContext,
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,
String className,
ConfigParams configParams)
Grab a connector.
|
T |
ConnectorPool.grab(IThreadContext threadContext,
String connectionName,
String className,
ConfigParams configInfo,
int maxPoolSize)
Get a connector.
|
T[] |
ConnectorPool.grabMultiple(IThreadContext threadContext,
Class<T> clazz,
String[] orderingKeys,
String[] connectionNames,
String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes)
Get multiple connectors, all at once.
|
protected abstract boolean |
ConnectorPool.isConnectionNameValid(IThreadContext tc,
String connectionName)
Override this method to check if a connection name is still valid.
|
protected abstract boolean |
ConnectorPool.isInstalled(IThreadContext tc,
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,
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,
String[] connectionNames,
T[] connectors)
Release multiple output connectors.
|
void |
ConnectorPool.Pool.updateMaximumPoolSize(IThreadContext threadContext,
int maxPoolSize)
Update the maximum pool size.
|
Constructor and Description |
---|
ConnectorPool.Pool(IThreadContext threadContext,
int maxCount,
String connectionName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected ManifoldCFException |
DBInterfaceDerby.reinterpretException(ManifoldCFException theException)
Reinterpret an exception tossed by the database layer.
|
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 |
DBInterfaceDerby.reinterpretException(ManifoldCFException theException)
Reinterpret an exception tossed by the database layer.
|
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,
List<String> columnList)
Add an index to a table.
|
void |
DBInterfaceDerby.addTableIndex(String tableName,
boolean unique,
List<String> columnList)
Add an index to a table.
|
void |
DBInterfaceHSQLDB.addTableIndex(String tableName,
boolean unique,
List<String> columnList)
Add an index to a table.
|
void |
DBInterfaceMySQL.addTableIndex(String tableName,
boolean unique,
List<String> columnList)
Add an index to a table.
|
void |
DBInterfacePostgreSQL.addTableIndex(String tableName,
boolean unique,
List<String> columnList)
Add an index to a table.
|
protected void |
BaseTable.analyzeTable()
Analyze this table.
|
void |
DBInterfaceDerby.analyzeTable(String tableName)
Analyze a table.
|
void |
DBInterfaceHSQLDB.analyzeTable(String tableName)
Analyze a table.
|
void |
DBInterfaceMySQL.analyzeTable(String tableName)
Analyze a table.
|
void |
DBInterfacePostgreSQL.analyzeTable(String tableName)
Analyze a table.
|
protected void |
DBInterfaceDerby.analyzeTableInternal(String tableName) |
protected void |
DBInterfaceMySQL.analyzeTableInternal(String tableName) |
protected void |
DBInterfacePostgreSQL.analyzeTableInternal(String tableName) |
protected void |
DBInterfaceDerby.appendDescription(StringBuilder queryBuffer,
String columnName,
ColumnDescription cd,
boolean forceNull) |
protected void |
BaseTable.beginTransaction()
Begin a database transaction.
|
void |
DBInterfaceDerby.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 |
DBInterfaceDerby.beginTransaction(int transactionType)
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(List data)
Clean up parameters after query has been triggered.
|
void |
DBInterfaceDerby.closeDatabase()
Uninitialize.
|
void |
DBInterfaceHSQLDB.closeDatabase()
Uninitialize.
|
void |
DBInterfaceMySQL.closeDatabase()
Uninitialize.
|
void |
DBInterfacePostgreSQL.closeDatabase()
Uninitialize.
|
protected void |
DBInterfaceDerby.commitCurrentTransaction()
Abstract method to commit a transaction
|
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
|
String |
DBInterfaceMySQL.constructIndexHintClause(String tableName,
IndexDescription description)
Construct index hint clause.
|
String |
Database.constructIndexHintClause(String tableName,
IndexDescription description)
Construct index hint clause.
|
Object[] |
Database.QueryCacheExecutor.create(ICacheDescription[] objectDescriptions)
Create a new object to operate on and cache.
|
ConnectionPoolManager |
ConnectionFactory.PoolManager.createPoolManager(boolean debug) |
void |
DBInterfaceDerby.createUserAndDatabase(String adminUserName,
String adminPassword,
StringSet invalidateKeys)
Create user and database.
|
void |
DBInterfaceHSQLDB.createUserAndDatabase(String adminUserName,
String adminPassword,
StringSet invalidateKeys)
Create user and database.
|
void |
DBInterfaceMySQL.createUserAndDatabase(String adminUserName,
String adminPassword,
StringSet invalidateKeys)
Create user and database.
|
void |
DBInterfacePostgreSQL.createUserAndDatabase(String adminUserName,
String adminPassword,
StringSet invalidateKeys)
Create user and database.
|
void |
DBInterfaceDerby.dropUserAndDatabase(String adminUserName,
String adminPassword,
StringSet invalidateKeys)
Drop user and database.
|
void |
DBInterfaceHSQLDB.dropUserAndDatabase(String adminUserName,
String adminPassword,
StringSet invalidateKeys)
Drop user and database.
|
void |
DBInterfaceMySQL.dropUserAndDatabase(String adminUserName,
String adminPassword,
StringSet invalidateKeys)
Drop user and database.
|
void |
DBInterfacePostgreSQL.dropUserAndDatabase(String adminUserName,
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 |
DBInterfaceDerby.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(Connection connection,
String query,
List params,
boolean bResults,
int maxResults,
ResultSpecification spec,
ILimitChecker returnLimit)
Run a query.
|
IResultSet |
Database.executeQuery(String query,
List params,
StringSet cacheKeys,
StringSet invalidateKeys,
String queryClass,
boolean needResult,
int maxReturn,
ResultSpecification spec,
ILimitChecker returnLimits)
Execute arbitrary database query, and optionally cache the result.
|
protected IResultSet |
Database.executeUncachedQuery(String query,
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(Connection connection,
String query,
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,
Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
protected void |
DBInterfaceHSQLDB.explainQuery(String query,
List params)
Abstract method for explaining a query
|
protected void |
DBInterfacePostgreSQL.explainQuery(String query,
List params)
Abstract method for explaining a query
|
protected void |
Database.explainQuery(String query,
List params)
Abstract method for explaining a query
|
protected int |
Database.findColumn(ResultSet rs,
String name) |
IResultSet |
Database.ExecuteQueryThread.finishUp() |
StringSet |
DBInterfaceDerby.getAllTables(StringSet cacheKeys,
String queryClass)
Get a database's tables.
|
StringSet |
DBInterfaceHSQLDB.getAllTables(StringSet cacheKeys,
String queryClass)
Get a database's tables.
|
StringSet |
DBInterfaceMySQL.getAllTables(StringSet cacheKeys,
String queryClass)
Get a database's tables.
|
StringSet |
DBInterfacePostgreSQL.getAllTables(StringSet cacheKeys,
String queryClass)
Get a database's tables.
|
protected Blob |
Database.getBLOB(ResultSet rs,
int col) |
static WrappedConnection |
ConnectionFactory.getConnection(String jdbcUrl,
String jdbcDriver,
String database,
String userName,
String password,
int maxDBConnections,
boolean debug) |
protected IResultSet |
Database.getData(ResultSet rs,
boolean bResults,
int maxResults,
ResultSpecification spec,
ILimitChecker returnLimit) |
protected static String |
DBInterfaceHSQLDB.getDatabaseString(IThreadContext tc,
String databaseName) |
protected static String |
DBInterfaceDerby.getFullDatabasePath(String databaseName) |
protected static String |
DBInterfaceHSQLDB.getFullDatabasePath(String databaseName) |
protected static String |
DBInterfaceHSQLDB.getJDBCString(IThreadContext tc,
String databaseName) |
protected Object |
Database.getObject(ResultSet rs,
ResultSetMetaData rsmd,
int col,
int desiredForm) |
protected Map |
BaseTable.getTableIndexes(StringSet invalidateKeys,
String queryClass)
Get a table's indexes.
|
Map<String,IndexDescription> |
DBInterfaceDerby.getTableIndexes(String tableName,
StringSet cacheKeys,
String queryClass)
Get a table's indexes.
|
Map<String,IndexDescription> |
DBInterfaceHSQLDB.getTableIndexes(String tableName,
StringSet cacheKeys,
String queryClass)
Get a table's indexes.
|
Map<String,IndexDescription> |
DBInterfaceMySQL.getTableIndexes(String tableName,
StringSet cacheKeys,
String queryClass)
Get a table's indexes.
|
Map<String,IndexDescription> |
DBInterfacePostgreSQL.getTableIndexes(String tableName,
StringSet cacheKeys,
String queryClass)
Get a table's indexes.
|
protected Map |
BaseTable.getTableSchema(StringSet invalidateKeys,
String queryClass)
Get the current table schema.
|
Map<String,ColumnDescription> |
DBInterfaceDerby.getTableSchema(String tableName,
StringSet cacheKeys,
String queryClass)
Get a table's schema.
|
Map<String,ColumnDescription> |
DBInterfaceHSQLDB.getTableSchema(String tableName,
StringSet cacheKeys,
String queryClass)
Get a table's schema.
|
Map<String,ColumnDescription> |
DBInterfaceMySQL.getTableSchema(String tableName,
StringSet cacheKeys,
String queryClass)
Get a table's schema.
|
Map<String,ColumnDescription> |
DBInterfacePostgreSQL.getTableSchema(String tableName,
StringSet cacheKeys,
String queryClass)
Get a table's schema.
|
protected void |
DBInterfaceHSQLDB.initializeConnection(Connection connection)
Initialize the connection (for HSQLDB).
|
protected void |
Database.initializeConnection(Connection connection)
Initialize the connection (for HSQLDB).
|
protected void |
Database.internalTransactionBegin()
Perform actual transaction begin.
|
protected boolean |
Database.isBinary(ResultSetMetaData rsmd,
int col) |
protected boolean |
Database.isBLOB(ResultSetMetaData rsmd,
int col) |
protected static void |
Database.loadPS(PreparedStatement ps,
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(String tableName,
int insertCount,
int modifyCount,
int deleteCount)
Note a number of inserts, modifications, or deletions to a specific table.
|
protected void |
DBInterfaceDerby.noteModificationsNoTransactions(String tableName,
int insertCount,
int modifyCount,
int deleteCount)
Note a number of inserts, modifications, or deletions to a specific table.
|
protected void |
DBInterfaceMySQL.noteModificationsNoTransactions(String tableName,
int insertCount,
int modifyCount,
int deleteCount)
Note a number of inserts, modifications, or deletions to a specific table.
|
protected void |
DBInterfacePostgreSQL.noteModificationsNoTransactions(String tableName,
int insertCount,
int modifyCount,
int deleteCount)
Note a number of inserts, modifications, or deletions to a specific table.
|
protected void |
Database.noteModificationsNoTransactions(String tableName,
int insertCount,
int modifyCount,
int deleteCount)
Protected method for receiving information about inserts, modifications, or deletions OUTSIDE of all transactions.
|
void |
DBInterfaceDerby.openDatabase()
Initialize.
|
void |
DBInterfaceHSQLDB.openDatabase()
Initialize.
|
void |
DBInterfaceMySQL.openDatabase()
Initialize.
|
void |
DBInterfacePostgreSQL.openDatabase()
Initialize.
|
protected void |
BaseTable.performAddIndex(String indexName,
IndexDescription description)
Add an index to a table.
|
void |
DBInterfaceDerby.performAddIndex(String indexName,
String tableName,
IndexDescription description)
Add an index to a table.
|
void |
DBInterfaceHSQLDB.performAddIndex(String indexName,
String tableName,
IndexDescription description)
Add an index to a table.
|
void |
DBInterfaceMySQL.performAddIndex(String indexName,
String tableName,
IndexDescription description)
Add an index to a table.
|
void |
DBInterfacePostgreSQL.performAddIndex(String indexName,
String tableName,
IndexDescription description)
Add an index to a table.
|
void |
BaseTable.performAlter(Map columnMap,
Map columnModifyMap,
List<String> columnDeleteList,
StringSet invalidateKeys)
Perform a table alter operation.
|
void |
DBInterfaceDerby.performAlter(String tableName,
Map<String,ColumnDescription> columnMap,
Map<String,ColumnDescription> columnModifyMap,
List<String> columnDeleteList,
StringSet invalidateKeys)
Perform a table alter operation.
|
void |
DBInterfaceHSQLDB.performAlter(String tableName,
Map<String,ColumnDescription> columnMap,
Map<String,ColumnDescription> columnModifyMap,
List<String> columnDeleteList,
StringSet invalidateKeys)
Perform a table alter operation.
|
void |
DBInterfaceMySQL.performAlter(String tableName,
Map<String,ColumnDescription> columnMap,
Map<String,ColumnDescription> columnModifyMap,
List<String> columnDeleteList,
StringSet invalidateKeys)
Perform a table alter operation.
|
void |
DBInterfacePostgreSQL.performAlter(String tableName,
Map<String,ColumnDescription> columnMap,
Map<String,ColumnDescription> columnModifyMap,
List<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(Map columnMap,
StringSet invalidateKeys)
Perform a table creation operation.
|
void |
DBInterfaceDerby.performCreate(String tableName,
Map<String,ColumnDescription> columnMap,
StringSet invalidateKeys)
Perform a table creation operation.
|
void |
DBInterfaceHSQLDB.performCreate(String tableName,
Map<String,ColumnDescription> columnMap,
StringSet invalidateKeys)
Perform a table creation operation.
|
void |
DBInterfaceMySQL.performCreate(String tableName,
Map<String,ColumnDescription> columnMap,
StringSet invalidateKeys)
Perform a table creation operation.
|
void |
DBInterfacePostgreSQL.performCreate(String tableName,
Map<String,ColumnDescription> columnMap,
StringSet invalidateKeys)
Perform a table creation operation.
|
protected void |
BaseTable.performDelete(String whereClause,
List whereParameters,
StringSet invalidateKeys)
Perform a delete operation.
|
void |
DBInterfaceDerby.performDelete(String tableName,
String whereClause,
List whereParameters,
StringSet invalidateKeys)
Perform a delete operation.
|
void |
DBInterfaceHSQLDB.performDelete(String tableName,
String whereClause,
List whereParameters,
StringSet invalidateKeys)
Perform a delete operation.
|
void |
DBInterfaceMySQL.performDelete(String tableName,
String whereClause,
List whereParameters,
StringSet invalidateKeys)
Perform a delete operation.
|
void |
DBInterfacePostgreSQL.performDelete(String tableName,
String whereClause,
List whereParameters,
StringSet invalidateKeys)
Perform a delete operation.
|
protected void |
BaseTable.performDrop(StringSet invalidateKeys)
Perform a table drop operation.
|
void |
DBInterfaceDerby.performDrop(String tableName,
StringSet invalidateKeys)
Perform a table drop operation.
|
void |
DBInterfaceHSQLDB.performDrop(String tableName,
StringSet invalidateKeys)
Perform a table drop operation.
|
void |
DBInterfaceMySQL.performDrop(String tableName,
StringSet invalidateKeys)
Perform a table drop operation.
|
void |
DBInterfacePostgreSQL.performDrop(String tableName,
StringSet invalidateKeys)
Perform a table drop operation.
|
protected void |
BaseTable.performInsert(Map parameterMap,
StringSet invalidateKeys)
Perform an insert operation.
|
void |
DBInterfaceDerby.performInsert(String tableName,
Map<String,Object> parameterMap,
StringSet invalidateKeys)
Perform an insert operation.
|
void |
DBInterfaceHSQLDB.performInsert(String tableName,
Map<String,Object> parameterMap,
StringSet invalidateKeys)
Perform an insert operation.
|
void |
DBInterfaceMySQL.performInsert(String tableName,
Map<String,Object> parameterMap,
StringSet invalidateKeys)
Perform an insert operation.
|
void |
DBInterfacePostgreSQL.performInsert(String tableName,
Map<String,Object> parameterMap,
StringSet invalidateKeys)
Perform an insert operation.
|
protected void |
BaseTable.performModification(String query,
List params,
StringSet invalidateKeys)
Perform a general database modification query.
|
void |
DBInterfaceDerby.performModification(String query,
List params,
StringSet invalidateKeys)
Perform a general database modification query.
|
void |
DBInterfaceHSQLDB.performModification(String query,
List params,
StringSet invalidateKeys)
Perform a general database modification query.
|
void |
DBInterfaceMySQL.performModification(String query,
List params,
StringSet invalidateKeys)
Perform a general database modification query.
|
void |
DBInterfacePostgreSQL.performModification(String query,
List params,
StringSet invalidateKeys)
Perform a general database modification query.
|
protected IResultSet |
BaseTable.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfaceDerby.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfaceHSQLDB.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfaceMySQL.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfacePostgreSQL.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass)
Perform a general "data fetch" query.
|
protected IResultSet |
BaseTable.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass,
int resultLimit)
Perform a general "data fetch" query, with the ability to provide a limit.
|
IResultSet |
DBInterfaceDerby.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass,
int maxResults,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfaceHSQLDB.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass,
int maxResults,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfaceMySQL.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass,
int maxResults,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfacePostgreSQL.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass,
int maxResults,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfaceDerby.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass,
int maxResults,
ResultSpecification resultSpec,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfaceHSQLDB.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass,
int maxResults,
ResultSpecification resultSpec,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfaceMySQL.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass,
int maxResults,
ResultSpecification resultSpec,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
IResultSet |
DBInterfacePostgreSQL.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass,
int maxResults,
ResultSpecification resultSpec,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
void |
BaseTable.performRemoveIndex(String indexName)
Remove an index.
|
void |
DBInterfaceDerby.performRemoveIndex(String indexName,
String tableName)
Remove an index.
|
void |
DBInterfaceHSQLDB.performRemoveIndex(String indexName,
String tableName)
Remove an index.
|
void |
DBInterfaceMySQL.performRemoveIndex(String indexName,
String tableName)
Remove an index.
|
void |
DBInterfacePostgreSQL.performRemoveIndex(String indexName,
String tableName)
Remove an index.
|
protected void |
BaseTable.performUpdate(Map parameterMap,
String whereClause,
List whereParameters,
StringSet invalidateKeys)
Perform an update operation.
|
void |
DBInterfaceDerby.performUpdate(String tableName,
Map<String,Object> parameterMap,
String whereClause,
List whereParameters,
StringSet invalidateKeys)
Perform an update operation.
|
void |
DBInterfaceHSQLDB.performUpdate(String tableName,
Map<String,Object> parameterMap,
String whereClause,
List whereParameters,
StringSet invalidateKeys)
Perform an update operation.
|
void |
DBInterfaceMySQL.performUpdate(String tableName,
Map<String,Object> parameterMap,
String whereClause,
List whereParameters,
StringSet invalidateKeys)
Perform an update operation.
|
void |
DBInterfacePostgreSQL.performUpdate(String tableName,
Map<String,Object> parameterMap,
String whereClause,
List whereParameters,
StringSet invalidateKeys)
Perform an update operation.
|
void |
Database.prepareForDatabaseCreate()
Prepare database for database creation step.
|
protected int |
DBInterfaceDerby.readDatum(String datumName)
Read a datum, presuming zero if the datum does not exist.
|
protected int |
DBInterfaceMySQL.readDatum(String datumName)
Read a datum, presuming zero if the datum does not exist.
|
protected int |
DBInterfacePostgreSQL.readDatum(String datumName)
Read a datum, presuming zero if the datum does not exist.
|
protected void |
BaseTable.reindexTable()
Reindex this table.
|
void |
DBInterfaceDerby.reindexTable(String tableName)
Reindex a table.
|
void |
DBInterfaceHSQLDB.reindexTable(String tableName)
Reindex a table.
|
void |
DBInterfaceMySQL.reindexTable(String tableName)
Reindex a table.
|
void |
DBInterfacePostgreSQL.reindexTable(String tableName)
Reindex a table.
|
protected void |
DBInterfaceDerby.reindexTableInternal(String tableName) |
protected void |
DBInterfacePostgreSQL.reindexTableInternal(String tableName) |
static void |
ConnectionFactory.releaseConnection(WrappedConnection c) |
protected void |
DBInterfaceDerby.rollbackCurrentTransaction()
Abstract method to roll back a transaction
|
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 |
DBInterfaceDerby.startATransaction()
Abstract method to start a transaction
|
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 |
DBInterfaceDerby.writeDatum(String datumName,
int value)
Write a datum, presuming zero if the datum does not exist.
|
protected void |
DBInterfaceMySQL.writeDatum(String datumName,
int value)
Write a datum, presuming zero if the datum does not exist.
|
protected void |
DBInterfacePostgreSQL.writeDatum(String datumName,
int value)
Write a datum, presuming zero if the datum does not exist.
|
Constructor and Description |
---|
Database(IThreadContext context,
String jdbcUrl,
String jdbcDriverClass,
String databaseName,
String userName,
String password) |
DBInterfaceDerby(IThreadContext tc,
String databaseName) |
DBInterfaceDerby(IThreadContext tc,
String databaseName,
String userName,
String password) |
DBInterfaceHSQLDB(IThreadContext tc,
String databaseName,
String userName,
String password) |
DBInterfaceMariaDB(IThreadContext tc,
String databaseName,
String userName,
String password) |
DBInterfaceMySQL(IThreadContext tc,
String databaseName,
String userName,
String password) |
DBInterfaceMySQL(IThreadContext tc,
String jdbcDriverClass,
String databaseName,
String userName,
String password) |
DBInterfacePostgreSQL(IThreadContext tc,
String databaseName,
String userName,
String password) |
TransactionHandle(IThreadContext tc,
TransactionHandle previousTransaction,
int transactionType) |
Modifier and Type | Method and Description |
---|---|
protected void |
XMLFuzzyHierarchicalParseState.appendToCharacterBuffer(char thisChar) |
protected XMLParsingContext |
XMLParsingContext.beginTag(String namespace,
String localName,
String qName,
Map<String,String> atts)
This method is meant to be extended by classes that extend this class.
|
protected XMLParsingContext |
XMLWriterParsingContext.beginTag(String namespace,
String localName,
String qName,
Map<String,String> atts)
Start a child tag.
|
void |
XMLParsingContext.characters(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(InputStream is)
Read a byte stream and process bytes.
|
boolean |
DecodingByteReceiver.dealWithBytes(InputStream is)
Read a byte stream and process bytes.
|
boolean |
SingleByteReceiver.dealWithBytes(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(Reader reader)
Receive a stream of characters.
|
boolean |
SingleCharacterReceiver.dealWithCharacters(Reader reader)
Receive a stream of characters.
|
protected boolean |
BOMEncodingDetector.dealWithRemainder(byte[] buffer,
int offset,
int len,
InputStream inputStream)
Deal with the remainder of the input.
|
protected boolean |
SingleByteReceiver.dealWithRemainder(byte[] buffer,
int offset,
int len,
InputStream inputStream)
Deal with the remainder of the input.
|
protected boolean |
SingleCharacterReceiver.dealWithRemainder(char[] buffer,
int offset,
int len,
Reader reader)
Deal with the remainder of the input.
|
protected boolean |
TagParseState.dumpValues(String value) |
void |
XMLParsingContext.endElement(String namespace,
String localName,
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(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() |
File |
XMLFileParsingContext.getCompletedFile()
Get file object, flushing it, closing it, and clearing it.
|
protected boolean |
HTMLParseState.noteBTag(String tagName)
This method is called for every ...
|
protected boolean |
TagParseState.noteBTag(String tagName)
This method is called for every ...
|
protected boolean |
XMLEncodingDetector.noteBTag(String tagName)
This method is called for every ...
|
protected boolean |
XMLFuzzyParseState.noteBTag(String tagName)
This method is called for every ...
|
protected boolean |
XMLFuzzyParseState.noteBTagEx(String tagName)
New version of the noteBTag method.
|
protected boolean |
HTMLParseState.noteBTagToken(String token)
This method gets called for every token inside a btag.
|
protected boolean |
TagParseState.noteBTagToken(String token)
This method gets called for every token inside a btag.
|
protected boolean |
XMLEncodingDetector.noteBTagToken(String token)
This method gets called for every token inside a btag.
|
protected boolean |
XMLFuzzyParseState.noteBTagToken(String token)
This method gets called for every token inside a btag.
|
protected boolean |
XMLFuzzyParseState.noteBTagTokenEx(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(String tagName)
This method gets called for every end tag.
|
protected boolean |
TagParseState.noteEndTag(String tagName)
This method gets called for every end tag.
|
protected boolean |
XMLEncodingDetector.noteEndTag(String tagName)
This method gets called for every end tag.
|
protected boolean |
XMLFuzzyParseState.noteEndTag(String tagName)
This method gets called for every end tag.
|
protected boolean |
XMLFuzzyHierarchicalParseState.noteEndTagEx(String tagName,
String nameSpace,
String localName)
Note end tag.
|
protected boolean |
XMLFuzzyParseState.noteEndTagEx(String tagName,
String nameSpace,
String localName)
Note end tag.
|
protected boolean |
HTMLParseState.noteEscaped(String token)
Called for the start of every cdata-like tag, e.g.
|
protected boolean |
TagParseState.noteEscaped(String token)
Called for the start of every cdata-like tag, e.g.
|
protected boolean |
XMLEncodingDetector.noteEscaped(String token)
Called for the start of every cdata-like tag, e.g.
|
protected boolean |
XMLFuzzyParseState.noteEscaped(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(String token)
New version of the noteEscapedTag method.
|
protected boolean |
XMLFuzzyParseState.noteEscapedEx(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(String tagName,
List<AttrNameValue> attributes)
This method is called for every ...
|
protected boolean |
TagParseState.noteQTag(String tagName,
List<AttrNameValue> attributes)
This method is called for every ...
|
protected boolean |
XMLFuzzyParseState.noteQTag(String tagName,
List<AttrNameValue> attributes)
This method is called for every ...
|
protected boolean |
XMLParseState.noteQTag(String tagName,
List<AttrNameValue> attributes)
This method is called for every ...
|
protected boolean |
XMLEncodingDetector.noteQTag(String tagName,
Map<String,String> attributes)
Map version of noteQTag method.
|
protected boolean |
XMLParseState.noteQTag(String tagName,
Map<String,String> attributes)
Map version of noteQTag method.
|
protected boolean |
XMLFuzzyParseState.noteQTagEx(String tagName,
Map<String,String> attributes)
Map version of the noteQTag method.
|
protected boolean |
HTMLParseState.noteTag(String tagName,
List<AttrNameValue> attributes)
This method gets called for every tag.
|
protected boolean |
TagParseState.noteTag(String tagName,
List<AttrNameValue> attributes)
This method gets called for every tag.
|
protected boolean |
XMLFuzzyParseState.noteTag(String tagName,
List<AttrNameValue> attributes)
This method gets called for every tag.
|
protected boolean |
XMLParseState.noteTag(String tagName,
List<AttrNameValue> attributes)
This method gets called for every tag.
|
protected boolean |
HTMLParseState.noteTag(String tagName,
Map<String,String> attributes)
Map version of the noteTag method.
|
protected boolean |
XMLEncodingDetector.noteTag(String tagName,
Map<String,String> attributes)
Map version of the noteTag method.
|
protected boolean |
XMLParseState.noteTag(String tagName,
Map<String,String> attributes)
Map version of the noteTag method.
|
protected boolean |
HTMLParseState.noteTagEnd(String tagName)
Note end tag.
|
protected boolean |
XMLFuzzyHierarchicalParseState.noteTagEx(String tagName,
String nameSpace,
String localName,
Map<String,String> attributes)
Map version of the noteTag method.
|
protected boolean |
XMLFuzzyParseState.noteTagEx(String tagName,
String nameSpace,
String localName,
Map<String,String> attributes)
Map version of the noteTag method.
|
protected boolean |
TagParseState.outputAmpBuffer()
Interpret ampersand buffer.
|
void |
Parser.parseWithCharsetDetection(String startingCharset,
InputStream inputStream,
CharacterReceiver characterReceiver)
Parse an input stream with character set detection.
|
void |
Parser.parseWithoutCharsetDetection(String startingCharset,
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(String namespace,
String localName,
String qName,
Map<String,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(String contents)
This method is meant to be extended by classes that extend this class
|
protected void |
XMLStringParsingContext.tagContents(String value)
This method is meant to be extended by classes that extend this class
|
protected void |
XMLWriterParsingContext.tagContents(String body)
This method is meant to be extended by classes that extend this class
|
Constructor and Description |
---|
XMLFileParsingContext(XMLFuzzyHierarchicalParseState theStream,
String namespace,
String localname,
String qname,
Map<String,String> theseAttributes,
File f)
Full constructor.
|
XMLOutputStreamParsingContext(XMLFuzzyHierarchicalParseState theStream,
String namespace,
String localname,
String qname,
Map<String,String> theseAttributes,
OutputStream os)
Full constructor.
|
XMLWriterParsingContext(XMLFuzzyHierarchicalParseState theStream,
String namespace,
String localname,
String qname,
Map<String,String> theseAttributes,
Writer writer)
Full constructor.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.velocity.app.VelocityEngine |
Messages.createVelocityEngine(Class classInstance)
Create and initialize a velocity engine instance, given a class.
|
static InputStream |
Messages.getResourceAsStream(Class classInstance,
String pathName,
Locale originalLocale,
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(String serviceName,
byte[] serviceData)
Accept service data.
|
void |
IKeystoreManager.addCertificate(String alias,
Certificate certificate)
Add a certificate to the keystore.
|
void |
IDBInterface.addTableIndex(String tableName,
boolean unique,
List<String> columnList)
Add an index to a table.
|
void |
IDBInterface.analyzeTable(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() |
String |
IConnector.check()
Test the connection.
|
boolean |
ILimitChecker.checkContinue()
See if we should examine another row.
|
boolean |
ILockManager.checkGlobalFlag(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(String serviceType,
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(String serviceType,
IServiceCleanup cleanup)
Clean up any inactive services found.
|
void |
IServiceCleanup.cleanUpService(String serviceName)
Clean up after the specified service.
|
void |
ILockManager.clearGlobalFlag(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(String transactionID)
Commit a cache transaction.
|
String |
IDBInterface.constructIndexHintClause(String tableName,
IndexDescription description)
Construct index hint clause.
|
int |
ILockManager.countActiveServices(String serviceType)
Count all active services of a given type.
|
Object[] |
ICacheExecutor.create(ICacheDescription[] objectDescriptions)
Create a set of new objects to operate on and cache.
|
void |
IThrottleGroups.createOrUpdateThrottleGroup(String throttleGroupType,
String throttleGroup,
IThrottleSpec throttleSpec)
Create or update a throttle group.
|
void |
IDBInterface.createUserAndDatabase(String adminUserName,
String adminPassword,
StringSet invalidateKeys)
Create user and database.
|
void |
IConnector.deinstall(IThreadContext threadContext)
Uninstall the connector.
|
protected void |
ConnectorFactory.deinstallThis(IThreadContext threadContext,
String className)
Uninstall connector.
|
void |
IThrottleGroups.destroy()
Shut down throttler permanently.
|
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(String adminUserName,
String adminPassword,
StringSet invalidateKeys)
Drop user and database.
|
void |
ILockManager.endServiceActivity(String serviceType,
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,
String transactionID)
Second way of doing cache management.
|
ICacheCreateHandle |
ICacheManager.enterCreateSection(ICacheHandle handle)
Enter a creation critical section.
|
void |
ILockManager.enterCriticalSections(String[] readSectionKeys,
String[] nonExSectionKeys,
String[] writeSectionKeys)
Enter multiple critical sections simultaneously.
|
void |
ILockManager.enterLocks(String[] readLocks,
String[] nonExWriteLocks,
String[] writeLocks)
Enter multiple locks simultaneously.
|
void |
ILockManager.enterLocksNoWait(String[] readLocks,
String[] nonExWriteLocks,
String[] writeLocks)
Enter multiple locks simultaneously.
|
void |
ILockManager.enterNonExWriteCriticalSection(String sectionKey)
Enter a named, non-exclusive write critical section (NOT a lock).
|
void |
ILockManager.enterNonExWriteLock(String lockKey)
Enter a non-exclusive write-locked area (blocking out all readers, but letting in other "writers").
|
void |
ILockManager.enterNonExWriteLockNoWait(String lockKey)
Enter a non-exclusive write-locked area (blocking out all readers, but letting in other "writers").
|
void |
ILockManager.enterReadCriticalSection(String sectionKey)
Enter a named, read critical section (NOT a lock).
|
void |
ILockManager.enterReadLock(String lockKey)
Enter a read-only locked area (i.e., block ONLY if there's a writer).
|
void |
ILockManager.enterReadLockNoWait(String lockKey)
Enter a read-only locked area (i.e., block ONLY if there's a writer).
|
void |
ILockManager.enterWriteCriticalSection(String sectionKey)
Enter a named, exclusive write critical section (NOT a lock).
|
void |
ILockManager.enterWriteLock(String lockKey)
Enter a write locked code area (i.e., block out both readers and other writers).
|
void |
ILockManager.enterWriteLockNoWait(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,
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,
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 |
IThrottleGroups.freeUnusedResources()
Free all unused resources.
|
void |
Configuration.fromJSON(String json)
Read from JSON.
|
void |
Configuration.fromXML(InputStream xmlstream)
Read from an XML binary stream.
|
void |
ManifoldCFConfiguration.fromXML(InputStream is)
Read from an input stream.
|
void |
Configuration.fromXML(String xml)
Read from XML.
|
StringSet |
IDBInterface.getAllTables(StringSet cacheKeys,
String queryClass)
Get a database's tables.
|
BinaryInput |
IParameterActivity.getBinaryStream(String name)
Get a file parameter, as a binary input stream.
|
static boolean |
LockManagerFactory.getBooleanProperty(IThreadContext tc,
String s,
boolean defaultValue) |
boolean |
ManifoldCFConfiguration.getBooleanProperty(String s,
boolean defaultValue)
Read a boolean property
|
Certificate |
IKeystoreManager.getCertificate(String alias)
Read a certificate from the keystore.
|
long |
CharacterInput.getCharacterLength() |
long |
NullCharacterInput.getCharacterLength() |
String[] |
IKeystoreManager.getContents()
Grab a list of the aliases in the key store.
|
String |
IKeystoreManager.getDescription(String alias)
For an alias, get some descriptive information from the object in the keystore.
|
static double |
LockManagerFactory.getDoubleProperty(IThreadContext tc,
String s,
double defaultValue) |
double |
ManifoldCFConfiguration.getDoubleProperty(String s,
double defaultValue)
Read a float property, either from the system properties, or from the local configuration file.
|
String |
IKeystoreManager.getHashString()
Get a unique hashstring for this keystore.
|
String |
CharacterInput.getHashValue() |
String |
NullCharacterInput.getHashValue() |
static int |
LockManagerFactory.getIntProperty(IThreadContext tc,
String s,
int defaultValue) |
int |
ManifoldCFConfiguration.getIntProperty(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,
String s,
long defaultValue) |
long |
ManifoldCFConfiguration.getLongProperty(String s,
long defaultValue)
Read a long property, either from the system properties, or from the local configuration file.
|
static String |
LockManagerFactory.getPossiblyObfuscatedStringProperty(IThreadContext tc,
String s,
String defaultValue) |
String |
ManifoldCFConfiguration.getPossiblyObfuscatedStringProperty(String s,
String defaultValue)
Read a possibly obfuscated string property, either from the system properties, or from the local configuration file.
|
static String |
LockManagerFactory.getProperty(IThreadContext tc,
String s) |
SSLSocketFactory |
IKeystoreManager.getSecureSocketFactory()
Build a secure socket factory based on this keystore.
|
ManifoldCFConfiguration |
ILockManager.getSharedConfiguration()
Get the current shared configuration.
|
InputStream |
BinaryInput.getStream()
Obtain the stream to pass to JDBC
|
Reader |
CharacterInput.getStream() |
Reader |
NullCharacterInput.getStream() |
String |
IKeystoreManager.getString()
Convert to a base64 string.
|
static String |
LockManagerFactory.getStringProperty(IThreadContext tc,
String s,
String defaultValue) |
Map<String,IndexDescription> |
IDBInterface.getTableIndexes(String tableName,
StringSet cacheKeys,
String queryClass)
Get a table's indexes.
|
Map<String,ColumnDescription> |
IDBInterface.getTableSchema(String tableName,
StringSet cacheKeys,
String queryClass)
Get a table's schema.
|
protected T |
ConnectorFactory.getThisConnector(IThreadContext threadContext,
String className)
Get a connector instance.
|
protected T |
ConnectorFactory.getThisConnectorNoCheck(String className)
Get a connector instance, without checking for installed connector.
|
protected T |
ConnectorFactory.getThisConnectorRaw(String className)
Instantiate a connector, but return null if the class is not found.
|
Set<String> |
IThrottleGroups.getThrottleGroups(String throttleGroupType)
Get all existing throttle groups for a throttle group type.
|
static SSLSocketFactory |
KeystoreManagerFactory.getTrustingSecureSocketFactory()
Build a secure socket factory that pays no attention to certificates in trust store, and just trusts everything.
|
abstract InputStream |
CharacterInput.getUtf8Stream()
Open a Utf8 stream directly
|
InputStream |
NullCharacterInput.getUtf8Stream()
Open a Utf8 stream directly
|
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(IOException e,
String context) |
protected static void |
CharacterInput.handleIOException(IOException e,
String context) |
void |
IKeystoreManager.importCertificate(String alias,
InputStream certData)
Import a certificate or key into the list.
|
protected void |
Configuration.initializeFromDoc(XMLDoc doc) |
void |
IConnector.install(IThreadContext threadContext)
Install the connector.
|
protected void |
ConnectorFactory.installThis(IThreadContext threadContext,
String className)
Install connector.
|
void |
ICacheManager.invalidateKeys(ICacheHandle handle)
Invalidate keys.
|
protected abstract boolean |
ConnectorFactory.isInstalled(IThreadContext tc,
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(String[] readSectionKeys,
String[] nonExSectionKeys,
String[] writeSectionKeys)
Leave multiple critical sections simultaneously.
|
void |
ILockManager.leaveLocks(String[] readLocks,
String[] nonExWriteLocks,
String[] writeLocks)
Leave multiple locks.
|
void |
ILockManager.leaveNonExWriteCriticalSection(String sectionKey)
Leave a named, non-exclusive write critical section (NOT a lock).
|
void |
ILockManager.leaveNonExWriteLock(String lockKey)
Leave a non-exclusive write locked code area.
|
void |
ILockManager.leaveReadCriticalSection(String sectionKey)
Leave a named, read critical section (NOT a lock).
|
void |
ILockManager.leaveReadLock(String lockKey)
Leave a read-locked code area.
|
void |
ILockManager.leaveWriteCriticalSection(String sectionKey)
Leave a named, exclusive write critical section (NOT a lock).
|
void |
ILockManager.leaveWriteLock(String lockKey)
Leave a write locked code area.
|
Object |
ICacheManager.lookupObject(ICacheCreateHandle handle,
ICacheDescription objectDescription)
Lookup an object.
|
static ICacheManager |
CacheManagerFactory.make(IThreadContext context)
Return a cache manager instance that any client can use to obtain cache management services.
|
static String |
IDFactory.make(IThreadContext tc) |
static ILockManager |
LockManagerFactory.make(IThreadContext context)
Instantiate a lock manager.
|
static IThrottleGroups |
ThrottleGroupsFactory.make(IThreadContext tc)
Make a connection throttle handle.
|
static IDBInterface |
DBInterfaceFactory.make(IThreadContext context,
String databaseName,
String userName,
String password) |
static IKeystoreManager |
KeystoreManagerFactory.make(String passcode)
Mint a keystore manager.
|
static IKeystoreManager |
KeystoreManagerFactory.make(String passcode,
String base64String)
Mint a keystore manager from a base-64 encoded string.
|
void |
IDBInterface.noteModifications(String tableName,
int insertCount,
int modifyCount,
int deleteCount)
Note a number of inserts, modifications, or deletions to a specific table.
|
IConnectionThrottler |
IThrottleGroups.obtainConnectionThrottler(String throttleGroupType,
String throttleGroup,
String[] binNames)
Construct connection throttler for connections with specific bin names.
|
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,
Locale locale,
ConfigParams parameters,
String tabName)
Output the configuration body section.
|
void |
IConnector.outputConfigurationHeader(IThreadContext threadContext,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
List<String> tabsArray)
Output the configuration header section.
|
protected void |
ConnectorFactory.outputThisConfigurationBody(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
String tabName)
Output the configuration body section.
|
protected void |
ConnectorFactory.outputThisConfigurationHeader(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
ArrayList tabsArray)
Output the configuration header section.
|
protected void |
ManifoldCFConfiguration.parseProperties() |
void |
IDBInterface.performAddIndex(String indexName,
String tableName,
IndexDescription description)
Add an index to a table.
|
void |
IDBInterface.performAlter(String tableName,
Map<String,ColumnDescription> columnMap,
Map<String,ColumnDescription> columnModifyMap,
List<String> columnDeleteList,
StringSet invalidateKeys)
Perform a table alter operation.
|
void |
IDBInterface.performCommit()
Perform the transaction commit.
|
void |
IDBInterface.performCreate(String tableName,
Map<String,ColumnDescription> columnMap,
StringSet invalidateKeys)
Perform a table creation operation.
|
void |
IDBInterface.performDelete(String tableName,
String whereClause,
List whereParameters,
StringSet invalidateKeys)
Perform a delete operation.
|
void |
IDBInterface.performDrop(String tableName,
StringSet invalidateKeys)
Perform a table drop operation.
|
void |
IDBInterface.performInsert(String tableName,
Map<String,Object> parameterMap,
StringSet invalidateKeys)
Perform an insert operation.
|
void |
IDBInterface.performModification(String query,
List params,
StringSet invalidateKeys)
Perform a general database modification query.
|
IResultSet |
IDBInterface.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass)
Perform a general "data fetch" query.
|
IResultSet |
IDBInterface.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass,
int maxResults,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
IResultSet |
IDBInterface.performQuery(String query,
List params,
StringSet cacheKeys,
String queryClass,
int maxResults,
ResultSpecification resultSpec,
ILimitChecker returnLimit)
Perform a general "data fetch" query.
|
void |
IDBInterface.performRemoveIndex(String indexName,
String tableName)
Remove an index.
|
void |
IDBInterface.performUpdate(String tableName,
Map<String,Object> parameterMap,
String whereClause,
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.
|
void |
IThrottleGroups.poll()
Poll periodically, to update ALL cluster-wide statistics and allocation.
|
void |
IThrottleGroups.poll(String throttleGroupType)
Poll periodically, to update cluster-wide statistics and allocation.
|
String |
IConnector.processConfigurationPost(IThreadContext threadContext,
IPostParameters variableContext,
Locale locale,
ConfigParams parameters)
Process a configuration post.
|
protected void |
Configuration.processObject(ConfigurationNode cn,
String key,
Object x)
Process a JSON object
|
protected void |
Configuration.processObject(String key,
Object x)
Process a JSON object
|
protected String |
ConnectorFactory.processThisConfigurationPost(IThreadContext threadContext,
String className,
IPostParameters variableContext,
Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
byte[] |
ILockManager.readData(String resourceName)
Read data from a shared data resource.
|
protected ConfigurationNode |
Configuration.readNode(String key,
org.json.JSONObject object)
Read a node from a json object
|
protected ConfigurationNode |
Configuration.readNode(XMLDoc doc,
Object object)
Read a configuration node from XML.
|
String |
ILockManager.registerServiceBeginServiceActivity(String serviceType,
String serviceName,
byte[] initialData,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
String |
ILockManager.registerServiceBeginServiceActivity(String serviceType,
String serviceName,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
void |
IDBInterface.reindexTable(String tableName)
Reindex a table.
|
void |
IKeystoreManager.remove(String alias)
Remove a certificate.
|
void |
IThrottleGroups.removeThrottleGroup(String throttleGroupType,
String throttleGroup)
Remove a throttle group.
|
byte[] |
ILockManager.retrieveServiceData(String serviceType,
String serviceName)
Retrieve service data for a service.
|
void |
ICacheManager.rollbackTransaction(String transactionID)
Roll back a cache transaction.
|
void |
ICacheManager.saveObject(ICacheCreateHandle handle,
ICacheDescription objectDescription,
Object object)
Save a newly created object.
|
void |
ILockManager.scanServiceData(String serviceType,
IServiceDataAcceptor dataAcceptor)
Scan service data for a service type.
|
void |
ILockManager.setGlobalFlag(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(String startingTransactionID,
String enclosingTransactionID)
Begin a cache transaction.
|
void |
ILockManager.timedWait(int time)
Wait for a time before retrying a lock.
|
String |
Configuration.toJSON()
Get as JSON.
|
String |
Configuration.toXML()
Get as XML
|
void |
ILockManager.updateServiceData(String serviceType,
String serviceName,
byte[] serviceData)
Set service data for a service.
|
void |
IConnector.viewConfiguration(IThreadContext threadContext,
IHTTPOutput out,
Locale locale,
ConfigParams parameters)
View configuration.
|
protected void |
ConnectorFactory.viewThisConfiguration(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams configParams)
View connector configuration.
|
void |
ILockManager.writeData(String resourceName,
byte[] data)
Write data to a shared data resource.
|
protected static void |
Configuration.writeNode(org.json.JSONWriter writer,
ConfigurationNode node,
boolean writeKey,
boolean writeSpecialKey)
Write a JSON specification node.
|
protected static void |
Configuration.writeNode(XMLDoc doc,
Object parent,
ConfigurationNode node)
Write a specification node.
|
Constructor and Description |
---|
ConfigParams(InputStream xmlstream)
Construct from XML.
|
ConfigParams(String xml)
Construct from XML.
|
ManifoldCFConfiguration(InputStream xmlStream)
Construct from XML.
|
Specification(String xml)
Construct from XML.
|
TempFileCharacterInput(Reader is)
Construct from a non-length-delimited reader.
|
TempFileCharacterInput(Reader is,
long length)
Construct from a length-delimited reader.
|
TempFileCharacterInput(Reader is,
long length,
int maxInMemoryLength)
Construct from a length-delimited reader.
|
TempFileInput(InputStream is)
Construct from an input stream.
|
TempFileInput(InputStream is,
long length)
Construct from a length-delimited input stream.
|
TempFileInput(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 |
---|---|
void |
KeystoreManager.addCertificate(String alias,
Certificate certificate)
Add a certificate to the keystore.
|
Certificate |
KeystoreManager.getCertificate(String alias)
Read a certificate from the keystore.
|
String[] |
KeystoreManager.getContents()
Grab a list of the aliases in the key store.
|
String |
KeystoreManager.getDescription(String alias)
For an alias, get some descriptive information from the object in the keystore.
|
String |
KeystoreManager.getHashString()
Get a unique hashstring for this keystore.
|
SSLSocketFactory |
KeystoreManager.getSecureSocketFactory()
Build a secure socket factory based on this keystore.
|
String |
KeystoreManager.getString()
Convert to a base64 string.
|
void |
KeystoreManager.importCertificate(String alias,
InputStream certData)
Import a certificate or key into the list.
|
void |
KeystoreManager.remove(String alias)
Remove a certificate.
|
Constructor and Description |
---|
KeystoreManager(String passcode)
Create the keystore object.
|
KeystoreManager(String passcode,
String base64String)
Create the keystore object from an existing base 64 string.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BaseLockManager.checkGlobalFlag(String flagName)
Check the condition of a specified flag.
|
boolean |
FileLockManager.checkGlobalFlag(String flagName)
Check the condition of a specified flag.
|
boolean |
LockManager.checkGlobalFlag(String flagName)
Check the condition of a specified flag.
|
boolean |
ZooKeeperConnection.checkGlobalFlag(String flagPath) |
boolean |
ZooKeeperLockManager.checkGlobalFlag(String flagName)
Check the condition of a specified flag.
|
boolean |
ZooKeeperConnection.checkNodeExists(String nodePath)
Check whether a node exists.
|
boolean |
BaseLockManager.checkServiceActive(String serviceType,
String serviceName)
Check whether a service is active or not.
|
boolean |
LockManager.checkServiceActive(String serviceType,
String serviceName)
Check whether a service is active or not.
|
boolean |
ZooKeeperLockManager.checkServiceActive(String serviceType,
String serviceName)
Check whether a service is active or not.
|
boolean |
BaseLockManager.cleanupInactiveService(String serviceType,
IServiceCleanup cleanup)
Clean up any inactive services found.
|
boolean |
LockManager.cleanupInactiveService(String serviceType,
IServiceCleanup cleanup)
Clean up any inactive services found.
|
boolean |
ZooKeeperLockManager.cleanupInactiveService(String serviceType,
IServiceCleanup cleanup)
Clean up any inactive services found.
|
protected static void |
BaseLockManager.clear(String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.clearGlobalFlag(String flagName)
Clear a flag.
|
void |
FileLockManager.clearGlobalFlag(String flagName)
Clear a flag.
|
void |
LockManager.clearGlobalFlag(String flagName)
Clear a flag.
|
void |
ZooKeeperConnection.clearGlobalFlag(String flagPath) |
void |
ZooKeeperLockManager.clearGlobalFlag(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 String |
BaseLockManager.constructUniqueServiceName(String serviceType)
Construct a unique service name given the service type.
|
protected String |
ZooKeeperLockManager.constructUniqueServiceName(ZooKeeperConnection connection,
String serviceType)
Construct a unique service name given the service type.
|
int |
BaseLockManager.countActiveServices(String serviceType)
Count all active services of a given type.
|
int |
LockManager.countActiveServices(String serviceType)
Count all active services of a given type.
|
int |
ZooKeeperLockManager.countActiveServices(String serviceType)
Count all active services of a given type.
|
void |
ZooKeeperConnection.createChild(String nodePath,
String childName)
Create a persistent child of a node.
|
void |
ZooKeeperEphemeralNodeObject.createNode(byte[] nodeData)
Create the specified node.
|
void |
ZooKeeperConnection.createNode(String nodePath,
byte[] nodeData)
Create a transient node.
|
void |
ZooKeeperEphemeralNodePool.createNode(String nodePath,
byte[] nodeData) |
protected void |
ZooKeeperConnection.createSession() |
void |
ZooKeeperEphemeralNodePool.deleteAll() |
void |
ZooKeeperConnection.deleteChild(String nodePath,
String childName)
Delete the child of a node.
|
void |
ZooKeeperConnection.deleteNode()
Delete a node.
|
void |
ZooKeeperEphemeralNodeObject.deleteNode()
Delete the node.
|
void |
ZooKeeperEphemeralNodePool.deleteNode(String nodePath) |
void |
ZooKeeperConnection.deleteNodeChildren(String nodePath)
Delete all a node's children.
|
protected void |
BaseLockManager.deleteServiceData(String serviceType,
String serviceName) |
void |
ZooKeeperLockManager.ZooKeeperShutdown.doCleanup(IThreadContext threadContext)
Do the requisite cleanup.
|
void |
BaseLockManager.endServiceActivity(String serviceType,
String serviceName)
End service activity.
|
void |
LockManager.endServiceActivity(String serviceType,
String serviceName)
End service activity.
|
void |
ZooKeeperLockManager.endServiceActivity(String serviceType,
String serviceName)
End service activity.
|
protected static void |
BaseLockManager.enter(Long threadID,
String[] readLocks,
String[] nonExWriteLocks,
String[] writeLocks,
String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.enterCriticalSections(String[] readSectionKeys,
String[] nonExSectionKeys,
String[] writeSectionKeys)
Enter multiple critical sections simultaneously.
|
void |
LockManager.enterCriticalSections(String[] readSectionKeys,
String[] nonExSectionKeys,
String[] writeSectionKeys)
Enter multiple critical sections simultaneously.
|
void |
BaseLockManager.enterLocks(String[] readLocks,
String[] nonExWriteLocks,
String[] writeLocks)
Enter multiple locks
|
void |
LockManager.enterLocks(String[] readLocks,
String[] nonExWriteLocks,
String[] writeLocks)
Enter multiple locks
|
void |
BaseLockManager.enterLocksNoWait(String[] readLocks,
String[] nonExWriteLocks,
String[] writeLocks) |
void |
LockManager.enterLocksNoWait(String[] readLocks,
String[] nonExWriteLocks,
String[] writeLocks) |
protected static void |
BaseLockManager.enterNonExWrite(Long threadID,
String lockKey,
String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.enterNonExWriteCriticalSection(String sectionKey)
Enter a named, non-exclusive write critical section (NOT a lock).
|
void |
LockManager.enterNonExWriteCriticalSection(String sectionKey)
Enter a named, non-exclusive write critical section (NOT a lock).
|
void |
LockObject.enterNonExWriteLock() |
void |
LockGate.enterNonExWriteLock(Long threadID) |
void |
BaseLockManager.enterNonExWriteLock(String lockKey)
Enter a non-exclusive write-locked area (blocking out all readers, but letting in other "writers").
|
void |
LockManager.enterNonExWriteLock(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(Long threadID) |
void |
BaseLockManager.enterNonExWriteLockNoWait(String lockKey) |
void |
LockManager.enterNonExWriteLockNoWait(String lockKey) |
protected static void |
BaseLockManager.enterNonExWriteNoWait(Long threadID,
String lockKey,
String description,
LocalLockPool localLocks,
LockPool crossLocks) |
protected static void |
BaseLockManager.enterNoWait(Long threadID,
String[] readLocks,
String[] nonExWriteLocks,
String[] writeLocks,
String description,
LocalLockPool localLocks,
LockPool crossLocks) |
protected static void |
BaseLockManager.enterRead(Long threadID,
String lockKey,
String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.enterReadCriticalSection(String sectionKey)
Enter a named, read critical section (NOT a lock).
|
void |
LockManager.enterReadCriticalSection(String sectionKey)
Enter a named, read critical section (NOT a lock).
|
void |
LockObject.enterReadLock() |
void |
LockGate.enterReadLock(Long threadID) |
void |
BaseLockManager.enterReadLock(String lockKey)
Enter a read-only locked area (i.e., block ONLY if there's a writer)
|
void |
LockManager.enterReadLock(String lockKey)
Enter a read-only locked area (i.e., block ONLY if there's a writer)
|
void |
LockObject.enterReadLockNoWait() |
void |
LockGate.enterReadLockNoWait(Long threadID) |
void |
BaseLockManager.enterReadLockNoWait(String lockKey) |
void |
LockManager.enterReadLockNoWait(String lockKey) |
protected static void |
BaseLockManager.enterReadNoWait(Long threadID,
String lockKey,
String description,
LocalLockPool localLocks,
LockPool crossLocks) |
protected void |
ZooKeeperLockManager.enterServiceRegistryReadLock(ZooKeeperConnection connection,
String serviceType)
Enter service registry read lock
|
protected void |
ZooKeeperLockManager.enterServiceRegistryWriteLock(ZooKeeperConnection connection,
String serviceType)
Enter service registry write lock
|
protected static void |
BaseLockManager.enterWrite(Long threadID,
String lockKey,
String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.enterWriteCriticalSection(String sectionKey)
Enter a named, exclusive critical section (NOT a lock).
|
void |
LockManager.enterWriteCriticalSection(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(Long threadID) |
void |
BaseLockManager.enterWriteLock(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(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(Long threadID) |
void |
BaseLockManager.enterWriteLockNoWait(String lockKey) |
void |
LockManager.enterWriteLockNoWait(String lockKey) |
protected static void |
BaseLockManager.enterWriteNoWait(Long threadID,
String lockKey,
String description,
LocalLockPool localLocks,
LockPool crossLocks) |
List<String> |
ZooKeeperConnection.getChildren(String nodePath)
Get the relative paths of all node's children.
|
byte[] |
ZooKeeperConnection.getNodeData(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 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(String[] readLocks,
String[] writeNonExLocks,
String[] writeLocks,
String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.leaveCriticalSections(String[] readSectionKeys,
String[] nonExSectionKeys,
String[] writeSectionKeys)
Leave multiple critical sections simultaneously.
|
void |
LockManager.leaveCriticalSections(String[] readSectionKeys,
String[] nonExSectionKeys,
String[] writeSectionKeys)
Leave multiple critical sections simultaneously.
|
void |
BaseLockManager.leaveLocks(String[] readLocks,
String[] writeNonExLocks,
String[] writeLocks)
Leave multiple locks
|
void |
LockManager.leaveLocks(String[] readLocks,
String[] writeNonExLocks,
String[] writeLocks)
Leave multiple locks
|
protected static void |
BaseLockManager.leaveNonExWrite(String lockKey,
String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.leaveNonExWriteCriticalSection(String sectionKey)
Leave a named, non-exclusive write critical section (NOT a lock).
|
void |
LockManager.leaveNonExWriteCriticalSection(String sectionKey)
Leave a named, non-exclusive write critical section (NOT a lock).
|
void |
LockGate.leaveNonExWriteLock() |
boolean |
LockObject.leaveNonExWriteLock() |
void |
BaseLockManager.leaveNonExWriteLock(String lockKey)
Leave a non-exclusive write lock.
|
void |
LockManager.leaveNonExWriteLock(String lockKey)
Leave a non-exclusive write lock.
|
protected static void |
BaseLockManager.leaveRead(String lockKey,
String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.leaveReadCriticalSection(String sectionKey)
Leave a named, read critical section (NOT a lock).
|
void |
LockManager.leaveReadCriticalSection(String sectionKey)
Leave a named, read critical section (NOT a lock).
|
void |
LockGate.leaveReadLock() |
boolean |
LockObject.leaveReadLock() |
void |
BaseLockManager.leaveReadLock(String lockKey) |
void |
LockManager.leaveReadLock(String lockKey) |
protected void |
ZooKeeperLockManager.leaveServiceRegistryLock(ZooKeeperConnection connection)
Leave service registry lock
|
protected static void |
BaseLockManager.leaveWrite(String lockKey,
String description,
LocalLockPool localLocks,
LockPool crossLocks) |
void |
BaseLockManager.leaveWriteCriticalSection(String sectionKey)
Leave a named, exclusive critical section (NOT a lock).
|
void |
LockManager.leaveWriteCriticalSection(String sectionKey)
Leave a named, exclusive critical section (NOT a lock).
|
void |
LockGate.leaveWriteLock() |
boolean |
LockObject.leaveWriteLock() |
void |
BaseLockManager.leaveWriteLock(String lockKey) |
void |
LockManager.leaveWriteLock(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(String lockPath)
Obtain a non-ex-write lock, with wait.
|
boolean |
ZooKeeperConnection.obtainNonExWriteLockNoWait(String lockPath)
Obtain a non-ex-write lock, with no wait.
|
void |
ZooKeeperConnection.obtainReadLock(String lockPath)
Obtain a read lock, with wait.
|
boolean |
ZooKeeperConnection.obtainReadLockNoWait(String lockPath)
Obtain a read lock, with no wait.
|
void |
ZooKeeperConnection.obtainWriteLock(String lockPath)
Obtain a write lock, with wait.
|
boolean |
ZooKeeperConnection.obtainWriteLockNoWait(String lockPath)
Obtain a write lock, with no wait.
|
byte[] |
BaseLockManager.readData(String resourceName)
Read data from a shared data resource.
|
byte[] |
FileLockManager.readData(String resourceName)
Read data from a shared data resource.
|
byte[] |
LockManager.readData(String resourceName)
Read data from a shared data resource.
|
byte[] |
ZooKeeperConnection.readData(String resourcePath) |
byte[] |
ZooKeeperLockManager.readData(String resourceName)
Read data from a shared data resource.
|
protected int |
BaseLockManager.readServiceCounter(String serviceCounterName)
Read service counter.
|
protected int |
ZooKeeperLockManager.readServiceCounter(ZooKeeperConnection connection,
String serviceCounterName)
Read service counter.
|
protected byte[] |
BaseLockManager.readServiceData(String serviceType,
String serviceName) |
protected String |
BaseLockManager.readServiceName(String resourceName) |
String |
BaseLockManager.registerServiceBeginServiceActivity(String serviceType,
String serviceName,
byte[] initialData,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
String |
LockManager.registerServiceBeginServiceActivity(String serviceType,
String serviceName,
byte[] initialData,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
String |
ZooKeeperLockManager.registerServiceBeginServiceActivity(String serviceType,
String serviceName,
byte[] initialData,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
String |
BaseLockManager.registerServiceBeginServiceActivity(String serviceType,
String serviceName,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
String |
LockManager.registerServiceBeginServiceActivity(String serviceType,
String serviceName,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
String |
ZooKeeperLockManager.registerServiceBeginServiceActivity(String serviceType,
String serviceName,
IServiceCleanup cleanup)
Register a service and begin service activity.
|
void |
ZooKeeperConnection.releaseLock()
Release the (saved) lock.
|
byte[] |
BaseLockManager.retrieveServiceData(String serviceType,
String serviceName)
Retrieve service data for a service.
|
byte[] |
LockManager.retrieveServiceData(String serviceType,
String serviceName)
Retrieve service data for a service.
|
byte[] |
ZooKeeperLockManager.retrieveServiceData(String serviceType,
String serviceName)
Retrieve service data for a service.
|
void |
BaseLockManager.scanServiceData(String serviceType,
IServiceDataAcceptor dataAcceptor)
Scan service data for a service type.
|
void |
LockManager.scanServiceData(String serviceType,
IServiceDataAcceptor dataAcceptor)
Scan service data for a service type.
|
void |
ZooKeeperLockManager.scanServiceData(String serviceType,
IServiceDataAcceptor dataAcceptor)
Scan service data for a service type.
|
void |
BaseLockManager.setGlobalFlag(String flagName)
Raise a flag.
|
void |
FileLockManager.setGlobalFlag(String flagName)
Raise a flag.
|
void |
LockManager.setGlobalFlag(String flagName)
Raise a flag.
|
void |
ZooKeeperConnection.setGlobalFlag(String flagPath) |
void |
ZooKeeperLockManager.setGlobalFlag(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(String nodePath,
byte[] nodeData) |
void |
ZooKeeperLockManager.setSharedConfiguration(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(String serviceType,
String serviceName,
byte[] serviceData)
Set service data for a service.
|
void |
LockManager.updateServiceData(String serviceType,
String serviceName,
byte[] serviceData)
Set service data for a service.
|
void |
ZooKeeperLockManager.updateServiceData(String serviceType,
String serviceName,
byte[] serviceData)
Set service data for a service.
|
void |
BaseLockManager.writeData(String resourceName,
byte[] data)
Write data to a shared data resource.
|
void |
FileLockManager.writeData(String resourceName,
byte[] data)
Write data to a shared data resource.
|
void |
LockManager.writeData(String resourceName,
byte[] data)
Write data to a shared data resource.
|
void |
ZooKeeperConnection.writeData(String resourcePath,
byte[] data) |
void |
ZooKeeperLockManager.writeData(String resourceName,
byte[] data)
Write data to a shared data resource.
|
protected void |
BaseLockManager.writeServiceCounter(String serviceCounterName,
int counter)
Write service counter.
|
protected void |
ZooKeeperLockManager.writeServiceCounter(ZooKeeperConnection connection,
String serviceCounterName,
int counter)
Write service counter.
|
protected void |
BaseLockManager.writeServiceData(String serviceType,
String serviceName,
byte[] serviceData) |
protected void |
BaseLockManager.writeServiceName(String resourceName,
String serviceName) |
Constructor and Description |
---|
BaseLockManager() |
FileLockManager() |
FileLockManager(File synchDirectory) |
LockManager() |
ZooKeeperConnection(String connectString,
int sessionTimeout)
Constructor.
|
ZooKeeperLockManager()
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
ManifoldCFResourceLoader.addDirsToClassPath(File[] baseList,
FileFilter[] filterList)
Add fully-resolved directories (with filters) to the current class path.
|
void |
ManifoldCFResourceLoader.addToClassPath(File file)
Add to the class-search path.
|
void |
ManifoldCFResourceLoader.addToClassPath(File dir,
FileFilter filter)
Add to the class-search path.
|
static void |
ManifoldCF.addToHash(MessageDigest digest,
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,
String masterUsername,
String masterPassword)
Install system database.
|
static File |
ManifoldCF.createTempDir(String prefix,
String suffix)
Create temporary directory.
|
static String |
ManifoldCF.deobfuscate(String input)
Decode a string encoded using the obfuscation
technique.
|
void |
ManifoldCF.FileTrack.doCleanup(IThreadContext threadContext)
Delete all remaining files
|
void |
ManifoldCF.ThrottlerShutdown.doCleanup(IThreadContext threadContext) |
void |
ManifoldCF.DatabaseShutdown.doCleanup(IThreadContext threadContext) |
void |
ManifoldCF.ThrottlerPoll.doPoll(IThreadContext threadContext) |
void |
ManifoldCF.CachePoll.doPoll(IThreadContext threadContext) |
static void |
ManifoldCF.dropSystemDatabase(IThreadContext threadcontext,
String masterUsername,
String masterPassword)
Drop system database.
|
static String |
ManifoldCF.encrypt(String input)
Perform standard one-way encryption of a string.
|
static void |
ManifoldCF.ensureFolder(String path)
Attempt to make sure a path is a folder
|
static Class |
ManifoldCF.findClass(String cname)
Locate a class in the configuration-determined class path.
|
Class |
ManifoldCFResourceLoader.findClass(String cname)
Get the specified class using the proper classloader.
|
static boolean |
ManifoldCF.getBooleanProperty(String s,
boolean defaultValue)
Read a boolean property
|
ClassLoader |
ManifoldCFResourceLoader.getClassLoader()
Get the class loader representing this resource loader.
|
static double |
ManifoldCF.getDoubleProperty(String s,
double defaultValue)
Read a float property, either from the system properties, or from the local configuration file.
|
static String |
ManifoldCF.getHashValue(MessageDigest digest)
Calculate final hash value
|
static int |
ManifoldCF.getIntProperty(String s,
int defaultValue)
Read an integer property, either from the system properties, or from the local configuration file.
|
static long |
ManifoldCF.getLongProperty(String s,
long defaultValue)
Read a long property, either from the system properties, or from the local configuration file.
|
static String |
ManifoldCF.hash(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 String |
ManifoldCF.obfuscate(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.
|
void |
ManifoldCFResourceLoader.setClassPath(ArrayList libdirList)
Set the classpath to a given list of libdirs.
|
static void |
Logging.setLogLevels(IThreadContext threadContext)
Reset all loggers
|
static MessageDigest |
ManifoldCF.startHash()
Start creating a hash
|
static boolean |
ManifoldCF.verifyAPILogin(IThreadContext threadContext,
String userID,
String userPassword)
Verify API login.
|
static boolean |
ManifoldCF.verifyLogin(IThreadContext threadContext,
String userID,
String userPassword)
Verify login.
|
Constructor and Description |
---|
ManifoldCFResourceLoader(ClassLoader parent)
Construct a resource manager.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ConnectionBin.SumClass.acceptServiceData(String serviceName,
byte[] serviceData) |
boolean |
FetchBin.SumClass.acceptServiceData(String serviceName,
byte[] serviceData) |
boolean |
ThrottleBin.SumClass.acceptServiceData(String serviceName,
byte[] serviceData) |
void |
Throttler.ThrottlingGroups.createOrUpdateThrottleGroup(IThreadContext threadContext,
String throttleGroup,
IThrottleSpec throttleSpec)
Update throttle specification
|
void |
Throttler.createOrUpdateThrottleGroup(IThreadContext threadContext,
String throttleGroupType,
String throttleGroup,
IThrottleSpec throttleSpec)
Set or update throttle specification for a throttle group.
|
void |
ThrottleGroups.createOrUpdateThrottleGroup(String throttleGroupType,
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.
|
Set<String> |
Throttler.getThrottleGroups(IThreadContext threadContext,
String throttleGroupType)
Get all existing throttle groups for a throttle group type.
|
Set<String> |
ThrottleGroups.getThrottleGroups(String throttleGroupType)
Get all existing throttle groups for a throttle group type.
|
IConnectionThrottler |
Throttler.ThrottlingGroup.obtainConnectionThrottler(IThreadContext threadContext,
String[] binNames)
Create a bunch of bins, corresponding to the bin names specified.
|
IConnectionThrottler |
Throttler.ThrottlingGroups.obtainConnectionThrottler(IThreadContext threadContext,
String throttleGroup,
String[] binNames)
Obtain connection throttler.
|
IConnectionThrottler |
Throttler.obtainConnectionThrottler(IThreadContext threadContext,
String throttleGroupType,
String throttleGroup,
String[] binNames)
Construct connection throttler for connections with specific bin names.
|
IConnectionThrottler |
ThrottleGroups.obtainConnectionThrottler(String throttleGroupType,
String throttleGroup,
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,
String throttleGroupType)
Poll periodically.
|
void |
ThrottleGroups.poll(String throttleGroupType)
Poll periodically, to update cluster-wide statistics and allocation.
|
void |
Throttler.ThrottlingGroups.removeThrottleGroup(IThreadContext threadContext,
String throttleGroup)
Remove specified throttle group
|
void |
Throttler.removeThrottleGroup(IThreadContext threadContext,
String throttleGroupType,
String throttleGroup)
Remove a throttle group.
|
void |
ThrottleGroups.removeThrottleGroup(String throttleGroupType,
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,
String throttlingGroupName,
String binName)
Constructor.
|
FetchBin(IThreadContext threadContext,
String throttlingGroupName,
String binName)
Constructor.
|
ThrottleBin(IThreadContext threadContext,
String throttlingGroupName,
String binName)
Constructor.
|
ThrottleGroups(IThreadContext threadContext)
Constructor
|
Throttler.ThrottlingGroup(IThreadContext threadContext,
String throttlingGroupType,
String throttleGroup,
IThrottleSpec throttleSpec)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static double |
Converter.asDouble(Object o)
Convert a JDBC output value to a double.
|
static long |
Converter.asLong(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(String binName,
double newBinValue,
int count)
Get N bin values (and set next one).
|
double[] |
BinManager.getIncrementBinValuesInTransaction(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 |
---|---|
void |
BaseRepositoryConnector.addSeedDocuments(ISeedingActivity activities,
DocumentSpecification spec,
long startTime,
long endTime)
Queue "seed" documents.
|
void |
BaseRepositoryConnector.addSeedDocuments(ISeedingActivity activities,
DocumentSpecification spec,
long startTime,
long endTime,
int jobMode) |
void |
BaseRepositoryConnector.addSeedDocuments(ISeedingActivity activities,
Specification spec,
long startTime,
long endTime,
int jobMode)
Queue "seed" documents.
|
String |
BaseRepositoryConnector.addSeedDocuments(ISeedingActivity activities,
Specification spec,
String lastSeedVersion,
long seedTime,
int jobMode)
Queue "seed" documents.
|
IDocumentIdentifierStream |
BaseRepositoryConnector.getDocumentIdentifiers(DocumentSpecification spec,
long startTime,
long endTime)
The short version of getDocumentIdentifiers.
|
IDocumentIdentifierStream |
BaseRepositoryConnector.getDocumentIdentifiers(ISeedingActivity activities,
DocumentSpecification spec,
long startTime,
long endTime)
The long version of getDocumentIdentifiers.
|
void |
BaseRepositoryConnector.getDocumentVersions(DocumentVersions documentVersions,
String[] documentIdentifiers,
String[] oldVersions,
IVersionActivity activities,
Specification spec,
int jobMode,
boolean usesDefaultAuthority)
Get document versions given an array of document identifiers.
|
String[] |
BaseRepositoryConnector.getDocumentVersions(String[] documentIdentifiers,
DocumentSpecification spec)
The short version of getDocumentVersions.
|
String[] |
BaseRepositoryConnector.getDocumentVersions(String[] documentIdentifiers,
IVersionActivity activities,
DocumentSpecification spec)
The long version of getDocumentIdentifiers.
|
String[] |
BaseRepositoryConnector.getDocumentVersions(String[] documentIdentifiers,
String[] oldVersions,
IVersionActivity activities,
DocumentSpecification spec)
Get document versions given an array of document identifiers.
|
String[] |
BaseRepositoryConnector.getDocumentVersions(String[] documentIdentifiers,
String[] oldVersions,
IVersionActivity activities,
DocumentSpecification spec,
int jobMode)
Get document versions given an array of document identifiers.
|
String[] |
BaseRepositoryConnector.getDocumentVersions(String[] documentIdentifiers,
String[] oldVersions,
IVersionActivity activities,
DocumentSpecification spec,
int jobMode,
boolean usesDefaultAuthority) |
String[] |
BaseRepositoryConnector.getDocumentVersions(String[] documentIdentifiers,
String[] oldVersions,
IVersionActivity activities,
Specification spec,
int jobMode,
boolean usesDefaultAuthority)
Get document versions given an array of document identifiers.
|
IDocumentIdentifierStream |
BaseRepositoryConnector.getRemainingDocumentIdentifiers(ISeedingActivity activities,
DocumentSpecification spec,
long startTime,
long endTime)
This method returns the document identifiers that should be considered part of the seeds, but do not need to be
queued for processing at this time.
|
void |
BaseRepositoryConnector.outputSpecificationBody(IHTTPOutput out,
DocumentSpecification ds,
String tabName)
Output the specification body section.
|
void |
BaseRepositoryConnector.outputSpecificationBody(IHTTPOutput out,
Locale locale,
DocumentSpecification ds,
String tabName)
Output the specification body section.
|
void |
BaseRepositoryConnector.outputSpecificationBody(IHTTPOutput out,
Locale locale,
Specification ds,
int connectionSequenceNumber,
int actualSequenceNumber,
String tabName)
Output the specification body section.
|
void |
BaseRepositoryConnector.outputSpecificationHeader(IHTTPOutput out,
DocumentSpecification ds,
ArrayList<Object> tabsArray) |
void |
BaseRepositoryConnector.outputSpecificationHeader(IHTTPOutput out,
DocumentSpecification ds,
List<String> tabsArray)
Output the specification header section.
|
void |
BaseRepositoryConnector.outputSpecificationHeader(IHTTPOutput out,
Locale locale,
DocumentSpecification ds,
List<String> tabsArray)
Output the specification header section.
|
void |
BaseRepositoryConnector.outputSpecificationHeader(IHTTPOutput out,
Locale locale,
Specification ds,
int connectionSequenceNumber,
List<String> tabsArray)
Output the specification header section.
|
void |
BaseRepositoryConnector.processDocuments(String[] documentIdentifiers,
DocumentVersions versions,
IProcessActivity activities,
boolean[] scanOnly,
int jobMode)
Process a set of documents.
|
void |
BaseRepositoryConnector.processDocuments(String[] documentIdentifiers,
IExistingVersions statuses,
Specification spec,
IProcessActivity activities,
int jobMode,
boolean usesDefaultAuthority)
Process a set of documents.
|
void |
BaseRepositoryConnector.processDocuments(String[] documentIdentifiers,
String[] versions,
IProcessActivity activities,
DocumentSpecification spec,
boolean[] scanOnly)
Process a set of documents.
|
void |
BaseRepositoryConnector.processDocuments(String[] documentIdentifiers,
String[] versions,
IProcessActivity activities,
DocumentSpecification spec,
boolean[] scanOnly,
int jobMode) |
void |
BaseRepositoryConnector.processDocuments(String[] documentIdentifiers,
String[] versions,
IProcessActivity activities,
Specification spec,
boolean[] scanOnly,
int jobMode)
Process a set of documents.
|
String |
BaseRepositoryConnector.processSpecificationPost(IPostParameters variableContext,
DocumentSpecification ds)
Process a specification post.
|
String |
BaseRepositoryConnector.processSpecificationPost(IPostParameters variableContext,
Locale locale,
DocumentSpecification ds)
Process a specification post.
|
String |
BaseRepositoryConnector.processSpecificationPost(IPostParameters variableContext,
Locale locale,
Specification ds,
int connectionSequenceNumber)
Process a specification post.
|
void |
BaseRepositoryConnector.releaseDocumentVersions(String[] documentIdentifiers,
DocumentVersions versions)
Free a set of documents.
|
void |
BaseRepositoryConnector.releaseDocumentVersions(String[] documentIdentifiers,
String[] versions)
Free a set of documents.
|
boolean |
BaseRepositoryConnector.requestInfo(Configuration output,
String command)
Request arbitrary connector information.
|
void |
BaseRepositoryConnector.viewSpecification(IHTTPOutput out,
DocumentSpecification ds)
View specification.
|
void |
BaseRepositoryConnector.viewSpecification(IHTTPOutput out,
Locale locale,
DocumentSpecification ds)
View specification.
|
void |
BaseRepositoryConnector.viewSpecification(IHTTPOutput out,
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.
|
String |
ConnectorManager.getDescription(String className)
Get a description given a class name.
|
void |
ConnectorManager.install()
Install or upgrade.
|
boolean |
ConnectorManager.isInstalled(String className)
Check if a particular connector is installed or not.
|
void |
ConnectorManager.registerConnector(String description,
String className)
Register a new connector.
|
void |
ConnectorManager.removeConnector(String className)
Remove a connector.
|
void |
ConnectorManager.unregisterConnector(String className)
Unregister a connector.
|
Constructor and Description |
---|
ConnectorManager(IThreadContext threadContext,
IDBInterface database)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
IJobManager.addDocument(String processID,
Long jobID,
String[] legalLinkTypes,
String docIDHash,
String docID,
String parentIdentifierHash,
String relationshipType,
int hopcountMethod,
String[] dataNames,
Object[][] dataValues,
IPriorityCalculator priority,
String[] prereqEventNames)
Add a document to the queue.
|
void |
IProcessActivity.addDocumentReference(String documentIdentifier)
Add a document description to the current job's queue.
|
void |
IProcessActivity.addDocumentReference(String documentIdentifier,
String parentIdentifier,
String relationshipType)
Add a document description to the current job's queue.
|
void |
IProcessActivity.addDocumentReference(String documentIdentifier,
String parentIdentifier,
String relationshipType,
String[] dataNames,
Object[][] dataValues)
Add a document description to the current job's queue.
|
void |
IProcessActivity.addDocumentReference(String documentIdentifier,
String parentIdentifier,
String relationshipType,
String[] dataNames,
Object[][] dataValues,
Long originationTime)
Add a document description to the current job's queue.
|
void |
IProcessActivity.addDocumentReference(String documentIdentifier,
String parentIdentifier,
String relationshipType,
String[] dataNames,
Object[][] dataValues,
Long originationTime,
String[] prereqEventNames)
Add a document description to the current job's queue.
|
void |
IJobManager.addDocuments(String processID,
Long jobID,
String[] legalLinkTypes,
String[] docIDHashes,
String[] docIDs,
String parentIdentifierHash,
String relationshipType,
int hopcountMethod,
String[][] dataNames,
Object[][][] dataValues,
IPriorityCalculator[] priorities,
String[][] prereqEventNames)
Add documents to the queue in bulk.
|
void |
IJobManager.addDocumentsInitial(String processID,
Long jobID,
String[] legalLinkTypes,
String[] docIDHashes,
String[] docIDs,
boolean overrideSchedule,
int hopcountMethod,
IPriorityCalculator[] documentPriorities,
String[][] prereqEventNames)
Add an initial set of documents to the queue.
|
void |
IJobManager.addRemainingDocumentsInitial(String processID,
Long jobID,
String[] legalLinkTypes,
String[] docIDHashes,
int hopcountMethod)
Add an initial set of remaining documents to the queue.
|
void |
ISeedingActivity.addSeedDocument(String documentIdentifier)
Record a "seed" document identifier.
|
void |
ISeedingActivity.addSeedDocument(String documentIdentifier,
String[] prereqEventNames)
Record a "seed" document identifier.
|
String |
IRepositoryConnector.addSeedDocuments(ISeedingActivity activities,
Specification spec,
String lastSeedVersion,
long seedTime,
int jobMode)
Queue "seed" documents.
|
void |
ISeedingActivity.addUnqueuedSeedDocument(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(Double[] binNamesSet)
Assess the current minimum depth.
|
boolean |
IEventActivity.beginEventSequence(String eventName)
Begin an event sequence.
|
boolean |
IJobManager.beginEventSequence(String processID,
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(String name)
Check if underlying connector exists.
|
boolean |
IRepositoryConnectionManager.checkConnectorExists(String name)
Check if underlying connector exists.
|
boolean |
IFingerprintActivity.checkDateIndexable(Date date)
Detect if a date is indexable or not.
|
boolean |
IFingerprintActivity.checkDocumentIndexable(File localFile)
Check whether a document is indexable by the currently specified output connector.
|
boolean |
IProcessActivity.checkDocumentNeedsReindexing(String documentIdentifier,
String newVersionString)
Check if a document needs to be reindexed, based on a computed version string.
|
boolean |
IProcessActivity.checkDocumentNeedsReindexing(String documentIdentifier,
String componentIdentifier,
String newVersionString)
Check if a document needs to be reindexed, based on a computed version string.
|
boolean |
IJobManager.checkIfNotificationReference(String connectionName)
See if there's a reference to a notification connection name.
|
boolean |
IJobManager.checkIfOutputReference(String connectionName)
See if there's a reference to an output connection name.
|
boolean |
IJobManager.checkIfReference(String connectionName)
See if there's a reference to a connection name.
|
boolean |
IJobManager.checkIfTransformationReference(String connectionName)
See if there's a reference to a transformation connection name.
|
boolean |
IJobManager.checkJobActive(Long jobID)
Verify that a specific job is indeed still active.
|
boolean |
IJobManager.checkJobBusy(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(String mimeType)
Detect if a mime type is indexable or not.
|
boolean |
IFingerprintActivity.checkURLIndexable(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(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(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(Long jobID)
Clear job seeding state.
|
void |
IDocumentIdentifierStream.close()
Close the stream.
|
void |
INotificationConnectorPool.closeAllConnectors()
Clean up all open notification connector handles.
|
void |
IRepositoryConnectorPool.closeAllConnectors()
Clean up all open repository connector handles.
|
void |
IEventActivity.completeEventSequence(String eventName)
Complete an event sequence.
|
void |
IJobManager.completeEventSequence(String eventName)
Complete an event sequence.
|
long |
IRepositoryConnectionManager.countHistoryRows(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,
String className)
Uninstall connector.
|
static void |
RepositoryConnectorFactory.deinstall(IThreadContext threadContext,
String className)
Uninstall connector.
|
void |
INotificationConnectionManager.delete(String name)
Delete a notification connection.
|
void |
IRepositoryConnectionManager.delete(String name)
Delete a repository connection.
|
void |
IProcessActivity.deleteDocument(String documentIdentifier)
Delete the specified document permanently from the search engine index, and from the status table,
along with all its components.
|
void |
IProcessActivity.deleteDocument(String documentIdentifier,
String version)
Deprecated.
|
void |
IJobManager.deleteIngestedDocumentIdentifiers(DocumentDescription[] identifiers)
Delete ingested document identifiers (as part of deleting the owning job).
|
void |
IJobManager.deleteJob(Long id)
Delete a job.
|
void |
IJobManager.deleteJobsReadyForDelete()
Delete jobs in need of being deleted (which are marked "ready for delete").
|
void |
IJobManager.doneDocumentsInitial(Long jobID,
String[] legalLinkTypes,
boolean isPartial,
int hopcountMethod)
Signal that a seeding pass has been done.
|
void |
IReprioritizationTracker.doneReprioritization(String reproID)
Complete a reprioritization activity.
|
boolean |
IJobManager.errorAbort(Long jobID,
String errorText)
Abort a running job due to a fatal error condition.
|
void |
IJobManager.exportConfiguration(OutputStream os)
Export configuration
|
void |
INotificationConnectionManager.exportConfiguration(OutputStream os)
Export configuration
|
void |
IRepositoryConnectionManager.exportConfiguration(OutputStream os)
Export configuration
|
String[] |
INotificationConnectionManager.findConnectionsForConnector(String className)
Get a list of notification connections that share the same connector.
|
String[] |
IRepositoryConnectionManager.findConnectionsForConnector(String className)
Get a list of repository connections that share the same connector.
|
boolean[] |
IJobManager.findHopCounts(Long jobID,
String[] legalLinkTypes,
String[] docIDHashes,
String linkType,
int limit,
int hopcountMethod)
Get the specified hop counts, with the limit as described.
|
IJobDescription[] |
IJobManager.findJobsForConnection(String connectionName)
Get the job IDs associated with a given connection name.
|
DocumentDescription[] |
IJobManager.finishDocuments(Long jobID,
String[] legalLinkTypes,
String[] parentIdentifierHashes,
int hopcountMethod)
Complete adding child documents to the queue, for a set of documents.
|
void |
IJobManager.finishJobResumes(long timestamp,
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,
List<IJobDescription> modifiedJobs,
List<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(String connectionName,
StatusFilterCriteria filterCriteria,
SortOrder sortOrder,
int startRow,
int rowCount)
Run a 'document status' report.
|
IResultSet |
IRepositoryConnectionManager.genHistoryActivityCount(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(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(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(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(String connectionName,
StatusFilterCriteria filterCriteria,
SortOrder sortOrder,
BucketDescription idBucketDescription,
int startRow,
int rowCount)
Run a 'queue status' report.
|
static String[] |
RepositoryConnectorFactory.getActivitiesList(IThreadContext threadContext,
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.
|
String[] |
IJobManager.getAllSeeds(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,
String className)
Get the operating mode for a connector.
|
static INotificationConnector |
NotificationConnectorFactory.getConnectorNoCheck(String className)
Get a notification connector instance, without checking for installed connector.
|
static IRepositoryConnector |
RepositoryConnectorFactory.getConnectorNoCheck(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.
|
String |
IConnectorManager.getDescription(String className)
Get a description given a class name.
|
String |
INotificationConnectorManager.getDescription(String className)
Get a description given a class name.
|
double |
IPriorityCalculator.getDocumentPriority()
Compute the document priority.
|
DocumentSetAndFlags |
IJobManager.getExpiredDocuments(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(String binName,
double weightedMinimumDepth)
Get a bin value.
|
double[] |
IBinManager.getIncrementBinValues(String binName,
double newBinValue,
int count)
Get N bin values (and set next one).
|
double[] |
IBinManager.getIncrementBinValuesInTransaction(String binName,
double newBinValue,
int count)
Get N bin values (and set next one).
|
String |
IExistingVersions.getIndexedVersionString(String documentIdentifier)
Retrieve the primary existing version string given a document identifier.
|
String |
IExistingVersions.getIndexedVersionString(String documentIdentifier,
String componentIdentifier)
Retrieve a component existing version string given a document identifier.
|
JobNotifyRecord[] |
IJobManager.getJobsReadyForDelete(String processID)
Find the list of jobs that need to have their connectors notified of job deletion.
|
JobDeleteRecord[] |
IJobManager.getJobsReadyForDeleteCleanup(String processID)
Get the list of jobs that are ready for delete cleanup.
|
JobNotifyRecord[] |
IJobManager.getJobsReadyForInactivity(String processID)
Find the list of jobs that need to have their connectors notified of job completion.
|
JobSeedingRecord[] |
IJobManager.getJobsReadyForSeeding(String processID,
long currentTime)
Get the list of jobs that are ready for seeding.
|
JobStartRecord[] |
IJobManager.getJobsReadyForStartup(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(String processID,
int n,
long currentTime)
Get list of cleanable document descriptions.
|
DocumentDescription[] |
IJobManager.getNextDeletableDocuments(String processID,
int n,
long currentTime)
Get list of deletable document descriptions.
|
DocumentDescription[] |
IJobManager.getNextDocuments(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.
|
String |
IDocumentIdentifierStream.getNextIdentifier()
Get the next local document identifier.
|
DocumentDescription[] |
IJobManager.getNextNotYetProcessedReprioritizationDocuments(String processID,
int n)
Get a list of not-yet-processed documents to reprioritize.
|
static String[] |
RepositoryConnectorFactory.getRelationshipTypes(IThreadContext threadContext,
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(Long jobID)
Get the status of a job.
|
JobStatus |
IJobManager.getStatus(Long jobID,
boolean includeCounts)
Get the status of a job.
|
JobStatus |
IJobManager.getStatus(Long jobID,
boolean includeCounts,
int maxCount)
Get the status of a job.
|
protected String[] |
RepositoryConnectorFactory.getThisActivitiesList(IThreadContext threadContext,
String className)
Get the activities supported by this connector.
|
protected int |
RepositoryConnectorFactory.getThisConnectorModel(IThreadContext threadContext,
String className)
Get the operating mode for a connector.
|
protected String[] |
RepositoryConnectorFactory.getThisRelationshipTypes(IThreadContext threadContext,
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(String[] orderingKeys,
INotificationConnection[] authorityConnections)
Get multiple notification connectors, all at once.
|
IRepositoryConnector[] |
IRepositoryConnectorPool.grabMultiple(String[] orderingKeys,
IRepositoryConnection[] authorityConnections)
Get multiple repository connectors, all at once.
|
void |
IJobManager.importConfiguration(InputStream is)
Import configuration
|
void |
INotificationConnectionManager.importConfiguration(InputStream is)
Import configuration
|
void |
IRepositoryConnectionManager.importConfiguration(InputStream is)
Import configuration
|
void |
IJobManager.inactivateJob(Long jobID)
Inactivate a job, from the notification state.
|
void |
IProcessActivity.ingestDocument(String documentIdentifier,
String version,
String documentURI,
RepositoryDocument data)
Deprecated.
|
void |
IProcessActivity.ingestDocumentWithException(String documentIdentifier,
String version,
String documentURI,
RepositoryDocument data)
Ingest the current document.
|
void |
IProcessActivity.ingestDocumentWithException(String documentIdentifier,
String componentIdentifier,
String version,
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,
String className)
Install connector.
|
static void |
RepositoryConnectorFactory.install(IThreadContext threadContext,
String className)
Install connector.
|
boolean |
IRepositoryConnectionManager.isGroupReferenced(String authorityGroup)
Return true if the specified authority group name is referenced.
|
protected boolean |
NotificationConnectorFactory.isInstalled(IThreadContext tc,
String className) |
protected boolean |
RepositoryConnectorFactory.isInstalled(IThreadContext tc,
String className) |
boolean |
IConnectorManager.isInstalled(String className)
Check if a particular connector is installed or not.
|
boolean |
INotificationConnectorManager.isInstalled(String className)
Check if a particular connector is installed or not.
|
String |
IReprioritizationTracker.isSpecifiedProcessReprioritizing(String processID)
Check if the specified processID is the one performing reprioritization.
|
IJobDescription |
IJobManager.load(Long id)
Load a job for editing.
|
IJobDescription |
IJobManager.load(Long id,
boolean readOnly)
Load a job.
|
INotificationConnection |
INotificationConnectionManager.load(String name)
Load a notification connection by name.
|
IRepositoryConnection |
IRepositoryConnectionManager.load(String name)
Load a repository connection by name.
|
INotificationConnection[] |
INotificationConnectionManager.loadMultiple(String[] names)
Load a set of notification connections.
|
IRepositoryConnection[] |
IRepositoryConnectionManager.loadMultiple(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(Long jobID)
Manually abort a running job.
|
void |
IJobManager.manualAbortRestart(Long jobID)
Manually restart a running job.
|
void |
IJobManager.manualAbortRestart(Long jobID,
boolean requestMinimum)
Manually restart a running job.
|
void |
IJobManager.manualStart(Long jobID)
Manually start a job.
|
void |
IJobManager.manualStart(Long jobID,
boolean requestMinimum)
Manually start a job.
|
DocumentDescription[] |
IJobManager.markDocumentCleanedUp(Long jobID,
String[] legalLinkTypes,
DocumentDescription documentDescription,
int hopcountMethod)
Delete from queue as a result of cleaning up an unreachable document.
|
DocumentDescription[] |
IJobManager.markDocumentCleanedUpMultiple(Long jobID,
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(Long jobID,
String[] legalLinkTypes,
DocumentDescription documentDescription,
int hopcountMethod)
Delete from queue as a result of processing of an active document.
|
DocumentDescription[] |
IJobManager.markDocumentDeletedMultiple(Long jobID,
String[] legalLinkTypes,
DocumentDescription[] documentDescriptions,
int hopcountMethod)
Delete from queue as a result of processing of an active document.
|
DocumentDescription[] |
IJobManager.markDocumentExpired(Long jobID,
String[] legalLinkTypes,
DocumentDescription documentDescription,
int hopcountMethod)
Delete from queue as a result of expiration of an active document.
|
DocumentDescription[] |
IJobManager.markDocumentExpiredMultiple(Long jobID,
String[] legalLinkTypes,
DocumentDescription[] documentDescriptions,
int hopcountMethod)
Delete from queue as a result of expiration of an active document.
|
DocumentDescription[] |
IJobManager.markDocumentHopcountRemoval(Long jobID,
String[] legalLinkTypes,
DocumentDescription documentDescription,
int hopcountMethod)
Mark hopcount removal from queue as a result of processing of an active document.
|
DocumentDescription[] |
IJobManager.markDocumentHopcountRemovalMultiple(Long jobID,
String[] legalLinkTypes,
DocumentDescription[] documentDescriptions,
int hopcountMethod)
Mark hopcount removal from queue as a result of processing of an active document.
|
void |
IProcessActivity.noDocument(String documentIdentifier,
String version)
Remove the specified document from the search engine index, and update the
recorded version information for the document.
|
void |
IProcessActivity.noDocument(String documentIdentifier,
String componentIdentifier,
String version)
Remove the specified document from the search engine index, and update the
recorded version information for the document.
|
void |
IJobManager.noteConnectionChange(String connectionName)
Note a change in connection configuration.
|
void |
IJobManager.noteConnectorDeregistration(String[] connectionNames)
Note the deregistration of a connector used by the specified connections.
|
void |
IJobManager.noteConnectorRegistration(String[] connectionNames)
Note the registration of a connector used by the specified connections.
|
void |
IJobManager.noteJobDeleteStarted(Long jobID,
long startTime)
Note job delete started.
|
void |
IJobManager.noteJobSeeded(Long jobID,
String seedingVersion)
Note job seeded.
|
void |
IJobManager.noteJobStarted(Long jobID,
long startTime,
String seedingVersion)
Note job started.
|
void |
IJobManager.noteNotificationConnectionChange(String connectionName)
Note a change in notification connection configuration.
|
void |
IJobManager.noteNotificationConnectorDeregistration(String[] connectionNames)
Note the deregistration of a notification connector used by the specified connections.
|
void |
IJobManager.noteNotificationConnectorRegistration(String[] connectionNames)
Note the registration of a notification connector used by the specified connections.
|
void |
IJobManager.noteOutputConnectionChange(String connectionName)
Note a change in output connection configuration.
|
void |
IJobManager.noteOutputConnectorDeregistration(String[] connectionNames)
Note the deregistration of an output connector used by the specified connections.
|
void |
IJobManager.noteOutputConnectorRegistration(String[] connectionNames)
Note the registration of an output connector used by the specified connections.
|
void |
IJobManager.noteTransformationConnectionChange(String connectionName)
Note a change in transformation connection configuration.
|
void |
IJobManager.noteTransformationConnectorDeregistration(String[] connectionNames)
Note the deregistration of a transformation connector used by the specified connections.
|
void |
IJobManager.noteTransformationConnectorRegistration(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,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
String tabName)
Output the configuration body section.
|
static void |
RepositoryConnectorFactory.outputConfigurationBody(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
String tabName)
Output the configuration body section.
|
static void |
NotificationConnectorFactory.outputConfigurationHeader(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
ArrayList tabsArray)
Output the configuration header section.
|
static void |
RepositoryConnectorFactory.outputConfigurationHeader(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
ArrayList tabsArray)
Output the configuration header section.
|
void |
INotificationConnector.outputSpecificationBody(IHTTPOutput out,
Locale locale,
Specification ds,
int connectionSequenceNumber,
int actualSequenceNumber,
String tabName)
Output the specification body section.
|
void |
IRepositoryConnector.outputSpecificationBody(IHTTPOutput out,
Locale locale,
Specification ds,
int connectionSequenceNumber,
int actualSequenceNumber,
String tabName)
Output the specification body section.
|
void |
INotificationConnector.outputSpecificationHeader(IHTTPOutput out,
Locale locale,
Specification ds,
int connectionSequenceNumber,
List<String> tabsArray)
Output the specification header section.
|
void |
IRepositoryConnector.outputSpecificationHeader(IHTTPOutput out,
Locale locale,
Specification ds,
int connectionSequenceNumber,
List<String> tabsArray)
Output the specification header section.
|
void |
IJobManager.pauseJob(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(Long jobID)
Prepare for a delete scan.
|
void |
IJobManager.prepareForClusterStart()
Prepare to start the entire cluster.
|
void |
IJobManager.prepareJobScan(Long jobID,
String[] legalLinkTypes,
int hopcountMethod,
int connectorModel,
boolean continuousJob,
boolean fromBeginningOfTime,
boolean requestMinimum)
Prepare a job to be run.
|
static String |
NotificationConnectorFactory.processConfigurationPost(IThreadContext threadContext,
String className,
IPostParameters variableContext,
Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
static String |
RepositoryConnectorFactory.processConfigurationPost(IThreadContext threadContext,
String className,
IPostParameters variableContext,
Locale locale,
ConfigParams configParams)
Process configuration post data for a connector.
|
void |
IRepositoryConnector.processDocuments(String[] documentIdentifiers,
IExistingVersions statuses,
Specification spec,
IProcessActivity activities,
int jobMode,
boolean usesDefaultAuthority)
Process a set of documents.
|
String |
INotificationConnector.processSpecificationPost(IPostParameters variableContext,
Locale locale,
Specification ds,
int connectionSequenceNumber)
Process a specification post.
|
String |
IRepositoryConnector.processSpecificationPost(IPostParameters variableContext,
Locale locale,
Specification ds,
int connectionSequenceNumber)
Process a specification post.
|
void |
IHistoryActivity.recordActivity(Long startTime,
String activityType,
Long dataSize,
String entityIdentifier,
String resultCode,
String resultDescription,
String[] childIdentifiers)
Record time-stamped information about the activity of the connector.
|
void |
IProcessActivity.recordDocument(String documentIdentifier,
String version)
Record a document version, WITHOUT reindexing it, or removing it.
|
void |
IProcessActivity.recordDocument(String documentIdentifier,
String componentIdentifier,
String version)
Record a document version, WITHOUT reindexing it, or removing it.
|
void |
IRepositoryConnectionManager.recordHistory(String connectionName,
Long startTime,
String activityType,
Long dataSize,
String entityIdentifier,
String resultCode,
String resultDescription,
String[] childIdentifiers)
Record time-stamped information about the activity of the connection.
|
void |
IConnectorManager.registerConnector(String description,
String className)
Register a new connector.
|
void |
INotificationConnectorManager.registerConnector(String description,
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(String className)
Remove a connector.
|
void |
INotificationConnectorManager.removeConnector(String className)
Remove a connector.
|
void |
IProcessActivity.removeDocument(String documentIdentifier)
Remove the specified document primary component permanently from the search engine index,
and from the status table.
|
void |
IJobManager.removeJob(Long jobID)
Remove a job, from the notification state.
|
boolean |
INotificationConnector.requestInfo(Configuration output,
String command)
Request arbitrary connector information.
|
boolean |
IRepositoryConnector.requestInfo(Configuration output,
String command)
Request arbitrary connector information.
|
void |
IJobManager.requeueDocument(DocumentDescription documentDescription,
Long executeTime,
int action)
Requeue a document for further processing in the future.
|
void |
IJobManager.requeueDocumentMultiple(DocumentDescription[] documentDescriptions,
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(Long jobID)
Reset a job that is delete notifying back to "ready for delete notify"
state.
|
void |
IJobManager.resetDeleteStartupWorkerStatus(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(String processID)
Reset as part of restoring doc cleanup threads.
|
void |
IJobManager.resetDocDeleteWorkerStatus(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(String processID)
Reset as part of restoring document worker threads.
|
void |
IJobManager.resetJobs(long currentTime,
List<IJobDescription> resetJobs)
Reset eligible jobs either back to the "inactive" state, or make them active again.
|
void |
IJobManager.resetJobSchedule(Long jobID)
Reset job schedule.
|
void |
IJobManager.resetNotificationWorkerStatus(String processID)
Reset as part of restoring notification threads.
|
void |
IJobManager.resetNotifyJob(Long jobID)
Reset a job that is notifying back to "ready for notify"
state.
|
void |
IJobManager.resetSeedingWorkerStatus(String processID)
Reset as part of restoring seeding threads.
|
void |
IJobManager.resetSeedJob(Long jobID)
Reset a seeding job back to "active" state.
|
void |
IJobManager.resetStartDeleteJob(Long jobID)
Reset a job starting for delete back to "ready for delete"
state.
|
void |
IJobManager.resetStartupJob(Long jobID)
Reset a starting job back to "ready for startup" state.
|
void |
IJobManager.resetStartupWorkerStatus(String processID)
Reset as part of restoring startup threads.
|
void |
IJobManager.restartJob(Long jobID)
Restart a paused job.
|
void |
IProcessActivity.retainAllComponentDocument(String documentIdentifier)
Retain all existing document components of a primary document.
|
void |
IProcessActivity.retainDocument(String documentIdentifier,
String componentIdentifier)
Retain existing document component.
|
String[] |
IJobManager.retrieveParentData(Long jobID,
String docIDHash,
String dataName)
Retrieve specific parent data for a given document.
|
String[] |
ICarrydownActivity.retrieveParentData(String localIdentifier,
String dataName)
Retrieve data passed from parents to a specified child document.
|
CharacterInput[] |
IJobManager.retrieveParentDataAsFiles(Long jobID,
String docIDHash,
String dataName)
Retrieve specific parent data for a given document.
|
CharacterInput[] |
ICarrydownActivity.retrieveParentDataAsFiles(String localIdentifier,
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(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(Long jobID,
String[] legalLinkTypes,
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(String documentIdentifier,
Long originationTime)
Override a document's origination time.
|
void |
IProcessActivity.setDocumentScheduleBounds(String documentIdentifier,
Long lowerRecrawlBoundTime,
Long upperRecrawlBoundTime,
Long lowerExpireBoundTime,
Long upperExpireBoundTime)
Override the schedule for the next time a document is crawled.
|
void |
IJobManager.startJobs(long currentTime,
List<Long> unwaitList)
Start jobs based on schedule.
|
void |
IReprioritizationTracker.startReprioritization(String processID,
String reproID)
Start a reprioritization activity.
|
void |
IConnectorManager.unregisterConnector(String className)
Unregister a connector.
|
void |
INotificationConnectorManager.unregisterConnector(String className)
Unregister a connector.
|
static void |
NotificationConnectorFactory.viewConfiguration(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams configParams)
View connector configuration.
|
static void |
RepositoryConnectorFactory.viewConfiguration(IThreadContext threadContext,
String className,
IHTTPOutput out,
Locale locale,
ConfigParams configParams)
View connector configuration.
|
void |
INotificationConnector.viewSpecification(IHTTPOutput out,
Locale locale,
Specification ds,
int connectionSequenceNumber)
View specification.
|
void |
IRepositoryConnector.viewSpecification(IHTTPOutput out,
Locale locale,
Specification ds,
int connectionSequenceNumber)
View specification.
|
void |
IJobManager.waitJobs(long currentTime,
List<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(InputStream xmlStream)
Construct from XML.
|
DocumentSpecification(String xml)
Construct from XML.
|
SortOrder.SortSpec(SortOrder.ParseBuffer pb) |
SortOrder(String rep)
Constructor from string representation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Jobs.abortJob(Long jobID,
String errorText)
Abort a job.
|
void |
Jobs.abortRestartJob(Long jobID,
boolean requestMinimum)
Restart a job.
|
static 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(String connectionName,
IRepositoryConnector connectorInstance)
Add an active connection.
|
protected boolean |
JobManager.addCriteria(StringBuilder sb,
ArrayList list,
String fieldPrefix,
String connectionName,
StatusFilterCriteria criteria,
boolean whereEmitted)
Add criteria clauses to query.
|
void |
JobManager.addDocument(String processID,
Long jobID,
String[] legalLinkTypes,
String docIDHash,
String docID,
String parentIdentifierHash,
String relationshipType,
int hopcountMethod,
String[] dataNames,
Object[][] dataValues,
IPriorityCalculator priority,
String[] prereqEventNames)
Add a document to the queue.
|
void |
JobManager.addDocuments(String processID,
Long jobID,
String[] legalLinkTypes,
String[] docIDHashes,
String[] docIDs,
String parentIdentifierHash,
String relationshipType,
int hopcountMethod,
String[][] dataNames,
Object[][][] dataValues,
IPriorityCalculator[] documentPriorities,
String[][] prereqEventNames)
Add documents to the queue in bulk.
|
void |
JobManager.addDocumentsInitial(String processID,
Long jobID,
String[] legalLinkTypes,
String[] docIDHashes,
String[] docIDs,
boolean overrideSchedule,
int hopcountMethod,
IPriorityCalculator[] documentPriorities,
String[][] prereqEventNames)
Add an initial set of documents to the queue.
|
void |
JobQueue.addRemainingDocumentsInitial(Long jobID,
String[] docIDHashes,
String processID)
Note the remaining documents that do NOT need to be queued.
|
void |
JobManager.addRemainingDocumentsInitial(String processID,
Long jobID,
String[] legalLinkTypes,
String[] docIDHashes,
int hopcountMethod)
Add an initial set of remaining documents to the queue.
|
void |
PrereqEventManager.addRows(Long recordID,
String[] eventNames)
Add rows pertaining to a single entry
|
protected boolean[] |
HopCount.addToProcessingQueue(Long jobID,
String[] affectedLinkTypes,
String[] documentIDHashes,
HopCount.Answer[] startingAnswers,
String sourceDocumentIDHash,
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 String |
Jobs.assessmentStateToString(int value)
Go from assessment state to string.
|
boolean |
JobManager.beginEventSequence(String processID,
String eventName)
Begin an event sequence.
|
protected void |
JobManager.buildCountsUsingGroupBy(String whereClause,
ArrayList whereParams,
Map<Long,Long> set2Hash,
Map<Long,Long> set3Hash,
Map<Long,Long> set4Hash,
Map<Long,Boolean> set2Exact,
Map<Long,Boolean> set3Exact,
Map<Long,Boolean> set4Exact) |
protected void |
JobManager.buildCountsUsingIndividualQueries(String whereClause,
ArrayList whereParams,
int maxCount,
Map<Long,Long> set2Hash,
Map<Long,Long> set3Hash,
Map<Long,Long> set4Hash,
Map<Long,Boolean> set2Exact,
Map<Long,Boolean> set3Exact,
Map<Long,Boolean> set4Exact) |
protected static ClauseDescription |
JobManager.buildOutstandingClause() |
protected static ClauseDescription |
JobManager.buildProcessedClause() |
protected DocumentDescription[] |
JobManager.calculateAffectedDeleteCarrydownChildren(Long jobID,
String[] docIDHashes)
Helper method: Find the document descriptions that will be affected due to carrydown row deletions.
|
protected DocumentDescription[] |
JobManager.calculateAffectedRestoreCarrydownChildren(Long jobID,
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(String connectionName)
See if there's a reference to a notification connection name.
|
boolean |
Jobs.checkIfNotificationReference(String connectionName)
See if there's a reference to a notification connection name.
|
boolean |
JobManager.checkIfOutputReference(String connectionName)
See if there's a reference to an output connection name.
|
boolean |
Jobs.checkIfOutputReference(String connectionName)
See if there's a reference to an output connection name.
|
boolean |
JobManager.checkIfReference(String connectionName)
See if there's a reference to a connection name.
|
boolean |
Jobs.checkIfReference(String connectionName)
See if there's a reference to a connection name.
|
boolean |
JobManager.checkIfTransformationReference(String connectionName)
See if there's a reference to a transformation connection name.
|
boolean |
Jobs.checkIfTransformationReference(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(Long jobID)
Verify that a specific job is indeed still active.
|
boolean |
Jobs.checkJobActive(Long jobID)
Check whether a job's status indicates that it is in ACTIVE or ACTIVESEEDING state.
|
boolean |
JobManager.checkJobBusy(Long jobID)
Verify if a job is still processing documents, or no longer has any outstanding active documents
|
boolean |
JobQueue.checkJobBusy(Long jobID)
Check if there are any outstanding active documents for a job
|
protected boolean |
Jobs.checkOutputsInstalled(String[] outputNames) |
protected boolean |
Jobs.checkTransformationsInstalled(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(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(Long jobID)
Clear the failtimes for all documents associated with a job.
|
void |
JobManager.clearJobSeedingState(Long jobID)
Clear job seeding state.
|
void |
Jobs.clearSeedingState(Long jobID)
Clear seeding state for a job.
|
boolean |
ForcedParamManager.compareRows(Long ownerID,
IJobDescription list)
Compare rows in database against what is in job description.
|
boolean |
HopFilterManager.compareRows(Long ownerID,
IJobDescription list)
Compare a filter list against what's in a job description.
|
boolean |
NotificationManager.compareRows(Long ownerID,
IJobDescription job)
Compare rows in job description with what's currently in the database.
|
boolean |
PipelineManager.compareRows(Long ownerID,
IJobDescription job)
Compare rows in job description with what's currently in the database.
|
void |
JobManager.completeEventSequence(String eventName)
Complete an event sequence.
|
IJobDescription |
Jobs.create()
Create a job.
|
Object[] |
Jobs.JobObjectExecutor.create(ICacheDescription[] objectDescriptions)
Create a set of new objects to operate on and cache.
|
void |
EventManager.createEvent(String eventName,
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 |
ForcedParamManager.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(Long id)
Delete a job.
|
void |
JobQueue.deleteAllJobRecords(Long jobID)
For a job deletion: Delete all records for a job.
|
void |
HopDeleteDeps.deleteDependency(Long ownerID,
DeleteDependency dd)
Delete a dependency
|
void |
HopCount.deleteDocumentIdentifiers(Long jobID,
String[] legalLinkTypes,
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(Long jobID)
Delete a job.
|
void |
JobManager.deleteJob(Long id)
Delete a job.
|
void |
JobManager.deleteJobsReadyForDelete()
Delete jobs in need of being deleted (which are marked "ready for delete").
|
void |
HopCount.deleteMatchingDocuments(Long jobID,
String[] legalLinkTypes,
String joinTableName,
String joinTableIDColumn,
String joinTableJobColumn,
String joinTableCriteria,
ArrayList joinTableParams,
int hopcountMethod)
Remove a set of document identifiers specified as a criteria.
|
void |
Carrydown.deleteOwner(Long jobID)
Delete an owning job (and clean up the corresponding carrydown rows).
|
void |
HopCount.deleteOwner(Long jobID)
Delete an owner (and clean up the corresponding hopcount rows).
|
void |
IntrinsicLink.deleteOwner(Long jobID)
Delete an owner (and clean up the corresponding hopcount rows).
|
void |
HopDeleteDeps.deleteOwnerRows(Long[] ownerIDs)
Delete rows related to specified owners.
|
void |
JobQueue.deleteRecord(Long id)
Remove a record entirely.
|
void |
JobQueue.deleteRecordMultiple(Long[] ids)
Remove multiple records entirely.
|
void |
Carrydown.deleteRecords(Long jobID,
String[] documentIDHashes)
Delete all records that mention a particular set of document identifiers.
|
void |
PrereqEventManager.deleteRows(ArrayList list)
Delete specified rows, as directly specified without a join.
|
void |
ForcedParamManager.deleteRows(Long ownerID)
Delete rows.
|
void |
HopFilterManager.deleteRows(Long ownerID)
Delete rows.
|
void |
NotificationManager.deleteRows(Long ownerID)
Delete rows.
|
void |
PipelineManager.deleteRows(Long ownerID)
Delete rows.
|
void |
PrereqEventManager.deleteRows(Long recordID)
Delete rows pertaining to a single entry
|
void |
ScheduleManager.deleteRows(Long ownerID)
Delete rows.
|
void |
PrereqEventManager.deleteRows(String parentTableName,
String joinField,
String parentCriteria,
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(String eventName)
Destroy an event
|
protected void |
HopCount.doDeleteDocuments(Long jobID,
String[] documentHashes)
Invalidate links that start with a specific set of documents.
|
protected void |
HopCount.doDeleteDocuments(Long jobID,
String joinTableName,
String joinTableIDColumn,
String joinTableJobColumn,
String joinTableCriteria,
ArrayList joinTableParams)
Invalidate links that start with a specific set of documents, described by
a table join.
|
protected void |
HopCount.doDeleteInvalidation(Long jobID,
String[] sourceDocumentHashes)
Invalidate links meeting a simple criteria which have a given set of source documents.
|
protected DocumentDescription[] |
JobManager.doDeleteMultiple(Long jobID,
String[] legalLinkTypes,
DocumentDescription[] documentDescriptions,
int hopcountMethod)
Delete documents with no repercussions.
|
protected void |
JobQueue.doDeletes(ArrayList list)
Do a batch of deletes.
|
protected void |
HopCount.doFinish(Long jobID,
String[] legalLinkTypes,
String[] sourceDocumentHashes,
int hopcountMethod)
Method that does the work of "finishing" a set of child references.
|
void |
JobQueue.doneDocumentsInitial(Long jobID,
boolean isPartial)
Complete the initial set of documents.
|
void |
JobManager.doneDocumentsInitial(Long jobID,
String[] legalLinkTypes,
boolean isPartial,
int hopcountMethod)
Signal that a seeding pass has been done.
|
protected boolean[] |
HopCount.doRecord(Long jobID,
String[] legalLinkTypes,
String sourceDocumentIDHash,
String[] targetDocumentIDHashes,
String linkType,
int hopcountMethod,
String processID)
Do the work of recording source-target references.
|
boolean |
JobManager.errorAbort(Long jobID,
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,
Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
JobManager.exportConfiguration(OutputStream os)
Export configuration
|
protected void |
JobManager.fetchAndProcessDocuments(List<DocumentDescription> answers,
Long currentTimeValue,
Long currentPriorityValue,
JobManager.ThrottleLimit vList,
IRepositoryConnection[] connections,
String processID)
Fetch and process documents matching the passed-in criteria
|
protected void |
HopCount.DocumentHash.findChildren(Map referenceMap,
Long jobID,
ArrayList list)
Get the children of a bunch of nodes.
|
int[] |
HopCount.findHopCounts(Long jobID,
String[] parentIdentifierHashes,
String linkType)
Calculate a bunch of hop-counts.
|
boolean[] |
JobManager.findHopCounts(Long jobID,
String[] legalLinkTypes,
String[] docIDHashes,
String linkType,
int limit,
int hopcountMethod)
Get the specified hop counts, with the limit as described.
|
IJobDescription[] |
JobManager.findJobsForConnection(String connectionName)
Get the job IDs associated with a given connection name.
|
IJobDescription[] |
Jobs.findJobsForConnection(String connectionName)
Get the job IDs associated with a given connection name.
|
Long[] |
Jobs.findJobsMatchingNotifications(List<String> notificationConnectionNames)
Find a list of jobs matching specified notification names.
|
Long[] |
Jobs.findJobsMatchingOutputs(List<String> outputConnectionNames)
Find a list of jobs matching specified output names.
|
Long[] |
Jobs.findJobsMatchingTransformations(List<String> transformationConnectionNames)
Find a list of jobs matching specified transformation names.
|
DocumentDescription[] |
JobManager.finishDocuments(Long jobID,
String[] legalLinkTypes,
String[] parentIdentifierHashes,
int hopcountMethod)
Complete adding child documents to the queue, for a set of documents.
|
void |
Jobs.finishJob(Long jobID,
long finishTime)
Finish a job.
|
void |
Jobs.finishJobCleanup(Long jobID)
Finish job cleanup.
|
void |
JobManager.finishJobResumes(long timestamp,
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,
List<IJobDescription> modifiedJobs,
List<Integer> stopNotificationTypes)
Complete the sequence that stops jobs, either for abort, pause, or because of a scheduling
window.
|
void |
HopCount.finishParents(Long jobID,
String[] legalLinkTypes,
String[] sourceDocumentHashes,
int hopcountMethod)
Complete a recalculation pass for a set of source documents.
|
void |
Jobs.finishResumeJob(Long jobID,
long currentTime)
Resume a stopped job (from a pause or activewait).
|
void |
HopCount.finishSeedReferences(Long jobID,
String[] legalLinkTypes,
int hopcountMethod)
Finish seed references.
|
void |
Jobs.finishStopJob(Long jobID,
long currentTime)
Stop a job suddenly (abort, pause, activewait).
|
IResultSet |
JobManager.genDocumentStatus(String connectionName,
StatusFilterCriteria filterCriteria,
SortOrder sortOrder,
int startRow,
int rowCount)
Run a 'document status' report.
|
IResultSet |
JobManager.genQueueStatus(String connectionName,
StatusFilterCriteria filterCriteria,
SortOrder sortOrder,
BucketDescription idBucketDescription,
int startRow,
int rowCount)
Run a 'queue status' report.
|
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.
|
String[] |
JobManager.getAllSeeds(Long jobID)
Get all the current seeds.
|
String[] |
JobQueue.getAllSeeds(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.
|
String[] |
Carrydown.getDataValues(Long jobID,
String documentIdentifierHash,
String dataName)
Get unique values given a document identifier, data name, an job identifier
|
CharacterInput[] |
Carrydown.getDataValuesAsFiles(Long jobID,
String documentIdentifierHash,
String dataName)
Get unique values given a document identifier, data name, an job identifier
|
DeleteDependency[] |
HopDeleteDeps.getDeleteDependencies(Long ownerID)
Get the delete dependencies for an owner.
|
protected IResultSet |
HopCount.getDocumentChildren(Long jobID,
String documentIDHash)
Get document's children.
|
IResultSet |
IntrinsicLink.getDocumentChildren(Long jobID,
String parentIDHash)
Get document's children.
|
String[] |
IntrinsicLink.getDocumentUniqueParents(Long jobID,
String childIDHash)
Get document's parents.
|
DocumentSetAndFlags |
JobManager.getExpiredDocuments(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.
|
String |
JobQueue.getGetNextDocumentsIndexHint()
Get the 'getNextDocuments' index hint.
|
static String |
JobQueue.getHashCode(String documentIdentifier)
Get a hash value from a document id string.
|
protected void |
Jobs.getJobsChunk(Map<Long,JobDescription> returnValues,
String idList,
ArrayList params)
Read a chunk of repository connections.
|
protected JobDescription[] |
Jobs.getJobsMultiple(Long[] ids)
Get multiple jobs (without caching)
|
JobNotifyRecord[] |
JobManager.getJobsReadyForDelete(String processID)
Find the list of jobs that need to have their connectors notified of job deletion.
|
JobDeleteRecord[] |
JobManager.getJobsReadyForDeleteCleanup(String processID)
Get the list of jobs that are ready for delete cleanup.
|
JobNotifyRecord[] |
JobManager.getJobsReadyForInactivity(String processID)
Find the list of jobs that need to have their connectors notified of job completion.
|
JobSeedingRecord[] |
JobManager.getJobsReadyForSeeding(String processID,
long currentTime)
Get the list of jobs that are ready for seeding.
|
JobStartRecord[] |
JobManager.getJobsReadyForStartup(String processID)
Get the list of jobs that are ready for startup.
|
DocumentSetAndFlags |
JobManager.getNextCleanableDocuments(String processID,
int maxCount,
long currentTime)
Get list of cleanable document descriptions.
|
DocumentDescription[] |
JobManager.getNextDeletableDocuments(String processID,
int maxCount,
long currentTime)
Get list of deletable document descriptions.
|
DocumentDescription[] |
JobManager.getNextDocuments(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(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.
|
String[] |
NotificationManager.getNotificationConnectionNames(Long ownerID)
Get all the notification connection names for a job.
|
String[] |
PipelineManager.getOutputConnectionNames(Long ownerID)
Get all the output connection names for a job.
|
void |
ForcedParamManager.getRows(Map<Long,JobDescription> returnValues,
String ownerIDList,
ArrayList ownerIDParams)
Fill in a set of param maps corresponding to a set of owner id's.
|
void |
HopFilterManager.getRows(Map<Long,JobDescription> returnValues,
String ownerIDList,
ArrayList ownerIDParams)
Fill in a set of filters corresponding to a set of owner id's.
|
void |
NotificationManager.getRows(Map<Long,JobDescription> returnValues,
String ownerIDList,
ArrayList ownerIDParams)
Fill in a set of notifications corresponding to a set of owner id's.
|
void |
PipelineManager.getRows(Map<Long,JobDescription> returnValues,
String ownerIDList,
ArrayList ownerIDParams)
Fill in a set of pipelines corresponding to a set of owner id's.
|
void |
ScheduleManager.getRows(Map<Long,JobDescription> returnValues,
String ownerIDList,
ArrayList ownerIDParams)
Fill in a set of schedules corresponding to a set of owner id's.
|
void |
ScheduleManager.getRowsAlternate(Map returnValues,
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(Long jobID)
Get the status of a job.
|
JobStatus |
JobManager.getStatus(Long jobID,
boolean includeCounts)
Get the status of a job.
|
JobStatus |
JobManager.getStatus(Long jobID,
boolean includeCounts,
int maxCount)
Get the status of a job.
|
String[] |
PipelineManager.getTransformationConnectionNames(Long ownerID)
Get all the transformation connection names for a job.
|
protected String[] |
JobManager.getUnindexableDocumentIdentifiers(DocumentDescription[] documentIdentifiers,
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 String |
Jobs.hopcountModeToString(int value)
Go from hopcount mode to string.
|
void |
JobManager.importConfiguration(InputStream is)
Import configuration
|
void |
JobManager.inactivateJob(Long jobID)
Inactivate a job, from the notification state.
|
void |
JobQueue.insertNewRecord(Long jobID,
String docIDHash,
String docID,
IPriorityCalculator desiredDocPriority,
long desiredExecuteTime,
String[] prereqEvents)
Insert a new record into the jobqueue table (as part of adding a child reference).
|
void |
JobQueue.insertNewRecordInitial(Long jobID,
String docHash,
String docID,
IPriorityCalculator desiredDocPriority,
long desiredExecuteTime,
String[] prereqEvents,
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(String jobsTable,
String jobsColumn)
Install or upgrade.
|
void |
ForcedParamManager.install(String ownerTable,
String owningTablePrimaryKey)
Install or upgrade.
|
void |
HopCount.install(String jobsTable,
String jobsColumn)
Install or upgrade.
|
void |
HopFilterManager.install(String ownerTable,
String owningTablePrimaryKey)
Install or upgrade.
|
void |
IntrinsicLink.install(String jobsTable,
String jobsColumn)
Install or upgrade.
|
void |
JobQueue.install(String jobsTable,
String jobsColumn)
Install or upgrade.
|
void |
PrereqEventManager.install(String ownerTableName,
String ownerColumn)
Install or upgrade this table.
|
void |
ScheduleManager.install(String ownerTable,
String owningTablePrimaryKey)
Install or upgrade.
|
void |
HopDeleteDeps.install(String jobsTable,
String jobsColumn,
String hopCountTable,
String idColumn)
Install or upgrade.
|
void |
NotificationManager.install(String ownerTable,
String owningTablePrimaryKey,
String notificationTableName,
String notificationTableNameField)
Install or upgrade.
|
void |
PipelineManager.install(String ownerTable,
String owningTablePrimaryKey,
String outputTableName,
String outputTableNameField,
String transformationTableName,
String transformationTableNameField)
Install or upgrade.
|
void |
Jobs.install(String transTableName,
String transNameField,
String outputTableName,
String outputNameField,
String connectionTableName,
String connectionNameField,
String notificationConnectionTableName,
String notificationConnectionNameField)
Install or upgrade this table.
|
void |
Jobs.invalidateCurrentUnregisteredState(Long jobID,
int oldStatusValue)
Invalidate current state with respect to installed connectors, as a result of registration.
|
IJobDescription |
JobManager.load(Long id)
Load a job for editing.
|
IJobDescription |
JobManager.load(Long id,
boolean readOnly)
Load a job.
|
IJobDescription |
Jobs.load(Long id,
boolean readOnly)
Load a job for editing.
|
IJobDescription[] |
Jobs.loadMultiple(Long[] ids,
boolean[] readOnlies)
Load multiple jobs for editing.
|
protected int |
Jobs.loadMultipleInternal(IJobDescription[] rval,
int outputIndex,
Long[] ids,
boolean[] readOnlies,
int inputIndex,
int length) |
protected JobStatus[] |
JobManager.makeJobStatus(String whereClause,
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(Long jobID)
Manually abort a running job.
|
void |
JobManager.manualAbortRestart(Long jobID)
Manually restart a running job.
|
void |
JobManager.manualAbortRestart(Long jobID,
boolean requestMinimum)
Manually restart a running job.
|
void |
JobManager.manualStart(Long jobID)
Manually start a job.
|
void |
JobManager.manualStart(Long jobID,
boolean requestMinimum)
Manually start a job.
|
DocumentDescription[] |
JobManager.markDocumentCleanedUp(Long jobID,
String[] legalLinkTypes,
DocumentDescription documentDescription,
int hopcountMethod)
Delete from queue as a result of cleaning up an unreachable document.
|
DocumentDescription[] |
JobManager.markDocumentCleanedUpMultiple(Long jobID,
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(Long jobID,
String[] legalLinkTypes,
DocumentDescription documentDescription,
int hopcountMethod)
Delete from queue as a result of processing of an active document.
|
DocumentDescription[] |
JobManager.markDocumentDeletedMultiple(Long jobID,
String[] legalLinkTypes,
DocumentDescription[] documentDescriptions,
int hopcountMethod)
Delete from queue as a result of processing of an active document.
|
DocumentDescription[] |
JobManager.markDocumentExpired(Long jobID,
String[] legalLinkTypes,
DocumentDescription documentDescription,
int hopcountMethod)
Delete from queue as a result of expiration of an active document.
|
DocumentDescription[] |
JobManager.markDocumentExpiredMultiple(Long jobID,
String[] legalLinkTypes,
DocumentDescription[] documentDescriptions,
int hopcountMethod)
Delete from queue as a result of expiration of an active document.
|
DocumentDescription[] |
JobManager.markDocumentHopcountRemoval(Long jobID,
String[] legalLinkTypes,
DocumentDescription documentDescription,
int hopcountMethod)
Mark hopcount removal from queue as a result of processing of an active document.
|
DocumentDescription[] |
JobManager.markDocumentHopcountRemovalMultiple(Long jobID,
String[] legalLinkTypes,
DocumentDescription[] documentDescriptions,
int hopcountMethod)
Mark hopcount removal from queue as a result of processing of an active document.
|
protected void |
HopCount.markForDelete(Long jobID,
ArrayList list,
String commonNewExpression,
ArrayList commonNewList) |
protected void |
HopCount.markForDocumentDelete(Long jobID,
ArrayList list) |
void |
JobQueue.markNeedPriorityInProgress(Long rowID,
String processID)
Prepare to calculate a document priority for a given row.
|
static String |
HopCount.markToString(int mark)
Go from mark to string.
|
static String |
JobQueue.needPriorityToString(int value)
Convert boolean to need priority value.
|
protected void |
JobManager.noDocPriorities(Long jobID) |
void |
JobQueue.noDocPriorities(Long jobID)
Clear all document priorities for a job that is going to sleep
|
void |
JobManager.noteConnectionChange(String connectionName)
Note a change in connection configuration.
|
void |
Jobs.noteConnectionChange(String connectionName)
Note a change in connection configuration.
|
protected void |
JobManager.noteConnectionDeregistration(List<String> list)
Note deregistration for a batch of connection names.
|
protected void |
JobManager.noteConnectionRegistration(List<String> list)
Note registration for a batch of connection names.
|
void |
Jobs.noteConnectorDeregistration(Long jobID,
int oldStatusValue)
Signal to a job that its underlying connector has gone away.
|
void |
JobManager.noteConnectorDeregistration(String[] connectionNames)
Note the deregistration of a connector used by the specified connections.
|
void |
Jobs.noteConnectorRegistration(Long jobID,
int oldStatusValue)
Signal to a job that its underlying connector has returned.
|
void |
JobManager.noteConnectorRegistration(String[] connectionNames)
Note the registration of a connector used by the specified connections.
|
void |
JobManager.noteJobDeleteStarted(Long jobID,
long startTime)
Note job delete started.
|
void |
Jobs.noteJobDeleteStarted(Long jobID,
long startTime)
Put job into "deleting" state, and set the start time field.
|
void |
JobManager.noteJobSeeded(Long jobID,
String seedingVersion)
Note job seeded.
|
void |
Jobs.noteJobSeeded(Long jobID,
String seedVersionString)
Note job seeded.
|
void |
JobManager.noteJobStarted(Long jobID,
long startTime,
String seedingVersion)
Note job started.
|
void |
Jobs.noteJobStarted(Long jobID,
long startTime,
String seedVersionString)
Make job active, and set the start time field.
|
void |
JobManager.noteNotificationConnectionChange(String connectionName)
Note a change in notification connection configuration.
|
void |
Jobs.noteNotificationConnectionChange(String connectionName)
Note a change in notification connection configuration.
|
protected void |
JobManager.noteNotificationConnectionDeregistration(List<String> list)
Note deregistration for a batch of notification connection names.
|
protected void |
JobManager.noteNotificationConnectionRegistration(List<String> list)
Note registration for a batch of connection names.
|
void |
Jobs.noteNotificationConnectorDeregistration(Long jobID,
int oldStatusValue)
Signal to a job that its underlying notification connector has gone away.
|
void |
JobManager.noteNotificationConnectorDeregistration(String[] connectionNames)
Note the deregistration of a notification connector used by the specified connections.
|
void |
Jobs.noteNotificationConnectorRegistration(Long jobID,
int oldStatusValue)
Signal to a job that its underlying notification connector has returned.
|
void |
JobManager.noteNotificationConnectorRegistration(String[] connectionNames)
Note the registration of a notification connector used by the specified connections.
|
void |
JobManager.noteOutputConnectionChange(String connectionName)
Note a change in output connection configuration.
|
void |
Jobs.noteOutputConnectionChange(String connectionName)
Note a change in output connection configuration.
|
protected void |
JobManager.noteOutputConnectionDeregistration(List<String> list)
Note deregistration for a batch of output connection names.
|
protected void |
JobManager.noteOutputConnectionRegistration(List<String> list)
Note registration for a batch of output connection names.
|
void |
Jobs.noteOutputConnectorDeregistration(Long jobID,
int oldStatusValue)
Signal to a job that its underlying output connector has gone away.
|
void |
JobManager.noteOutputConnectorDeregistration(String[] connectionNames)
Note the deregistration of an output connector used by the specified connections.
|
void |
Jobs.noteOutputConnectorRegistration(Long jobID,
int oldStatusValue)
Signal to a job that its underlying output connector has returned.
|
void |
JobManager.noteOutputConnectorRegistration(String[] connectionNames)
Note the registration of an output connector used by the specified connections.
|
void |
JobManager.noteTransformationConnectionChange(String connectionName)
Note a change in transformation connection configuration.
|
void |
Jobs.noteTransformationConnectionChange(String connectionName)
Note a change in transformation connection configuration.
|
protected void |
JobManager.noteTransformationConnectionDeregistration(List<String> list)
Note deregistration for a batch of transformation connection names.
|
protected void |
JobManager.noteTransformationConnectionRegistration(List<String> list)
Note registration for a batch of transformation connection names.
|
void |
Jobs.noteTransformationConnectorDeregistration(Long jobID,
int oldStatusValue)
Signal to a job that an underlying transformation connector has gone away.
|
void |
JobManager.noteTransformationConnectorDeregistration(String[] connectionNames)
Note the deregistration of a transformation connector used by the specified connections.
|
void |
Jobs.noteTransformationConnectorRegistration(Long jobID,
int oldStatusValue)
Signal to a job that an underlying transformation connector has been registered.
|
void |
JobManager.noteTransformationConnectorRegistration(String[] connectionNames)
Note the registration of a transformation connector used by the specified connections.
|
void |
Jobs.notificationComplete(Long jobID)
Mark job as having properly notified the output connector of completion.
|
void |
JobManager.pauseJob(Long jobID)
Pause a job.
|
void |
Jobs.pauseJob(Long jobID)
Pause a job.
|
protected void |
Carrydown.performDeleteRecords(Long jobID,
List<String> list) |
protected void |
Carrydown.performExistsCheck(Map presentMap,
String query,
ArrayList list)
Do the exists check, in batch.
|
protected void |
IntrinsicLink.performExistsCheck(Set<String> presentMap,
Long jobID,
String linkType,
String childIDHash,
List<String> list)
Do the exists check, in batch.
|
protected void |
HopCount.performFindMissingRecords(Long jobID,
String[] affectedLinkTypes,
ArrayList list,
Map<HopCount.Question,Long> matchMap)
Limited find for missing records.
|
protected void |
HopCount.performGetCachedDistanceDeps(Map depsMap,
ArrayList list)
Do a limited fetch of cached distance dependencies
|
protected void |
HopCount.performGetCachedDistances(HopCount.DocumentNode[] rval,
Map indexMap,
Map depsMap,
Long jobID,
ArrayList ltList,
ArrayList list)
Do a limited fetch of cached distances
|
protected void |
HopCount.performMarkAddDeps(String query,
ArrayList list)
Do the work of marking add-dep-dependent links in the hopcount table.
|
protected void |
IntrinsicLink.performRemoveDocumentLinks(List<String> list,
Long jobID) |
protected void |
IntrinsicLink.performRemoveLinks(List<String> list,
Long jobID,
String commonNewExpression,
ArrayList commonNewParams) |
protected void |
IntrinsicLink.performRestoreLinks(Long jobID,
List<String> list) |
protected void |
Carrydown.performRestoreRecords(String query,
Long jobID,
List<String> list) |
protected void |
IntrinsicLink.performRevertLinks(Long jobID,
List<String> list) |
protected void |
Carrydown.performRevertRecords(String query,
Long jobID,
List<String> list) |
void |
JobManager.prepareDeleteScan(Long jobID)
Prepare for a delete scan.
|
void |
JobQueue.prepareDeleteScan(Long jobID)
Prepare for a job delete pass.
|
void |
JobManager.prepareForClusterStart()
Prepare to start the entire cluster.
|
void |
JobQueue.prepareFullScan(Long jobID)
Prepare for a "full scan" job.
|
protected void |
JobManager.prepareFullScan(Long jobID,
String[] legalLinkTypes,
int hopcountMethod)
Prepare for a full scan.
|
void |
JobQueue.prepareIncrementalScan(Long jobID)
Prepare for an "incremental" job.
|
void |
JobManager.prepareJobScan(Long jobID,
String[] legalLinkTypes,
int hopcountMethod,
int connectorModel,
boolean continuousJob,
boolean fromBeginningOfTime,
boolean requestMinimum)
Prepare a job to be run.
|
void |
JobQueue.preparePartialScan(Long jobID)
Prepare for a "partial" job.
|
void |
JobQueue.prioritizeQueuedDocuments(Long jobID)
Mark queued documents for prioritization
|
protected void |
JobManager.processDeleteHashSet(Long jobID,
HashMap resultHash,
ArrayList list)
Helper method: look up rows affected by a deleteRecords operation.
|
protected void |
HopCount.processFind(int[] rval,
Map rvalMap,
Long jobID,
String linkType,
ArrayList list)
Process a portion of a find request for hopcount information.
|
protected void |
JobManager.processParentHashSet(Long jobID,
HashMap resultHash,
ArrayList list)
Helper method: look up rows affected by a restoreRecords operation.
|
boolean |
HopCount.processQueue(Long jobID,
String[] legalLinkTypes,
int hopcountMethod)
Process a stage of the propagation queue for a job.
|
protected void |
JobQueue.processRemainingDocuments(Map idMap,
Long jobID,
ArrayList list,
Map inSet)
Process the specified set of documents.
|
void |
JobQueue.queueAllExisting(Long jobID)
For ADD_CHANGE_DELETE jobs where the specifications have been changed,
we must reconsider every existing document.
|
protected void |
JobManager.queueAllExisting(Long jobID,
String[] legalLinkTypes)
Queue all existing.
|
protected HopCount.DocumentNode[] |
HopCount.DocumentHash.queueQuestions(HopCount.Question[] questions)
Queue up a set of questions.
|
void |
JobQueue.reactivateHopcountRemovedRecords(Long jobID)
Flip all records for a job that have status HOPCOUNTREMOVED back to PENDING.
|
protected HopCount.DocumentNode[] |
HopCount.readCachedNodes(Long jobID,
HopCount.Question[] unansweredQuestions)
Find the cached distance from a set of identifiers to the root.
|
Map<String,Set<String>> |
ForcedParamManager.readRows(Long id)
Read rows for a given owner id.
|
Map |
HopFilterManager.readRows(Long id)
Read rows for a given owner id.
|
ScheduleRecord[][] |
Jobs.readScheduleRecords(Long[] jobIDs)
Read schedule records for a specified set of jobs.
|
boolean |
Carrydown.recordCarrydownData(Long jobID,
String parentDocumentIDHash,
String childDocumentIDHash,
String[] documentDataNames,
String[][] documentDataValueHashes,
Object[][] documentDataValues,
String processID)
Add carrydown data for a given parent/child pair.
|
boolean[] |
Carrydown.recordCarrydownDataMultiple(Long jobID,
String parentDocumentIDHash,
String[] childDocumentIDHashes,
String[][] dataNames,
String[][][] dataValueHashes,
Object[][][] dataValues,
String processID)
Add carrydown data to the table.
|
boolean |
HopCount.recordReference(Long jobID,
String[] legalLinkTypes,
String sourceDocumentIDHash,
String targetDocumentIDHash,
String linkType,
int hopcountMethod,
String processID)
Record a reference from source to target.
|
boolean[] |
HopCount.recordReferences(Long jobID,
String[] legalLinkTypes,
String sourceDocumentIDHash,
String[] targetDocumentIDHashes,
String linkType,
int hopcountMethod,
String processID)
Record a set of references from source to target.
|
String[] |
IntrinsicLink.recordReferences(Long jobID,
String sourceDocumentIDHash,
String[] targetDocumentIDHashes,
String linkType,
String processID)
Record a references from source to targets.
|
void |
HopCount.recordSeedReferences(Long jobID,
String[] legalLinkTypes,
String[] targetDocumentIDHashes,
int hopcountMethod,
String processID)
Record a references from a set of documents to the root.
|
void |
IntrinsicLink.removeDocumentLinks(Long jobID,
String[] documentIDHashes)
Remove all links that mention a specific set of documents.
|
void |
IntrinsicLink.removeDocumentLinks(Long jobID,
String joinTableName,
String joinTableIDColumn,
String joinTableJobColumn,
String joinTableCriteria,
ArrayList joinTableParams)
Remove all links that mention a specific set of documents, as described by a join.
|
void |
JobManager.removeJob(Long jobID)
Remove a job, from the notification state.
|
void |
IntrinsicLink.removeLinks(Long jobID,
String commonNewExpression,
ArrayList commonNewParams,
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(String parentTable,
String parentIDHashField,
String query,
ArrayList queryList)
Remove rows that correspond to specific hopcount records.
|
void |
JobManager.requeueDocument(DocumentDescription documentDescription,
Long executeTime,
int action)
Requeue a document for further processing in the future.
|
void |
JobManager.requeueDocumentMultiple(DocumentDescription[] documentDescriptions,
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(Long jobID)
Reset a job that is delete notifying back to "ready for delete notify"
state.
|
void |
JobManager.resetDeleteStartupWorkerStatus(String processID)
Reset as part of restoring delete startup threads.
|
void |
Jobs.resetDeleteStartupWorkerStatus(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(String processID)
Reset as part of restoring doc cleanup threads.
|
void |
JobQueue.resetDocCleanupWorkerStatus(String processID)
Reset doc cleaning worker status.
|
void |
JobManager.resetDocDeleteWorkerStatus(String processID)
Reset as part of restoring doc delete threads.
|
void |
JobQueue.resetDocDeleteWorkerStatus(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(String processID)
Reset as part of restoring document worker threads.
|
void |
JobQueue.resetDocumentWorkerStatus(String processID)
Reset as part of restoring document worker threads.
|
void |
JobManager.resetJobs(long currentTime,
List<IJobDescription> resetJobs)
Reset eligible jobs either back to the "inactive" state, or make them active again.
|
void |
JobManager.resetJobSchedule(Long jobID)
Reset job schedule.
|
void |
JobManager.resetNotificationWorkerStatus(String processID)
Reset as part of restoring notification threads.
|
void |
Jobs.resetNotificationWorkerStatus(String processID)
Reset notification worker thread status.
|
void |
JobManager.resetNotifyJob(Long jobID)
Reset a job that is notifying back to "ready for notify"
state.
|
void |
JobQueue.resetPendingDocumentSchedules(Long jobID)
Reset schedule for all PENDINGPURGATORY entries.
|
void |
JobManager.resetSeedingWorkerStatus(String processID)
Reset as part of restoring seeding threads.
|
void |
Jobs.resetSeedingWorkerStatus(String processID)
Reset as part of restoring seeding worker threads.
|
void |
JobManager.resetSeedJob(Long jobID)
Reset a seeding job back to "active" state.
|
void |
JobManager.resetStartDeleteJob(Long jobID)
Reset a job starting for delete back to "ready for delete"
state.
|
void |
JobManager.resetStartupJob(Long jobID)
Reset a starting job back to "ready for startup" state.
|
void |
JobManager.resetStartupWorkerStatus(String processID)
Reset as part of restoring startup threads.
|
void |
Jobs.resetStartupWorkerStatus(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(String processID)
Reset, at startup time.
|
void |
EventManager.restart(String processID)
Prepare for restart.
|
void |
HopCount.restart(String processID)
Reset, at startup time.
|
void |
IntrinsicLink.restart(String processID)
Reset, at startup time.
|
void |
JobQueue.restart(String processID)
Restart.
|
void |
Jobs.restart(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(Long jobID)
Restart a paused job.
|
void |
Jobs.restartJob(Long jobID)
Restart a job.
|
void |
IntrinsicLink.restoreLinks(Long jobID,
String[] sourceDocumentIDHashes)
Return all target links of the specified source documents to their base state.
|
void |
Carrydown.restoreRecords(Long jobID,
String[] parentDocumentIDHashes)
Return all records belonging to the specified parent documents to the base state,
and delete the old (eliminated) child records.
|
String[] |
JobManager.retrieveParentData(Long jobID,
String docIDHash,
String dataName)
Retrieve specific parent data for a given document.
|
CharacterInput[] |
JobManager.retrieveParentDataAsFiles(Long jobID,
String docIDHash,
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(Long jobID,
long failTime,
int failCount)
Retry delete notification.
|
void |
JobManager.retryNotification(JobNotifyRecord jnr,
long failTime,
int failCount)
Retry notification.
|
void |
Jobs.retryNotification(Long jobID,
long failTime,
int failCount)
Retry notification.
|
void |
JobManager.retrySeeding(JobSeedingRecord jsr,
long failTime,
int failCount)
Retry seeding.
|
void |
Jobs.retrySeeding(Long jobID,
long failTime,
int failCount)
Retry seeding.
|
void |
JobManager.retryStartup(JobStartRecord jsr,
long failTime,
int failCount)
Retry startup.
|
void |
Jobs.retryStartup(Long jobID,
boolean requestMinimum,
long failTime,
int failCount)
Retry startup.
|
void |
Jobs.returnJobToActive(Long jobID)
Put job back into active state, from the shutting-down state.
|
void |
JobManager.revertDocuments(Long jobID,
String[] legalLinkTypes,
String[] parentIdentifierHashes)
Undo the addition of child documents to the queue, for a set of documents.
|
void |
IntrinsicLink.revertLinks(Long jobID,
String[] sourceDocumentIDHashes)
Throw away links added during (aborted) processing.
|
void |
HopCount.revertParents(Long jobID,
String[] sourceDocumentHashes)
Revert newly-added links, because of a possibly incomplete document processing phase.
|
void |
Carrydown.revertRecords(Long jobID,
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 String |
JobQueue.seedstatusToString(int status)
Convert seedstatus value to a string.
|
void |
JobQueue.setCleaningStatus(Long id,
String processID)
Set the status of a document to "being cleaned".
|
void |
JobQueue.setDeletingStatus(Long id,
String processID)
Set the status of a document to "being deleted".
|
void |
JobQueue.setRequeuedStatus(Long id,
Long checkTime,
int action,
long failTime,
int failCount)
Set the status on a record, including check time and priority.
|
void |
JobQueue.setUncleaningStatus(Long id,
long checkTime)
Set the status of a document to be "no longer cleaning"
|
void |
JobQueue.setUndeletingStatus(Long id,
long checkTime)
Set the status of a document to be "no longer deleting"
|
protected void |
JobManager.sleepFor(long amt) |
void |
Jobs.startJob(Long jobID,
Long windowEnd,
boolean requestMinimum)
Write job status and window end, and clear the endtime field.
|
void |
JobManager.startJobs(long currentTime,
List<Long> unwaitList)
Start all jobs in need of starting.
|
static String |
Jobs.startMethodToString(int startMethod)
Get from start method to string.
|
static String |
JobQueue.statusToString(int status)
Convert status to string.
|
static String |
Jobs.statusToString(int status)
Go from status to string.
|
static int |
JobQueue.stringToAction(String value)
Convert action field value to integer.
|
static int |
Jobs.stringToAssessmentState(String value)
Go from string to assessment state.
|
static EnumeratedValues |
Jobs.stringToEnumeratedValue(String value)
Go from string to enumerated value.
|
static EnumeratedValues |
ScheduleManager.stringToEnumeratedValue(String value)
Go from string to enumerated value.
|
static int |
Jobs.stringToHopcountMode(String value)
Go from string to hopcount mode.
|
static int |
HopCount.stringToMark(String value)
Go from string to mark.
|
static int |
JobQueue.stringToNeedPriority(String value)
Convert need priority value to boolean.
|
static boolean |
ScheduleManager.stringToRequestMinimumValue(String requestMinimum) |
static int |
JobQueue.stringToSeedstatus(String x)
Convert seedstatus field value to a boolean.
|
static int |
Jobs.stringToStartMethod(String value)
Go from string to start method.
|
static int |
JobQueue.stringToStatus(String value)
Convert status field value to integer.
|
static int |
Jobs.stringToStatus(String value)
Go from string to status.
|
static int |
Jobs.stringToType(String value)
Go from string to type.
|
static String |
Jobs.typeToString(int type)
Go from type to string.
|
void |
JobQueue.unconditionallyAnalyzeTables()
Analyze job tables due to major event
|
void |
Jobs.unwaitJob(Long jobID,
int newStatus,
Long windowEnd)
Cause job that is in "wait" state to become un-waited.
|
void |
JobQueue.updateActiveRecord(Long id,
int currentStatus,
String processID)
Set the status to active on a record, leaving alone priority or check time.
|
void |
JobQueue.updateCompletedRecord(Long recID,
int currentStatus)
Set the "completed" status for a record.
|
void |
JobQueue.updateExistingRecord(Long recordID,
int currentStatus,
Long checkTimeValue,
long desiredExecuteTime,
boolean otherChangesSeen,
IPriorityCalculator desiredPriority,
String[] prereqEvents)
Update an existing record (as the result of a reference add).
|
void |
JobQueue.updateExistingRecordInitial(Long recordID,
int currentStatus,
Long checkTimeValue,
long desiredExecuteTime,
IPriorityCalculator desiredPriority,
String[] prereqEvents,
String processID)
Update an existing record (as the result of an initial add).
|
void |
Jobs.updateLastTime(Long jobID,
long currentTime)
Update a job's last-time field.
|
boolean |
JobQueue.updateOrHopcountRemoveRecord(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(ArrayList list,
String processID)
Update the specified set of documents to be "NEWSEED"
|
void |
Jobs.waitJob(Long jobID,
int newStatus)
Cause job that is in active or paused state to become waited.
|
void |
JobManager.waitJobs(long currentTime,
List<Long> waitList)
Put active or paused jobs in wait state, if they've exceeded their window.
|
protected void |
HopCount.writeCachedDistance(Long jobID,
String[] legalLinkTypes,
HopCount.DocumentNode dn,
int hopcountMethod)
Write a distance into the cache.
|
void |
HopDeleteDeps.writeDependency(Long ownerID,
Long jobID,
DeleteDependency dd)
Write a delete dependency.
|
void |
JobQueue.writeDocPriority(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(Long ownerID,
String outputConnectionName,
String outputSpecification)
Write an output stage (part of the upgrade code).
|
void |
Jobs.writePermanentStatus(Long jobID,
int status)
Update a job's status.
|
void |
Jobs.writePermanentStatus(Long jobID,
int status,
boolean clearFailTime)
Update a job's status.
|
void |
Jobs.writePermanentStatus(Long jobID,
int status,
Long reseedTime)
Update a job's status, and its reseed time.
|
void |
Jobs.writePermanentStatus(Long jobID,
int status,
Long reseedTime,
boolean clearFailTime)
Update a job's status, and its reseed time.
|
void |
ForcedParamManager.writeRows(Long ownerID,
IJobDescription list)
Write a filter list into the database.
|
void |
HopFilterManager.writeRows(Long ownerID,
IJobDescription list)
Write a filter list into the database.
|
void |
NotificationManager.writeRows(Long ownerID,
IJobDescription job)
Write a pipeline list into the database.
|
void |
PipelineManager.writeRows(Long ownerID,
IJobDescription job)
Write a pipeline list into the database.
|
void |
ScheduleManager.writeRows(Long ownerID,
IJobDescription list)
Write a schedule list into the database.
|
protected void |
Jobs.writeStatus(Long jobID,
int status,
Long reseedTime,
String processID,
boolean clearFailTime)
Update a job's status, and its reseed time.
|
protected void |
Jobs.writeStatus(Long jobID,
int status,
String processID,
boolean clearFailTime)
Update a job's status.
|
void |
Jobs.writeTransientStatus(Long jobID,
int status,
Long reseedTime,
String processID)
Update a job's status, and its reseed time.
|
void |
Jobs.writeTransientStatus(Long jobID,
int status,
String processID)
Update a job's status.
|
Constructor and Description |
---|
Carrydown(IDBInterface database)
Constructor.
|
EventManager(IDBInterface database)
Constructor.
|
ForcedParamManager(IThreadContext threadContext,
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(String name)
Check if underlying connector exists.
|
INotificationConnection |
NotificationConnectionManager.create()
Create a new notification connection object.
|
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(String name)
Delete a notification connection.
|
void |
NotificationConnectionManager.NotificationConnectionExecutor.execute()
Perform the desired operation.
|
void |
NotificationConnectionManager.NotificationConnectionExecutor.exists(ICacheDescription objectDescription,
Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
NotificationConnectionManager.exportConfiguration(OutputStream os)
Export configuration
|
String[] |
NotificationConnectionManager.findConnectionsForConnector(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,
Map returnIndex,
ArrayList params)
Read a chunk of notification connections.
|
protected NotificationConnection[] |
NotificationConnectionManager.getNotificationConnectionsMultiple(String[] connectionNames)
Fetch multiple notification connections at a single time.
|
void |
NotificationConnectionManager.importConfiguration(InputStream is)
Import configuration
|
void |
NotificationConnectionManager.install()
Install the manager.
|
INotificationConnection |
NotificationConnectionManager.load(String name)
Load a notification connection by name.
|
INotificationConnection[] |
NotificationConnectionManager.loadMultiple(String[] names)
Load multiple notification connections by name.
|
protected int |
NotificationConnectionManager.loadMultipleInternal(INotificationConnection[] rval,
int outputIndex,
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,
String[] orderingKeys,
String[] connectionNames,
String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes) |
INotificationConnector[] |
NotificationConnectorPool.grabMultiple(String[] orderingKeys,
INotificationConnection[] notificationConnections)
Get multiple notification connectors, all at once.
|
protected boolean |
NotificationConnectorPool.LocalPool.isConnectionNameValid(IThreadContext tc,
String connectionName) |
protected boolean |
NotificationConnectorPool.LocalPool.isInstalled(IThreadContext tc,
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.
|
String |
NotificationConnectorManager.getDescription(String className)
Get a description given a class name.
|
void |
NotificationConnectorManager.install()
Install or upgrade.
|
boolean |
NotificationConnectorManager.isInstalled(String className)
Check if a particular connector is installed or not.
|
void |
NotificationConnectorManager.registerConnector(String description,
String className)
Register a new connector.
|
void |
NotificationConnectorManager.removeConnector(String className)
Remove a connector.
|
void |
NotificationConnectorManager.unregisterConnector(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,
Locale locale,
Specification ds,
int connectionSequenceNumber,
int actualSequenceNumber,
String tabName)
Output the specification body section.
|
void |
BaseNotificationConnector.outputSpecificationHeader(IHTTPOutput out,
Locale locale,
Specification ds,
int connectionSequenceNumber,
List<String> tabsArray)
Output the specification header section.
|
String |
BaseNotificationConnector.processSpecificationPost(IPostParameters variableContext,
Locale locale,
Specification ds,
int connectionSequenceNumber)
Process a specification post.
|
boolean |
BaseNotificationConnector.requestInfo(Configuration output,
String command)
Request arbitrary connector information.
|
void |
BaseNotificationConnector.viewSpecification(IHTTPOutput out,
Locale locale,
Specification ds,
int connectionSequenceNumber)
View specification.
|
Modifier and Type | Method and Description |
---|---|
Long |
RepositoryHistoryManager.addRow(String connectionName,
long startTime,
long endTime,
long dataSize,
String activityType,
String entityIdentifier,
String resultCode,
String resultDescription)
Add row to table, and reanalyze if necessary.
|
boolean |
RepositoryConnectionManager.checkConnectorExists(String name)
Check if underlying connector exists.
|
void |
RepositoryConnectionManager.cleanUpHistoryData(long timeCutoff)
Delete history rows older than a specified timestamp.
|
void |
RepositoryConnectionManager.cleanUpHistoryData(String connectionName)
Delete history rows related to a specific connection, upon user request.
|
long |
RepositoryConnectionManager.countHistoryRows(String connectionName,
FilterCriteria criteria)
Count the number of rows specified by a given set of criteria.
|
long |
RepositoryHistoryManager.countHistoryRows(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.
|
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(String name)
Delete a repository connection.
|
void |
RepositoryHistoryManager.deleteOldRows(long timeCutoff)
Delete records older than a specified time.
|
void |
RepositoryHistoryManager.deleteOwner(String owner)
Delete all records associated with given owner.
|
void |
ThrottleSpecManager.deleteRows(String owner)
Delete rows.
|
void |
RepositoryConnectionManager.RepositoryConnectionExecutor.execute()
Perform the desired operation.
|
void |
RepositoryConnectionManager.RepositoryConnectionExecutor.exists(ICacheDescription objectDescription,
Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
void |
RepositoryConnectionManager.exportConfiguration(OutputStream os)
Export configuration
|
String[] |
RepositoryConnectionManager.findConnectionsForConnector(String className)
Get a list of repository connections that share the same connector.
|
IResultSet |
RepositoryConnectionManager.genHistoryActivityCount(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(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(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(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,
Map returnIndex,
ArrayList params)
Read a chunk of repository connections.
|
protected RepositoryConnection[] |
RepositoryConnectionManager.getRepositoryConnectionsMultiple(String[] connectionNames)
Fetch multiple repository connections at a single time.
|
void |
ThrottleSpecManager.getRows(IRepositoryConnection[] connections,
Map indexMap,
ArrayList ownerNameParams)
Fill in a set of throttles corresponding to a set of connection names.
|
void |
RepositoryConnectionManager.importConfiguration(InputStream is)
Import configuration
|
void |
RepositoryConnectionManager.install()
Install the manager.
|
void |
RepositoryHistoryManager.install(String parentTable,
String parentField)
Install or upgrade the table.
|
void |
ThrottleSpecManager.install(String ownerTable,
String owningTablePrimaryKey)
Install or upgrade.
|
boolean |
RepositoryConnectionManager.isGroupReferenced(String groupName)
Return true if the specified authority name is referenced.
|
IRepositoryConnection |
RepositoryConnectionManager.load(String name)
Load a repository connection by name.
|
IRepositoryConnection[] |
RepositoryConnectionManager.loadMultiple(String[] names)
Load multiple repository connections by name.
|
protected int |
RepositoryConnectionManager.loadMultipleInternal(IRepositoryConnection[] rval,
int outputIndex,
String[] fetchNames,
int inputIndex,
int length) |
IResultSet |
RepositoryHistoryManager.maxActivityCountReport(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(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(String name)
Read rows for a given owner name.
|
void |
RepositoryConnectionManager.recordHistory(String connectionName,
Long startTime,
String activityType,
Long dataSize,
String entityIdentifier,
String resultCode,
String resultDescription,
String[] childIdentifiers)
Record time-stamped information about the activity of the connection.
|
IResultSet |
RepositoryHistoryManager.resultCodesReport(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(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(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,
String[] orderingKeys,
String[] connectionNames,
String[] classNames,
ConfigParams[] configInfos,
int[] maxPoolSizes) |
IRepositoryConnector[] |
RepositoryConnectorPool.grabMultiple(String[] orderingKeys,
IRepositoryConnection[] repositoryConnections)
Get multiple repository connectors, all at once.
|
protected boolean |
RepositoryConnectorPool.LocalPool.isConnectionNameValid(IThreadContext tc,
String connectionName) |
protected boolean |
RepositoryConnectorPool.LocalPool.isInstalled(IThreadContext tc,
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(Double[] binNamesSet)
Assess the current minimum depth.
|
void |
ReprioritizationTracker.doneReprioritization(String reproID)
Complete a reprioritization activity.
|
double |
ReprioritizationTracker.getIncrementBinValue(String binName,
double weightedMinimumDepth)
Get a bin value.
|
double |
ReprioritizationTracker.getMinimumDepth()
Retrieve current minimum depth.
|
String |
ReprioritizationTracker.isSpecifiedProcessReprioritizing(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 String |
ReprioritizationTracker.readProcessID()
Read process ID.
|
protected String |
ReprioritizationTracker.readReproID()
Read repriotization ID.
|
void |
ReprioritizationTracker.startReprioritization(String processID,
String reproID)
Start a reprioritization activity.
|
protected void |
ReprioritizationTracker.writeMinimumDepth(double depth)
Write minimum depth.
|
protected void |
ReprioritizationTracker.writeProcessID(String processID)
Write process ID.
|
protected void |
ReprioritizationTracker.writeReproID(String reproID)
Write repro ID.
|
Constructor and Description |
---|
ReprioritizationTracker(IThreadContext threadContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
WorkerThread.ProcessActivity.addDocumentReference(String localIdentifier)
Add a document description to the current job's queue.
|
void |
WorkerThread.ProcessActivity.addDocumentReference(String localIdentifier,
String parentIdentifier,
String relationshipType)
Add a document description to the current job's queue.
|
void |
WorkerThread.ProcessActivity.addDocumentReference(String localIdentifier,
String parentIdentifier,
String relationshipType,
String[] dataNames,
Object[][] dataValues)
Add a document description to the current job's queue.
|
void |
WorkerThread.ProcessActivity.addDocumentReference(String localIdentifier,
String parentIdentifier,
String relationshipType,
String[] dataNames,
Object[][] dataValues,
Long originationTime)
Add a document description to the current job's queue.
|
void |
WorkerThread.ProcessActivity.addDocumentReference(String localIdentifier,
String parentIdentifier,
String relationshipType,
String[] dataNames,
Object[][] dataValues,
Long originationTime,
String[] prereqEventNames)
Add a document description to the current job's queue.
|
void |
SeedingActivity.addSeedDocument(String documentIdentifier)
Record a "seed" document identifier.
|
void |
SeedingActivity.addSeedDocument(String documentIdentifier,
String[] prereqEventNames)
Record a "seed" document identifier.
|
protected static void |
ManifoldCF.addStage(String stageName,
List<String> orderedStageNames,
Set<String> keysSeen,
Map<String,ManifoldCF.PipelineStage> pipelineStages) |
void |
SeedingActivity.addUnqueuedSeedDocument(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,
String connectionName)
Delete authority connection.
|
protected static int |
ManifoldCF.apiDeleteAuthorityGroup(IThreadContext tc,
Configuration output,
String groupName)
Delete authority group.
|
protected static int |
ManifoldCF.apiDeleteJob(IThreadContext tc,
Configuration output,
Long jobID)
Delete a job.
|
protected static int |
ManifoldCF.apiDeleteNotificationConnection(IThreadContext tc,
Configuration output,
String connectionName)
Delete notification connection.
|
protected static int |
ManifoldCF.apiDeleteOutputConnection(IThreadContext tc,
Configuration output,
String connectionName)
Delete output connection.
|
protected static int |
ManifoldCF.apiDeleteRepositoryConnection(IThreadContext tc,
Configuration output,
String connectionName)
Delete repository connection.
|
protected static int |
ManifoldCF.apiPostJob(IThreadContext tc,
Configuration output,
Configuration input)
Post job.
|
protected static int |
ManifoldCF.apiReadAuthorityConnection(IThreadContext tc,
Configuration output,
String connectionName)
Read authority connection
|
protected static int |
ManifoldCF.apiReadAuthorityConnections(IThreadContext tc,
Configuration output)
Get authority connections
|
protected static int |
ManifoldCF.apiReadAuthorityConnectionStatus(IThreadContext tc,
Configuration output,
String connectionName)
Read an authority connection status
|
protected static int |
ManifoldCF.apiReadAuthorityConnectors(IThreadContext tc,
Configuration output)
List authority connectors
|
protected static int |
ManifoldCF.apiReadAuthorityGroup(IThreadContext tc,
Configuration output,
String groupName)
Read authority group
|
protected static int |
ManifoldCF.apiReadAuthorityGroups(IThreadContext tc,
Configuration output)
Get authority groups
|
protected static int |
ManifoldCF.apiReadAuthorizationDomains(IThreadContext tc,
Configuration output)
List authorization domains
|
protected static int |
ManifoldCF.apiReadJob(IThreadContext tc,
Configuration output,
Long jobID)
Read a job
|
protected static int |
ManifoldCF.apiReadJobs(IThreadContext tc,
Configuration output)
Read jobs
|
protected static int |
ManifoldCF.apiReadJobStatus(IThreadContext tc,
Configuration output,
Long jobID,
Map<String,List<String>> queryParameters)
Get api job status
|
protected static int |
ManifoldCF.apiReadJobStatuses(IThreadContext tc,
Configuration output,
Map<String,List<String>> queryParameters)
Get api job statuses
|
protected static int |
ManifoldCF.apiReadJobStatusesNoCounts(IThreadContext tc,
Configuration output)
Get api job statuses
|
protected static int |
ManifoldCF.apiReadJobStatusNoCounts(IThreadContext tc,
Configuration output,
Long jobID)
Get api job status with no counts
|
protected static int |
ManifoldCF.apiReadMappingConnection(IThreadContext tc,
Configuration output,
String connectionName)
Read mapping connection
|
protected static int |
ManifoldCF.apiReadMappingConnections(IThreadContext tc,
Configuration output)
Get mapping connections
|
protected static int |
ManifoldCF.apiReadMappingConnectionStatus(IThreadContext tc,
Configuration output,
String connectionName)
Read a mapping connection status
|
protected static int |
ManifoldCF.apiReadMappingConnectors(IThreadContext tc,
Configuration output)
List mapping connectors
|
protected static int |
ManifoldCF.apiReadNotificationConnection(IThreadContext tc,
Configuration output,
String connectionName)
Read notification connection
|
protected static int |
ManifoldCF.apiReadNotificationConnectionInfo(IThreadContext tc,
Configuration output,
String connectionName,
String command)
Read a notification connection's info
|
protected static int |
ManifoldCF.apiReadNotificationConnections(IThreadContext tc,
Configuration output)
Get notification connections
|
protected static int |
ManifoldCF.apiReadNotificationConnectionStatus(IThreadContext tc,
Configuration output,
String connectionName)
Read a notification connection status
|
protected static int |
ManifoldCF.apiReadNotificationConnectors(IThreadContext tc,
Configuration output)
List notification connectors
|
protected static int |
ManifoldCF.apiReadOutputConnection(IThreadContext tc,
Configuration output,
String connectionName)
Read output connection
|
protected static int |
ManifoldCF.apiReadOutputConnectionInfo(IThreadContext tc,
Configuration output,
String connectionName,
String command)
Read an output connection's info
|
protected static int |
ManifoldCF.apiReadOutputConnections(IThreadContext tc,
Configuration output)
Get output connections
|
protected static int |
ManifoldCF.apiReadOutputConnectionStatus(IThreadContext tc,
Configuration output,
String connectionName)
Read an output connection status
|
protected static int |
ManifoldCF.apiReadOutputConnectors(IThreadContext tc,
Configuration output)
List output connectors
|
protected static int |
ManifoldCF.apiReadRepositoryConnection(IThreadContext tc,
Configuration output,
String connectionName)
Read repository connection
|
protected static int |
ManifoldCF.apiReadRepositoryConnectionActivities(IThreadContext tc,
Configuration output,
String connectionName)
Read the activity list for a given connection name.
|
protected static int |
ManifoldCF.apiReadRepositoryConnectionHistory(IThreadContext tc,
Configuration output,
String connectionName,
Map<String,List<String>> queryParameters)
History reports
|
protected static int |
ManifoldCF.apiReadRepositoryConnectionInfo(IThreadContext tc,
Configuration output,
String connectionName,
String command)
Read a repository connection's info
|
protected static int |
ManifoldCF.apiReadRepositoryConnectionJobs(IThreadContext tc,
Configuration output,
String connectionName)
Get jobs for connection
|
protected static int |
ManifoldCF.apiReadRepositoryConnectionQueue(IThreadContext tc,
Configuration output,
String connectionName,
Map<String,List<String>> queryParameters)
Queue reports
|
protected static int |
ManifoldCF.apiReadRepositoryConnections(IThreadContext tc,
Configuration output)
Get repository connections
|
protected static int |
ManifoldCF.apiReadRepositoryConnectionStatus(IThreadContext tc,
Configuration output,
String connectionName)
Read a repository connection status
|
protected static int |
ManifoldCF.apiReadRepositoryConnectors(IThreadContext tc,
Configuration output)
List repository connectors
|
protected static int |
ManifoldCF.apiReadTransformationConnection(IThreadContext tc,
Configuration output,
String connectionName)
Read transformation connection
|
protected static int |
ManifoldCF.apiReadTransformationConnectionInfo(IThreadContext tc,
Configuration output,
String connectionName,
String command)
Read a transformation connection's info
|
protected static int |
ManifoldCF.apiReadTransformationConnections(IThreadContext tc,
Configuration output)
Get transformation connections
|
protected static int |
ManifoldCF.apiReadTransformationConnectionStatus(IThreadContext tc,
Configuration output,
String connectionName)
Read a transformation connection status
|
protected static int |
ManifoldCF.apiReadTransformationConnectors(IThreadContext tc,
Configuration output)
List transformation connectors
|
protected static int |
ManifoldCF.apiWriteAbortJob(IThreadContext tc,
Configuration output,
Long jobID)
Abort a job.
|
protected static int |
ManifoldCF.apiWriteAuthorityConnection(IThreadContext tc,
Configuration output,
Configuration input,
String connectionName)
Write authority connection.
|
protected static int |
ManifoldCF.apiWriteAuthorityGroup(IThreadContext tc,
Configuration output,
Configuration input,
String groupName)
Write authority group.
|
protected static int |
ManifoldCF.apiWriteClearHistoryRepositoryConnection(IThreadContext tc,
Configuration output,
String connectionName)
Clear repository connection history.
|
protected static int |
ManifoldCF.apiWriteClearOutputConnection(IThreadContext tc,
Configuration output,
String connectionName)
Clear output connection (remove all recorded documents).
|
protected static int |
ManifoldCF.apiWriteClearVersionsOutputConnection(IThreadContext tc,
Configuration output,
String connectionName)
Reset output connection (reset version of all recorded documents).
|
protected static int |
ManifoldCF.apiWriteJob(IThreadContext tc,
Configuration output,
Configuration input,
Long jobID)
Write job.
|
protected static int |
ManifoldCF.apiWriteMappingConnection(IThreadContext tc,
Configuration output,
Configuration input,
String connectionName)
Write mapping connection.
|
protected static int |
ManifoldCF.apiWriteNotificationConnection(IThreadContext tc,
Configuration output,
Configuration input,
String connectionName)
Write notification connection.
|
protected static int |
ManifoldCF.apiWriteOutputConnection(IThreadContext tc,
Configuration output,
Configuration input,
String connectionName)
Write output connection.
|
protected static int |
ManifoldCF.apiWritePauseJob(IThreadContext tc,
Configuration output,
Long jobID)
Pause a job.
|
protected static int |
ManifoldCF.apiWriteRepositoryConnection(IThreadContext tc,
Configuration output,
Configuration input,
String connectionName)
Write repository connection.
|
protected static int |
ManifoldCF.apiWriteReseedJob(IThreadContext tc,
Configuration output,
Long jobID)
Reset incremental seeding for a job.
|
protected static int |
ManifoldCF.apiWriteRestartJob(IThreadContext tc,
Configuration output,
Long jobID,
boolean requestMinimum)
Restart a job.
|
protected static int |
ManifoldCF.apiWriteResumeJob(IThreadContext tc,
Configuration output,
Long jobID)
Resume a job.
|
protected static int |
ManifoldCF.apiWriteStartJob(IThreadContext tc,
Configuration output,
Long jobID,
boolean requestMinimum)
Start a job.
|
protected static int |
ManifoldCF.apiWriteTransformationConnection(IThreadContext tc,
Configuration output,
Configuration input,
String connectionName)
Write transformation connection.
|
boolean |
WorkerThread.ProcessActivity.beginEventSequence(String eventName)
Begin an event sequence.
|
boolean |
WorkerThread.ProcessActivity.checkDateIndexable(Date date)
Detect if a date is indexable or not.
|
boolean |
WorkerThread.CheckActivity.checkDateIndexable(Date date)
Detect if a date is acceptable downstream or not.
|
boolean |
WorkerThread.ProcessActivity.checkDocumentIndexable(File localFile)
Check whether a document is indexable by the currently specified output connector.
|
boolean |
WorkerThread.CheckActivity.checkDocumentIndexable(File localFile)
Pre-determine whether a document (passed here as a File object) is acceptable downstream.
|
boolean |
WorkerThread.ProcessActivity.checkDocumentNeedsReindexing(String documentIdentifier,
String newVersionString)
Check if a document needs to be reindexed, based on a computed version string.
|
boolean |
WorkerThread.ProcessActivity.checkDocumentNeedsReindexing(String documentIdentifier,
String componentIdentifier,
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(String mimeType)
Check whether a mime type is indexable by the currently specified output connector.
|
boolean |
WorkerThread.CheckActivity.checkMimeTypeIndexable(String mimeType)
Detect if a mime type is acceptable downstream or not.
|
boolean |
WorkerThread.ProcessActivity.checkURLIndexable(String url)
Pre-determine whether a document's URL is indexable by this connector.
|
boolean |
WorkerThread.CheckActivity.checkURLIndexable(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,
String currentProcessID,
String cleanupProcessID)
Cleanup after agents process.
|
void |
CrawlerAgent.cleanUpAllAgentData(IThreadContext threadContext,
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(String eventName)
Complete an event sequence.
|
protected static String |
WorkerThread.computeComponentIDHash(String componentIdentifier) |
protected static void |
ManifoldCF.createResultsetNode(Configuration output,
IResultSet result,
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 String |
ManifoldCF.decodeAPIPathElement(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(String documentIdentifier)
Delete the specified document from the search engine index, and from the status table.
|
void |
WorkerThread.ProcessActivity.deleteDocument(String documentIdentifier,
String version)
Deprecated.
|
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,
String path)
Execute specified delete command.
|
static int |
ManifoldCF.executePostCommand(IThreadContext tc,
Configuration output,
String path,
Configuration input)
Execute specified post command.
|
static int |
ManifoldCF.executeReadCommand(IThreadContext tc,
Configuration output,
String path,
Map<String,List<String>> queryParameters)
Execute specified read command.
|
static int |
ManifoldCF.executeWriteCommand(IThreadContext tc,
Configuration output,
String path,
Configuration input)
Execute specified write command.
|
static void |
ManifoldCF.exportConfiguration(IThreadContext threadContext,
String exportFilename,
String passCode)
Atomically export the crawler configuration
|
void |
WorkerThread.ProcessActivity.flush()
Flush the outstanding references into the database.
|
static String[] |
ManifoldCF.getActivitiesList(IThreadContext threadContext,
String connectionName)
Get the activities list for a given repository connection.
|
double |
PriorityCalculator.getDocumentPriority()
Calculate a document priority value.
|
String |
WorkerThread.ExistingVersions.getIndexedVersionString(String documentIdentifier)
Retrieve an existing version string given a document identifier.
|
String |
WorkerThread.ExistingVersions.getIndexedVersionString(String documentIdentifier,
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.
|
protected static void |
WorkerThread.handleIOException(IOException e,
String context) |
static void |
ManifoldCF.importConfiguration(IThreadContext threadContext,
String importFilename,
String passCode)
Atomically import a crawler configuration
|
void |
WorkerThread.ProcessActivity.ingestDocument(String localIdentifier,
String version,
String documentURI,
RepositoryDocument data)
Deprecated.
|
void |
WorkerThread.ProcessActivity.ingestDocumentWithException(String documentIdentifier,
String version,
String documentURI,
RepositoryDocument data)
Ingest the current document.
|
void |
WorkerThread.ProcessActivity.ingestDocumentWithException(String documentIdentifier,
String componentIdentifier,
String version,
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 Long |
ManifoldCF.interpretInterval(String interval) |
boolean |
CrawlerAgent.isOutputConnectionInUse(IThreadContext threadContext,
String connName)
Request permission from agent to delete an output connection.
|
boolean |
CrawlerAgent.isTransformationConnectionInUse(IThreadContext threadContext,
String connName)
Request permission from agent to delete a transformation connection.
|
static void |
ManifoldCF.localInitialize(IThreadContext tc) |
protected static int |
ManifoldCF.mapToHopcountMode(String mode) |
protected static int |
ManifoldCF.mapToRunMode(String mode) |
protected static int |
ManifoldCF.mapToStartMode(String startMethod) |
void |
WorkerThread.OutputActivity.noDocument()
Send NO document via the pipeline to the next output connection.
|
void |
WorkerThread.ProcessActivity.noDocument(String documentIdentifier,
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(String documentIdentifier,
String componentIdentifier,
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,
String connectionName)
Note a change in configuration for an output connection.
|
void |
CrawlerAgent.noteOutputConnectorDeregistration(IThreadContext threadContext,
String[] connectionNames)
Note the deregistration of a set of output connections.
|
void |
CrawlerAgent.noteOutputConnectorRegistration(IThreadContext threadContext,
String[] connectionNames)
Note the registration of a set of output connections.
|
void |
CrawlerAgent.noteTransformationConnectionChange(IThreadContext threadContext,
String connectionName)
Note a change in configuration for a transformation connection.
|
void |
CrawlerAgent.noteTransformationConnectorDeregistration(IThreadContext threadContext,
String[] connectionNames)
Note the deregistration of a set of transformation connections.
|
void |
CrawlerAgent.noteTransformationConnectorRegistration(IThreadContext threadContext,
String[] connectionNames)
Note the registration of a set of transformation connections.
|
protected void |
DeleteStartupResetManager.performResetLogic(IThreadContext tc,
String processID)
Reset
|
protected void |
DocCleanupResetManager.performResetLogic(IThreadContext tc,
String processID)
Reset
|
protected void |
DocDeleteResetManager.performResetLogic(IThreadContext tc,
String processID)
Reset
|
protected void |
NotificationResetManager.performResetLogic(IThreadContext tc,
String processID)
Reset
|
protected abstract void |
ResetManager.performResetLogic(IThreadContext tc,
String processID)
Do the reset logic.
|
protected void |
SeedingResetManager.performResetLogic(IThreadContext tc,
String processID)
Reset
|
protected void |
StartupResetManager.performResetLogic(IThreadContext tc,
String processID)
Reset
|
protected void |
WorkerResetManager.performResetLogic(IThreadContext tc,
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,
List<QueuedDocument> deleteList,
IIncrementalIngester ingester,
Long jobID,
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,
List<QueuedDocument> hopcountremoveList,
IIncrementalIngester ingester,
Long jobID,
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(List<QueuedDocument> jobmanagerDeleteList,
IRepositoryConnector connector,
IRepositoryConnection connection,
IJobManager jobManager,
Long jobID,
String[] legalLinkTypes,
int hopcountMethod,
IReprioritizationTracker rt,
long currentTime)
Process job queue deletions.
|
protected static void |
WorkerThread.processJobQueueHopcountRemovals(List<QueuedDocument> jobmanagerRemovalList,
IRepositoryConnector connector,
IRepositoryConnection connection,
IJobManager jobManager,
Long jobID,
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.
|
String |
WorkerThread.OutputActivity.qualifyAccessToken(String authorityNameString,
String accessToken)
Qualify an access token appropriately, to match access tokens as returned by mod_aa.
|
static Connectors |
ManifoldCF.readConnectorDeclarations(File connectorConfigFile)
Read connectors configuration file.
|
protected static long |
StufferThread.readLastTime(ILockManager lockManager) |
void |
DocumentCleanupThread.OutputRemoveActivity.recordActivity(Long startTime,
String activityType,
Long dataSize,
String entityURI,
String resultCode,
String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
DocumentDeleteThread.OutputRemoveActivity.recordActivity(Long startTime,
String activityType,
Long dataSize,
String entityURI,
String resultCode,
String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
ExpireThread.OutputRemoveActivity.recordActivity(Long startTime,
String activityType,
Long dataSize,
String entityURI,
String resultCode,
String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
JobNotificationThread.OutputNotifyActivity.recordActivity(Long startTime,
String activityType,
Long dataSize,
String entityURI,
String resultCode,
String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
WorkerThread.OutputActivity.recordActivity(Long startTime,
String activityType,
Long dataSize,
String entityURI,
String resultCode,
String resultDescription)
Record time-stamped information about the activity of the output connector.
|
void |
SeedingActivity.recordActivity(Long startTime,
String activityType,
Long dataSize,
String entityIdentifier,
String resultCode,
String resultDescription,
String[] childIdentifiers)
Record time-stamped information about the activity of the connector.
|
void |
WorkerThread.ProcessActivity.recordActivity(Long startTime,
String activityType,
Long dataSize,
String entityIdentifier,
String resultCode,
String resultDescription,
String[] childIdentifiers)
Record time-stamped information about the activity of the connector.
|
void |
WorkerThread.ProcessActivity.recordDocument(String documentIdentifier,
String version)
Record a document version, but don't ingest it.
|
void |
WorkerThread.ProcessActivity.recordDocument(String documentIdentifier,
String componentIdentifier,
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(String documentIdentifier)
Remove the specified document primary component permanently from the search engine index,
and from the status table.
|
protected static List<QueuedDocument> |
WorkerThread.removeFromIndex(IPipelineConnections pipelineConnections,
String connectionName,
IJobManager jobManager,
List<QueuedDocument> deleteList,
IIncrementalIngester ingester,
WorkerThread.OutputActivity ingestLogger)
Remove a specified set of documents from the index.
|
protected static void |
WorkerThread.requeueDocuments(IJobManager jobManager,
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,
String processID)
Reset all (active) document priorities.
|
void |
WorkerThread.ProcessActivity.retainAllComponentDocument(String documentIdentifier)
Retain all existing document components of a primary document.
|
void |
WorkerThread.ProcessActivity.retainDocument(String documentIdentifier,
String componentIdentifier)
Retain existing document component.
|
String[] |
WorkerThread.ProcessActivity.retrieveParentData(String localIdentifier,
String dataName)
Retrieve data passed from parents to a specified child document.
|
CharacterInput[] |
WorkerThread.ProcessActivity.retrieveParentDataAsFiles(String localIdentifier,
String dataName)
Retrieve data passed from parents to a specified child document.
|
void |
WorkerThread.ProcessActivity.retryDocumentProcessing(String localIdentifier)
Abort processing a document (for sequencing reasons).
|
int |
WorkerThread.OutputActivity.sendDocument(String documentURI,
RepositoryDocument document)
Send a document via the pipeline to the next output connection.
|
void |
WorkerThread.ProcessActivity.setDocumentOriginationTime(String localIdentifier,
Long originationTime)
Override a document's origination time.
|
void |
WorkerThread.ProcessActivity.setDocumentScheduleBounds(String localIdentifier,
Long lowerRecrawlBoundTime,
Long upperRecrawlBoundTime,
Long lowerExpireBoundTime,
Long upperExpireBoundTime)
Override the schedule for the next time a document is crawled.
|
void |
CrawlerAgent.startAgent(IThreadContext threadContext,
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,
Map<String,IRepositoryConnection> connectionMap,
Map<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(String[] docIDHashes,
String[] docIDs,
String[][] prereqEventNames)
Write specified documents after calculating their priorities
|
Constructor and Description |
---|
AssessmentThread(String processID)
Constructor.
|
CrawlerAgent()
Constructor.
|
DocumentCleanupStufferThread(DocumentCleanupQueue documentCleanupQueue,
int n,
DocCleanupResetManager resetManager,
String processID)
Constructor.
|
DocumentCleanupThread(String id,
DocumentCleanupQueue documentCleanupQueue,
DocCleanupResetManager resetManager,
String processID)
Constructor.
|
DocumentDeleteStufferThread(DocumentDeleteQueue documentDeleteQueue,
int n,
DocDeleteResetManager resetManager,
String processID)
Constructor.
|
DocumentDeleteThread(String id,
DocumentDeleteQueue documentDeleteQueue,
DocDeleteResetManager resetManager,
String processID)
Constructor.
|
ExpireStufferThread(DocumentCleanupQueue documentQueue,
int n,
WorkerResetManager resetManager,
String processID)
Constructor.
|
ExpireThread(String id,
DocumentCleanupQueue documentQueue,
WorkerResetManager resetManager,
String processID)
Constructor.
|
FinisherThread(String processID)
Constructor.
|
HistoryCleanupThread(String processID)
Constructor.
|
IdleCleanupThread(String processID)
Constructor.
|
JobDeleteThread(String processID)
Constructor.
|
JobNotificationThread(NotificationResetManager resetManager,
String processID)
Constructor.
|
JobResetThread(String processID)
Constructor.
|
JobStartThread(String processID)
Constructor.
|
PipelineConnections(IPipelineSpecificationBasic spec,
ITransformationConnectionManager transformationConnectionManager,
IOutputConnectionManager outputConnectionManager) |
PipelineSpecification(IPipelineConnections connections,
IJobDescription job,
IIncrementalIngester ingester) |
PriorityCalculator(IReprioritizationTracker rt,
double currentMinimumDepth,
IRepositoryConnection connection,
String[] documentBins,
String documentIdentifier) |
PriorityCalculator(IReprioritizationTracker rt,
IRepositoryConnection connection,
String[] documentBins,
String documentIdentifier)
Constructor.
|
SeedingThread(SeedingResetManager resetManager,
String processID)
Constructor.
|
SetPriorityThread(int workerThreadCount,
BlockingDocuments blockingDocuments,
String processID)
Constructor.
|
StartDeleteThread(DeleteStartupResetManager resetManager,
String processID)
Constructor.
|
StartupThread(StartupResetManager resetManager,
String processID)
Constructor.
|
StufferThread(DocumentQueue documentQueue,
int n,
WorkerResetManager resetManager,
QueueTracker qt,
BlockingDocuments blockingDocuments,
float lowWaterFactor,
float stuffSizeFactor,
String processID)
Constructor.
|
WorkerThread(String id,
DocumentQueue documentQueue,
WorkerResetManager resetManager,
QueueTracker queueTracker,
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 |
---|---|
static void |
Messages.outputResource(IHTTPOutput output,
Class classInstance,
String pathName,
Locale locale,
String resourceKey,
Map<String,String> substitutionParameters,
boolean mapToUpperCase)
Write a resource to HTTP output, specifying what to substitute, and more importantly, how.
|
static void |
Messages.outputResourceWithVelocity(IHTTPOutput output,
Class clazz,
String bundleName,
String pathName,
Locale locale,
String resourceKey,
Map<String,Object> contextObjects) |
static void |
Messages.outputResourceWithVelocity(IHTTPOutput output,
Class clazz,
String bundleName,
String pathName,
Locale locale,
String resourceKey,
Map<String,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(String name)
Get a file parameter, as a binary input.
|
Constructor and Description |
---|
MultipartWrapper(javax.servlet.http.HttpServletRequest request,
AdminProfile adminProfile)
Constructor.
|