com.filenet.api.sweep

Interface CmThumbnailRequestSweep

  • All Superinterfaces:
    CmQueueSweep, CmSweep, EngineObject, IndependentlyPersistableObject, IndependentObject, RepositoryObject, java.io.Serializable, Subscribable


    public interface CmThumbnailRequestSweep
    extends RepositoryObject, CmQueueSweep
    Defines the format, size, and color parameters that are used by the thumbnail generation service to render document thumbnails. A CmThumbnailRequestSweep instance operates on the ThumbnailRequest queue table, initiating thumbnail generation for each request. A request is represented by a CmThumbnailRequest object.

    A CmThumbnailRequestSweep instance is created by the Thumbnail Extensions AddOn. It is disabled by default. You cannot create additional instances of this class; there can be only one queue sweep instance for any given ThumbnailRequest queue table.

    The default CmThumbnailRequestSweep instance is configured to be efficiently continuous. It runs in a wait state until it is notified that a new request is posted in the ThumbnailRequest queue table.

    Important: For CmThumbnalRequestSweep, the default value of the MaximumFailures property is three, meaning that an instance of CmThumbnalRequestSweep attempts to reprocess failed thumbnail request queue entries up to three times. Entries that fail to process after three attempts are set to QueueEntryStatus.FAILED, and, as a result, CmThumbnalRequestSweep no longer attempts to process the queue entries.

    To restart the processing of failed queue entries, you must reset the FailureCount property to zero on each queue entry, which automatically changes the QueueEntryStatus property from FAILED to RETRY_WAIT. To restart a large volume of failed queue entries, it is recommended that you use a custom sweep job. For more information, see Resetting failed queue sweep entries.

    Metadata

    See Also:
    Thumbnail Concepts

© Copyright IBM Corporation 2006, 2015. All rights reserved.