public class DefaultMetaInfoManager extends Object implements MetaInfoManager
| Constructor and Description |
|---|
DefaultMetaInfoManager(DefaultServer server) |
| Modifier and Type | Method and Description |
|---|---|
List<MetaObjectGraphNodeStats> |
collectNodeStatistics(boolean reset)
Collect and return the ObjectGraphNode statistics.
|
List<MetaQueryPlanStatistic> |
collectQueryPlanStatistics(boolean reset)
Collect and return the query plan statistics for all the beans.
|
MetaBeanInfo |
getMetaBeanInfo(Class<?> beanClass)
Return the MetaBeanInfo for a bean type.
|
List<MetaBeanInfo> |
getMetaBeanInfoList()
Return all the MetaBeanInfo.
|
public DefaultMetaInfoManager(DefaultServer server)
public MetaBeanInfo getMetaBeanInfo(Class<?> beanClass)
MetaInfoManagergetMetaBeanInfo in interface MetaInfoManagerpublic List<MetaBeanInfo> getMetaBeanInfoList()
MetaInfoManagergetMetaBeanInfoList in interface MetaInfoManagerpublic List<MetaQueryPlanStatistic> collectQueryPlanStatistics(boolean reset)
MetaInfoManagerNote that this excludes the query plan statistics where there has been no executions (since the last collection with reset).
collectQueryPlanStatistics in interface MetaInfoManagerpublic List<MetaObjectGraphNodeStats> collectNodeStatistics(boolean reset)
MetaInfoManagerThese show query executions based on an origin point and relative path. This is used to look at the amount of lazy loading occurring for a given query origin point and highlight potential for tuning a query.
collectNodeStatistics in interface MetaInfoManagerreset - Set to true to reset the underlying statistics after collection.Copyright © 2014. All Rights Reserved.