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 Summary
Constructors Constructor Description AutoTuneDiffCollection(AutoTuneCollection profiling, BaseQueryTuner queryTuner, boolean updateTuning)Construct to collect/report the new/diff query tuning entries.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetChangeCount()Return the total new and diff entries.intgetDiffCount()Return the number of diff entries.AutotunegetDocument()Return the underlying Autotune document object.intgetNewCount()Return the number of new entries.booleanisEmpty()Return true if there are no new or diff entries.voidprocess()Process checking profiling entries against existing query tuning.voidwriteFile(String filePrefix)Write the underlying document as an xml file.
-
-
-
Constructor Detail
-
AutoTuneDiffCollection
public AutoTuneDiffCollection(AutoTuneCollection profiling, BaseQueryTuner queryTuner, boolean updateTuning)
Construct to collect/report the new/diff query tuning entries.
-
-
Method Detail
-
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.
-
process
public void process()
Process checking profiling entries against existing query tuning.
-
-