Class TransformerStatisticsImpl

    • Method Detail

      • recordTime

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

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

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

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

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

        public boolean isSummary()
        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.