#2343 - Rename Database.getAutoTune() to autoTune() with deprecation

This commit is contained in:
Rob Bygrave
2021-09-02 22:44:31 +12:00
parent f770b66f42
commit 239a444d4c
6 changed files with 15 additions and 7 deletions
@@ -120,7 +120,15 @@ public interface Database {
/**
* Return AutoTune which is used to control the AutoTune service at runtime.
*/
AutoTune getAutoTune();
AutoTune autoTune();
/**
* Deprecated migrate to autoTune().
*/
@Deprecated
default AutoTune getAutoTune() {
return autoTune();
}
/**
* Return the associated DataSource for this Database instance.