- All Superinterfaces:
NodeUsageListener
Profiling listener gets call backs for node usage and the associated query executions.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcollectQueryInfo(ObjectGraphNode node, long beans, long micros) Collect summary statistics for a query executed for the given node.booleanisProfileRequest(ObjectGraphNode origin, SpiQuery<?> query) Return true if this request should be profiled (based on the profiling ratio and collection count for this origin).Methods inherited from interface io.ebean.bean.NodeUsageListener
collectNodeUsage
-
Method Details
-
collectQueryInfo
Collect summary statistics for a query executed for the given node.- Parameters:
node- the node relative to the origin pointbeans- the number of beans loaded by the querymicros- the query execution in microseconds
-
isProfileRequest
Return true if this request should be profiled (based on the profiling ratio and collection count for this origin).
-