java.lang.Object
io.ebeaninternal.server.autotune.NoAutoTuneService
- All Implemented Interfaces:
AutoTune,AutoTuneService
Noop service when AutoTuneService is not available.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NoAutoTuneService
public NoAutoTuneService()
-
-
Method Details
-
startup
public void startup()Description copied from interface:AutoTuneServiceLoad the query tuning information.- Specified by:
startupin interfaceAutoTuneService
-
tuneQuery
Description copied from interface:AutoTuneServiceCalled when a query thinks it should be automatically tuned by AutoTune.Returns true if the query was tuned.
- Specified by:
tuneQueryin interfaceAutoTuneService
-
collectProfiling
public void collectProfiling()Description copied from interface:AutoTuneServiceFire a garbage collection (hint to the JVM). Assuming garbage collection fires this will gather the usage profiling information.- Specified by:
collectProfilingin interfaceAutoTune- Specified by:
collectProfilingin interfaceAutoTuneService
-
reportProfiling
public void reportProfiling()- Specified by:
reportProfilingin interfaceAutoTune
-
shutdown
public void shutdown()Description copied from interface:AutoTuneServiceOn shutdown fire garbage collection and collect statistics. Note that usually we add a little delay (100 milliseconds) to give the garbage collector plenty of time to do its thing and collect the profile information.- Specified by:
shutdownin interfaceAutoTuneService
-