Interface ProfilingManager


  • public interface ProfilingManager
    Manages profiling in a cluster-aware level
    • Method Detail

      • collect

        void collect​(ProfilingEntry entry)
        Collects the given entry to the current profiling session
      • current

        ClusterProfilingStats current()
        If profiling is running, returns the current in-memory metrics. If not running, returns null.
      • getStartParams

        StartProfilingParams getStartParams()
        If profiling is running, returns the parameters used to start it. If not running, returns null.
      • start

        void start​(StartProfilingParams params)
        Notifies all cluster nodes that a profiling session has started
      • stop

        ClusterStopProfilingResult stop()
        Notifies all cluster nodes that a profiling session has stopped, and returns all in-memory metrics for all nodes