Package org.apache.openjpa.enhance.stats
Class FetchStatisticsAuxEnhancer
- java.lang.Object
-
- org.apache.openjpa.enhance.stats.FetchStatisticsAuxEnhancer
-
- All Implemented Interfaces:
PCEnhancer.AuxiliaryEnhancer
public class FetchStatisticsAuxEnhancer extends java.lang.Object implements PCEnhancer.AuxiliaryEnhancer
FetchStatisticsAuxEnhancer adds the call back function to each persistent fields in the persistent entity which will invoke the hit method from FetchStatsCollector whenever the field is fetched at runtime.
-
-
Constructor Summary
Constructors Constructor Description FetchStatisticsAuxEnhancer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun(org.apache.xbean.asm9.tree.ClassNode classNode, ClassMetaData cmd)booleanskipEnhance(org.apache.xbean.asm9.tree.MethodNode m)
-
-
-
Method Detail
-
run
public void run(org.apache.xbean.asm9.tree.ClassNode classNode, ClassMetaData cmd)- Specified by:
runin interfacePCEnhancer.AuxiliaryEnhancer
-
skipEnhance
public boolean skipEnhance(org.apache.xbean.asm9.tree.MethodNode m)
- Specified by:
skipEnhancein interfacePCEnhancer.AuxiliaryEnhancer
-
-