Interface QueryStatsMBean

    • Method Detail

      • getSlowQueries

        @Description("Get the slow queries (those that scan/traverse over many nodes).")
        javax.management.openmbean.TabularData getSlowQueries()
        Get the slow queries. Those are the ones that scan more than 100'000 nodes, or the configured maximum number of nodes to scan. (Raw execution time is not taken into account, as execution can be slow if the code is not compiled yet.)
        Returns:
        the slow queries table
      • getPopularQueries

        @Description("Get the popular queries (those that take most of the time).")
        javax.management.openmbean.TabularData getPopularQueries()
      • asJson

        @Description("Get all data as Json.")
        java.lang.String asJson()
      • resetStats

        @Description("Reset the statistics (clear the list of queries).")
        void resetStats()
      • setCaptureStackTraces

        @Description("Enable / disable capturing the thread dumps (in addition to the thread name).")
        void setCaptureStackTraces​(boolean captureStackTraces)
        Whether to capture a thread dump in addition to the thread name. No thread name / thread dump is captures for internal queries.
        Parameters:
        captureStackTraces - the new valu
      • getCaptureStackTraces

        boolean getCaptureStackTraces()