Interface TransformerStatistics
-
- All Known Implementing Classes:
TransformerStatisticsImpl
@Deprecated @AlfrescoPublicApi public interface TransformerStatisticsDeprecated.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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description longgetAverageTime()Deprecated.longgetCount()Deprecated.longgetErrorCount()Deprecated.java.lang.StringgetSourceExt()Deprecated.java.lang.StringgetTargetExt()Deprecated.java.lang.StringgetTransformerName()Deprecated.booleanisSummary()Deprecated.voidrecordError(long transformationTime)Deprecated.Adds 1 to the error count of this TransformationData and its parents.voidrecordTime(long transformationTime)Deprecated.voidsetAverageTime(long averageTime)Deprecated.voidsetCount(long count)Deprecated.voidsetErrorCount(long errorCount)Deprecated.
-
-
-
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:
trueif 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.
-
-