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 void
run(org.apache.xbean.asm9.tree.ClassNode classNode, ClassMetaData cmd)
boolean
skipEnhance(org.apache.xbean.asm9.tree.MethodNode m)
-
-
-
Method Detail
-
run
public void run(org.apache.xbean.asm9.tree.ClassNode classNode, ClassMetaData cmd)
- Specified by:
run
in interfacePCEnhancer.AuxiliaryEnhancer
-
skipEnhance
public boolean skipEnhance(org.apache.xbean.asm9.tree.MethodNode m)
- Specified by:
skipEnhance
in interfacePCEnhancer.AuxiliaryEnhancer
-
-