public interface ContentConfiguration extends SubsystemConfiguration, DependentObject
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, and 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 is 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 might be 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 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 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. It also guarantees 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 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.
Modifier and Type | Method and Description |
---|---|
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_AbandonedThumbnailCleanupInterval()
Returns the value of the AbandonedThumbnailCleanupInterval property.
|
java.lang.Integer |
get_CompressionBlockSize()
Returns the value of the CompressionBlockSize 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_ContentUploadTimeout()
Returns the value of the ContentUploadTimeout property.
|
java.lang.Integer |
get_DatabaseContentUploadBufferSize()
Deprecated.
As of release 5.1.0.
|
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_MaximumUploadBufferSize()
Returns the value of the MaximumUploadBufferSize 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_MaxThumbnailGenerationProcesses()
Returns the value of the MaxThumbnailGenerationProcesses 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.
|
java.lang.Integer |
get_ThumbnailGenerationBatchSize()
Returns the value of the ThumbnailGenerationBatchSize property.
|
java.lang.Integer |
get_ThumbnailGenerationDelay()
Returns the value of the ThumbnailGenerationDelay property.
|
java.lang.Integer |
get_ThumbnailGenerationProcessTimeOut()
Returns the value of the ThumbnailGenerationProcessTimeOut property.
|
java.lang.String |
get_ThumbnailGenerationTempDir()
Returns the value of the ThumbnailGenerationTempDir property.
|
java.lang.Integer |
get_ThumbnailTempFileLifeTime()
Returns the value of the ThumbnailTempFileLifeTime 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_AbandonedThumbnailCleanupInterval(java.lang.Integer value)
Sets the value of the AbandonedThumbnailCleanupInterval property.
|
void |
set_CompressionBlockSize(java.lang.Integer value)
Sets the value of the CompressionBlockSize 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_ContentUploadTimeout(java.lang.Integer value)
Sets the value of the ContentUploadTimeout property.
|
void |
set_DatabaseContentUploadBufferSize(java.lang.Integer value)
Deprecated.
As of release 5.1.0.
|
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_MaximumUploadBufferSize(java.lang.Integer value)
Sets the value of the MaximumUploadBufferSize 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_MaxThumbnailGenerationProcesses(java.lang.Integer value)
Sets the value of the MaxThumbnailGenerationProcesses 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.
|
void |
set_ThumbnailGenerationBatchSize(java.lang.Integer value)
Sets the value of the ThumbnailGenerationBatchSize property.
|
void |
set_ThumbnailGenerationDelay(java.lang.Integer value)
Sets the value of the ThumbnailGenerationDelay property.
|
void |
set_ThumbnailGenerationProcessTimeOut(java.lang.Integer value)
Sets the value of the ThumbnailGenerationProcessTimeOut property.
|
void |
set_ThumbnailGenerationTempDir(java.lang.String value)
Sets the value of the ThumbnailGenerationTempDir property.
|
void |
set_ThumbnailTempFileLifeTime(java.lang.Integer value)
Sets the value of the ThumbnailTempFileLifeTime property.
|
get_Id
get_ClassDescription, getClassName, getConnection, getProperties, getSuperClasses
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)
java.lang.Integer get_CompressionBlockSize()
void set_CompressionBlockSize(java.lang.Integer value)
java.lang.Integer get_ThumbnailGenerationBatchSize()
void set_ThumbnailGenerationBatchSize(java.lang.Integer value)
java.lang.Integer get_MaxThumbnailGenerationProcesses()
void set_MaxThumbnailGenerationProcesses(java.lang.Integer value)
java.lang.Integer get_ThumbnailGenerationProcessTimeOut()
void set_ThumbnailGenerationProcessTimeOut(java.lang.Integer value)
java.lang.String get_ThumbnailGenerationTempDir()
void set_ThumbnailGenerationTempDir(java.lang.String value)
java.lang.Integer get_AbandonedThumbnailCleanupInterval()
void set_AbandonedThumbnailCleanupInterval(java.lang.Integer value)
java.lang.Integer get_ThumbnailTempFileLifeTime()
void set_ThumbnailTempFileLifeTime(java.lang.Integer value)
java.lang.Integer get_ThumbnailGenerationDelay()
void set_ThumbnailGenerationDelay(java.lang.Integer value)
java.lang.Integer get_ContentUploadTimeout()
void set_ContentUploadTimeout(java.lang.Integer value)
java.lang.Integer get_MaximumUploadBufferSize()
void set_MaximumUploadBufferSize(java.lang.Integer value)
© Copyright IBM Corporation 2006, 2015. All rights reserved.