Class AutoTuneDiffCollection

java.lang.Object
io.ebeaninternal.server.autotune.service.AutoTuneDiffCollection

public class AutoTuneDiffCollection extends Object
Event where profiling information is collected and processed for differences relative to the current query tuning.
  • Constructor Details

    • AutoTuneDiffCollection

      public AutoTuneDiffCollection(AutoTuneCollection profiling, BaseQueryTuner queryTuner, boolean updateTuning)
      Construct to collect/report the new/diff query tuning entries.
  • Method Details

    • isEmpty

      public boolean isEmpty()
      Return true if there are no new or diff entries.
    • getDocument

      public Autotune getDocument()
      Return the underlying Autotune document object.
    • getDiffCount

      public int getDiffCount()
      Return the number of diff entries.
    • getNewCount

      public int getNewCount()
      Return the number of new entries.
    • getChangeCount

      public int getChangeCount()
      Return the total new and diff entries.
    • writeFile

      public void writeFile(String filePrefix)
      Write the underlying document as an xml file.
    • process

      public void process()
      Process checking profiling entries against existing query tuning.