All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avaje.ebean.meta.MetaObjectGraphNodeStats Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version
package com.avaje.ebean.meta;

import com.avaje.ebean.bean.ObjectGraphNode;

/**
 * Statistics for query execution based on object graph origin and paths.
 * 

* These statistics can be used to identify origin queries that result in lots * of lazy loading. *

* * @see MetaInfoManager#collectNodeStatistics(boolean) */ public interface MetaObjectGraphNodeStats { /** * Return the ObjectGraphNode which has the origin point and relative path. */ ObjectGraphNode getNode(); /** * Return the startTime of statistics collection. */ long getStartTime(); /** * Return the total count of queries executed for this node. */ long getCount(); /** * Return the total time of queries executed for this node. */ long getTotalTime(); /** * Return the total beans loaded by queries for this node. */ long getTotalBeans(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy