Class RenditionsDataCollector

java.lang.Object
org.alfresco.heartbeat.HBBaseDataCollector
org.alfresco.heartbeat.RenditionsDataCollector
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class RenditionsDataCollector extends HBBaseDataCollector implements org.springframework.beans.factory.InitializingBean
This class collects rendition request counts for HeartBeat. A rendition (such as "doclib") is always to the same target mimetype, but there may be different source mimetypes. As a result that may be multiple sets of data with the same rendition. It is also likely there will be multiple renditions reported in the same batch of data.
  • Collector ID: acs.repository.renditions
  • Data:
    • rendition: String - The name of the rendition.
    • count: Integer - The number of times a rendition and sourceMimetype combination has been requested.
    • sourceMimetype: String - The source mimetype for the rendition.
    • targetMimetype: String - The target mimetype for the rendition.
Author:
adavis
  • Constructor Details

  • Method Details

    • setCurrentRepoDescriptorDAO

      public void setCurrentRepoDescriptorDAO(DescriptorDAO currentRepoDescriptorDAO)
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • recordRenditionRequest

      public void recordRenditionRequest(ThumbnailDefinition rendition, String sourceMimetype)
    • collectData

      public List<org.alfresco.heartbeat.datasender.HBData> collectData()
      Specified by:
      collectData in class HBBaseDataCollector