Class TransformerStatisticsImpl

    • Method Detail

      • recordTime

        public void recordTime​(long transformationTime)
        Deprecated.
        Specified by:
        recordTime in interface TransformerStatistics
        Parameters:
        transformationTime - to be added to this TransformationData and its parents.
      • recordError

        public void recordError​(long transformationTime)
        Deprecated.
        Description copied from interface: TransformerStatistics
        Adds 1 to the error count of this TransformationData and its parents.
        Specified by:
        recordError in interface TransformerStatistics
      • getCount

        public long getCount()
        Deprecated.
        Specified by:
        getCount in interface TransformerStatistics
        Returns:
        the number of time the transformer has been called.
      • setCount

        public void setCount​(long count)
        Deprecated.
        Specified by:
        setCount in interface TransformerStatistics
        Parameters:
        count - overrides the number of time the transformer has been called.
      • getErrorCount

        public long getErrorCount()
        Deprecated.
        Specified by:
        getErrorCount in interface TransformerStatistics
        Returns:
        the number of time the transformer has failed.
      • setErrorCount

        public void setErrorCount​(long errorCount)
        Deprecated.
        Specified by:
        setErrorCount in interface TransformerStatistics
        Parameters:
        errorCount - overrides the number of time the transformer has failed.
      • getAverageTime

        public long getAverageTime()
        Deprecated.
        Specified by:
        getAverageTime in interface TransformerStatistics
        Returns:
        the average time taken by the the transformer.
      • setAverageTime

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

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