|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentConfiguration
Configures the Content Management Subsystem. The Content Management Subsystem is the part of the Content Engine Object Store Service that is responsible for adding and retrieving document content to and from managed storage areas in response to client requests. The ContentConfiguration interface allows the operation of the Content Management Subsystem to be tuned for the local environment in which it is executing.
Just as it must do for all other client requests involving the creation, update, or deletion of data in an object store, the Object Store Service must also guarantee transactional integrity with respect to adding content. Guaranteeing the transactional integrity of content upload and storage is one of the primary functions of the Content Management Subsystem.
In order to make this guarantee, the process of adding content is divided into two stages: Stage one involves copying content into a temporary location on the server while stage two is primarily concerned with copying the content to its permanent location.
Stage one occurs within the context of a client initiated transaction involving content upload; for example, checking in a document. In this stage, the content associated with the object or objects participating in the transaction are copied from the client to a temporary location that is associated with the designated storage area in which the content will ultimately be stored. This temporary location may be a specially designated file system directory, sometimes referred to as the "inbound directory" or it may a table in the database. The type of temporary storage depends on the destination storage area type. Any metadata changes associated with the participating objects are also carried out at this during this stage.
At the conclusion of the first stage of the operation, the transaction must be committed in order to make the changes durable. Committing the transaction includes adding a message to the ContentQueue, when processed, that will result in the second stage of the operation to be executed. The fact that the transaction has been committed after stage one necessarily implies that the server guarantees that the second stage will be carried out - even in the event of server disruptions, power failures, etc.
It is important to note that after a transaction involving content upload has been committed, that is, after stage one has completed, the new content has functionally been added to the storage area; a user can retrieve (or perform any other legal operation) on the new content just like any other content in the storage area, despite the fact that it may actually still reside in the temporary storage location.
At the conclusion of stage one of the operation or at anytime during its execution, the transaction can also be aborted and, therefore, must be rolled back. Rolling back a transaction in simple terms means guaranteeing that any intermediate changes that occurred during the execution of the transaction will be undone so that the system is restored to the state that it was in prior to the transaction and guaranteeing that none of these changes will be visible to any other transaction while they are being cleaned up.
With respect to content upload there are two categories of changes that need to be undone: Metadata changes and content that has been copied to the temporary storage area. The cleanup of the former is handled by the normal transaction processing mechanisms provided by the Object Store Service but the latter is a special case and is managed by the Content Management Subsystem. The way it works is temporary content is flagged as "abandoned". While it is in this state it is invisible to clients and is effectively "not there" from the client's point of view. The Content Management Subsystem then periodically sweeps the temporary storage areas and deletes all abandoned content.
Many of the functions of the Content Management Subsystem described above are parameterized such that their behavior can be modified. This is the purpose of the ContentConfiguration interface: To expose those aspects of content operations that can be adjusted in order to optimize the performance of the Object Store Service within a given operational environment.
Metadata
Auditable: false
Method Summary | |
---|---|
java.lang.Integer |
get_AbandonedContentCleanupInterval()
Returns the value of the AbandonedContentCleanupInterval property. |
java.lang.Integer |
get_AbandonedDBContentCleanupInterval()
Returns the value of the AbandonedDBContentCleanupInterval property. |
java.lang.Integer |
get_ContentQueueMaxWorkerThreads()
Returns the value of the ContentQueueMaxWorkerThreads property. |
java.lang.String |
get_ContentTempDirectoryRoot()
Returns the value of the ContentTempDirectoryRoot property. |
java.lang.Integer |
get_DatabaseContentUploadBufferSize()
Returns the value of the DatabaseContentUploadBufferSize property. |
java.lang.Integer |
get_DispatcherWaitInterval()
Returns the value of the DispatcherWaitInterval property. |
java.lang.Integer |
get_ExpiredBatchSelectionSize()
Returns the value of the ExpiredBatchSelectionSize property. |
java.lang.Integer |
get_InboundFileNameCacheMaxEntries()
Returns the value of the InboundFileNameCacheMaxEntries property. |
java.lang.Integer |
get_InlineContentRetrievalLimit()
Returns the value of the InlineContentRetrievalLimit property. |
java.lang.Integer |
get_LeaseDuration()
Returns the value of the LeaseDuration property. |
java.lang.Integer |
get_MaxInMemoryQueueItems()
Returns the value of the MaxInMemoryQueueItems property. |
java.lang.Integer |
get_MaxResolutionBatchSize()
Returns the value of the MaxResolutionBatchSize property. |
java.lang.Integer |
get_PartialResolutionChunkSize()
Returns the value of the PartialResolutionChunkSize property. |
java.lang.Integer |
get_RenameFileRetryAttempts()
Returns the value of the RenameFileRetryAttempts property. |
java.lang.Integer |
get_RetrievalRetryAttempts()
Returns the value of the RetrievalRetryAttempts property. |
java.lang.Integer |
get_RollFwdBatchRetryAttempts()
Returns the value of the RollFwdBatchRetryAttempts property. |
java.lang.Integer |
get_TempDBContentLifetime()
Returns the value of the TempDBContentLifetime property. |
java.lang.Integer |
get_TempFileLifetime()
Returns the value of the TempFileLifetime property. |
void |
set_AbandonedContentCleanupInterval(java.lang.Integer value)
Sets the value of the AbandonedContentCleanupInterval property. |
void |
set_AbandonedDBContentCleanupInterval(java.lang.Integer value)
Sets the value of the AbandonedDBContentCleanupInterval property. |
void |
set_ContentQueueMaxWorkerThreads(java.lang.Integer value)
Sets the value of the ContentQueueMaxWorkerThreads property. |
void |
set_ContentTempDirectoryRoot(java.lang.String value)
Sets the value of the ContentTempDirectoryRoot property. |
void |
set_DatabaseContentUploadBufferSize(java.lang.Integer value)
Sets the value of the DatabaseContentUploadBufferSize property. |
void |
set_DispatcherWaitInterval(java.lang.Integer value)
Sets the value of the DispatcherWaitInterval property. |
void |
set_ExpiredBatchSelectionSize(java.lang.Integer value)
Sets the value of the ExpiredBatchSelectionSize property. |
void |
set_InboundFileNameCacheMaxEntries(java.lang.Integer value)
Sets the value of the InboundFileNameCacheMaxEntries property. |
void |
set_InlineContentRetrievalLimit(java.lang.Integer value)
Sets the value of the InlineContentRetrievalLimit property. |
void |
set_LeaseDuration(java.lang.Integer value)
Sets the value of the LeaseDuration property. |
void |
set_MaxInMemoryQueueItems(java.lang.Integer value)
Sets the value of the MaxInMemoryQueueItems property. |
void |
set_MaxResolutionBatchSize(java.lang.Integer value)
Sets the value of the MaxResolutionBatchSize property. |
void |
set_PartialResolutionChunkSize(java.lang.Integer value)
Sets the value of the PartialResolutionChunkSize property. |
void |
set_RenameFileRetryAttempts(java.lang.Integer value)
Sets the value of the RenameFileRetryAttempts property. |
void |
set_RetrievalRetryAttempts(java.lang.Integer value)
Sets the value of the RetrievalRetryAttempts property. |
void |
set_RollFwdBatchRetryAttempts(java.lang.Integer value)
Sets the value of the RollFwdBatchRetryAttempts property. |
void |
set_TempDBContentLifetime(java.lang.Integer value)
Sets the value of the TempDBContentLifetime property. |
void |
set_TempFileLifetime(java.lang.Integer value)
Sets the value of the TempFileLifetime property. |
Methods inherited from interface com.filenet.api.admin.SubsystemConfiguration |
---|
get_Id |
Methods inherited from interface com.filenet.api.core.EngineObject |
---|
get_ClassDescription, getClassName, getConnection, getProperties, getSuperClasses |
Method Detail |
---|
java.lang.Integer get_DispatcherWaitInterval()
void set_DispatcherWaitInterval(java.lang.Integer value)
java.lang.Integer get_ContentQueueMaxWorkerThreads()
void set_ContentQueueMaxWorkerThreads(java.lang.Integer value)
java.lang.Integer get_DatabaseContentUploadBufferSize()
void set_DatabaseContentUploadBufferSize(java.lang.Integer value)
java.lang.Integer get_InlineContentRetrievalLimit()
void set_InlineContentRetrievalLimit(java.lang.Integer value)
java.lang.String get_ContentTempDirectoryRoot()
void set_ContentTempDirectoryRoot(java.lang.String value)
java.lang.Integer get_LeaseDuration()
void set_LeaseDuration(java.lang.Integer value)
java.lang.Integer get_ExpiredBatchSelectionSize()
void set_ExpiredBatchSelectionSize(java.lang.Integer value)
java.lang.Integer get_MaxInMemoryQueueItems()
void set_MaxInMemoryQueueItems(java.lang.Integer value)
java.lang.Integer get_RollFwdBatchRetryAttempts()
void set_RollFwdBatchRetryAttempts(java.lang.Integer value)
java.lang.Integer get_MaxResolutionBatchSize()
void set_MaxResolutionBatchSize(java.lang.Integer value)
java.lang.Integer get_PartialResolutionChunkSize()
void set_PartialResolutionChunkSize(java.lang.Integer value)
java.lang.Integer get_RetrievalRetryAttempts()
void set_RetrievalRetryAttempts(java.lang.Integer value)
java.lang.Integer get_RenameFileRetryAttempts()
void set_RenameFileRetryAttempts(java.lang.Integer value)
java.lang.Integer get_InboundFileNameCacheMaxEntries()
void set_InboundFileNameCacheMaxEntries(java.lang.Integer value)
java.lang.Integer get_AbandonedContentCleanupInterval()
void set_AbandonedContentCleanupInterval(java.lang.Integer value)
java.lang.Integer get_TempFileLifetime()
void set_TempFileLifetime(java.lang.Integer value)
java.lang.Integer get_AbandonedDBContentCleanupInterval()
void set_AbandonedDBContentCleanupInterval(java.lang.Integer value)
java.lang.Integer get_TempDBContentLifetime()
void set_TempDBContentLifetime(java.lang.Integer value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |