com.avaje.ebean.meta
Class MetaAutoFetchStatistic

java.lang.Object
  extended by com.avaje.ebean.meta.MetaAutoFetchStatistic
All Implemented Interfaces:
Serializable

public class MetaAutoFetchStatistic
extends Object
implements Serializable

Statistics collected by AutoFetch profiling.

See Also:
Serialized Form

Nested Class Summary
static class MetaAutoFetchStatistic.NodeUsageStats
          Collects usages statistics for a given node in the object graph.
static class MetaAutoFetchStatistic.QueryStats
          FIXME: This will likely be deprecated in favour of a separate object graph cost.
 
Constructor Summary
MetaAutoFetchStatistic()
           
MetaAutoFetchStatistic(ObjectGraphOrigin origin, int counter, List<MetaAutoFetchStatistic.QueryStats> queryStats, List<MetaAutoFetchStatistic.NodeUsageStats> nodeUsageStats)
           
 
Method Summary
 String getBeanType()
          Return the bean type.
 int getCounter()
          Return the number of profiled queries the statistics is based on.
 String getId()
          This is the query point key.
 List<MetaAutoFetchStatistic.NodeUsageStats> getNodeUsageStats()
          Return the node usage statistics.
 ObjectGraphOrigin getOrigin()
          Return the query point.
 List<MetaAutoFetchStatistic.QueryStats> getQueryStats()
          Return the query execution statistics.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaAutoFetchStatistic

public MetaAutoFetchStatistic()

MetaAutoFetchStatistic

public MetaAutoFetchStatistic(ObjectGraphOrigin origin,
                              int counter,
                              List<MetaAutoFetchStatistic.QueryStats> queryStats,
                              List<MetaAutoFetchStatistic.NodeUsageStats> nodeUsageStats)
Method Detail

getId

public String getId()
This is the query point key.


getBeanType

public String getBeanType()
Return the bean type.


getOrigin

public ObjectGraphOrigin getOrigin()
Return the query point.


getCounter

public int getCounter()
Return the number of profiled queries the statistics is based on.


getQueryStats

public List<MetaAutoFetchStatistic.QueryStats> getQueryStats()
Return the query execution statistics.


getNodeUsageStats

public List<MetaAutoFetchStatistic.NodeUsageStats> getNodeUsageStats()
Return the node usage statistics.



Copyright © 2010. All Rights Reserved.