Package org.apache.openjpa.enhance.stats
Class FetchStatisticsAuxEnhancer
java.lang.Object
org.apache.openjpa.enhance.stats.FetchStatisticsAuxEnhancer
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(org.apache.xbean.asm9.tree.ClassNode classNode, ClassMetaData cmd) booleanskipEnhance(org.apache.xbean.asm9.tree.MethodNode m)
-
Constructor Details
-
FetchStatisticsAuxEnhancer
public FetchStatisticsAuxEnhancer()
-
-
Method Details
-
run
- Specified by:
runin interfacePCEnhancer.AuxiliaryEnhancer
-
skipEnhance
public boolean skipEnhance(org.apache.xbean.asm9.tree.MethodNode m) - Specified by:
skipEnhancein interfacePCEnhancer.AuxiliaryEnhancer
-