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 int
getChangeCount()
Return the total new and diff entries.int
getDiffCount()
Return the number of diff entries.Autotune
getDocument()
Return the underlying Autotune document object.int
getNewCount()
Return the number of new entries.boolean
isEmpty()
Return true if there are no new or diff entries.void
process()
Process checking profiling entries against existing query tuning.void
writeFile(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.
-
-