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

This commit is contained in:
Rob Bygrave committed 2021-09-02 22:44:31 +12:00
1 parent f770b66f42
commit 239a444d4c
6 files changed
+15 -7

No files matched your search

@@ -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.