Interface ProfilingListener

    • Method Detail

      • collectQueryInfo

        void collectQueryInfo​(ObjectGraphNode node,
                              long beans,
                              long micros)
        Collect summary statistics for a query executed for the given node.
        Parameters:
        node - the node relative to the origin point
        beans - the number of beans loaded by the query
        micros - the query execution in microseconds
      • isProfileRequest

        boolean isProfileRequest​(ObjectGraphNode origin,
                                 SpiQuery<?> query)
        Return true if this request should be profiled (based on the profiling ratio and collection count for this origin).