Interface TransformerStatistics

  • All Known Implementing Classes:
    TransformerStatisticsImpl

    @Deprecated
    @AlfrescoPublicApi
    public interface TransformerStatistics
    Deprecated.
    The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
    Interface to obtain the configuration and performance data for every source, target and transformer combination.
    Author:
    Alan Davis
    • Method Detail

      • getSourceExt

        java.lang.String getSourceExt()
        Deprecated.
        Returns:
        the extension of the source mimetype of the transformer.
      • getTargetExt

        java.lang.String getTargetExt()
        Deprecated.
        Returns:
        the extension of the target mimetype of the transformer.
      • getTransformerName

        java.lang.String getTransformerName()
        Deprecated.
        Returns:
        the name of the parent transformer.
      • getCount

        long getCount()
        Deprecated.
        Returns:
        the number of time the transformer has been called.
      • setCount

        void setCount​(long count)
        Deprecated.
        Parameters:
        count - overrides the number of time the transformer has been called.
      • getErrorCount

        long getErrorCount()
        Deprecated.
        Returns:
        the number of time the transformer has failed.
      • setErrorCount

        void setErrorCount​(long errorCount)
        Deprecated.
        Parameters:
        errorCount - overrides the number of time the transformer has failed.
      • getAverageTime

        long getAverageTime()
        Deprecated.
        Returns:
        the average time taken by the the transformer.
      • setAverageTime

        void setAverageTime​(long averageTime)
        Deprecated.
        Parameters:
        averageTime - overrides the average time taken by the the transformer.
      • isSummary

        boolean isSummary()
        Deprecated.
        Returns:
        true if this is the summary of all transformations done by a transformer rather than just between two specific mimetypes.
      • recordTime

        void recordTime​(long transformationTime)
        Deprecated.
        Parameters:
        transformationTime - to be added to this TransformationData and its parents.
      • recordError

        void recordError​(long transformationTime)
        Deprecated.
        Adds 1 to the error count of this TransformationData and its parents.