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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(org.apache.xbean.asm9.tree.ClassNode classNode, ClassMetaData cmd) boolean
skipEnhance
(org.apache.xbean.asm9.tree.MethodNode m)
-
Constructor Details
-
FetchStatisticsAuxEnhancer
public FetchStatisticsAuxEnhancer()
-
-
Method Details
-
run
- Specified by:
run
in interfacePCEnhancer.AuxiliaryEnhancer
-
skipEnhance
public boolean skipEnhance(org.apache.xbean.asm9.tree.MethodNode m) - Specified by:
skipEnhance
in interfacePCEnhancer.AuxiliaryEnhancer
-