001package io.ebean;
002
003/**
004 * Administrative control of AutoTune during runtime.
005 */
006public interface AutoTune {
007
008  /**
009   * Fire a garbage collection (hint to the JVM). Assuming garbage collection
010   * fires this will gather remaining usage profiling information.
011   */
012  void collectProfiling();
013
014  /**
015   * Output the profiling.
016   * <p>
017   * When profiling updates are applied to tuning at runtime this reports all tuning and profiling combined.
018   * When profiling is not applied at runtime then this reports the diff report with new and diff entries relative
019   * to the existing tuning.
020   * </p>
021   */
022  void reportProfiling();
023
024}