Module io.ebean.autotune
Class AutoTuneDiffCollection
java.lang.Object
io.ebeaninternal.server.autotune.service.AutoTuneDiffCollection
Event where profiling information is collected and processed for differences
relative to the current query tuning.
-
Constructor Summary
ConstructorsConstructorDescriptionAutoTuneDiffCollection(AutoTuneCollection profiling, BaseQueryTuner queryTuner, boolean updateTuning) Construct to collect/report the new/diff query tuning entries. -
Method Summary
Modifier and TypeMethodDescriptionintReturn the total new and diff entries.intReturn the number of diff entries.Return the underlying Autotune document object.intReturn 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.voidWrite the underlying document as an xml file.
-
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
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
Write the underlying document as an xml file. -
process
public void process()Process checking profiling entries against existing query tuning.
-