#2346 - Rename Database.getMetaInfoManager() to metaInfo() with deprecation

This commit is contained in:
Rob Bygrave
2021-09-02 22:58:09 +12:00
parent 4557bdfa6f
commit 7fba9adc43
13 changed files with 38 additions and 30 deletions
@@ -40,8 +40,8 @@ public class ClusterTest {
foo.save();
DB.getServerCacheManager().clearAll();
DB.getDefault().getMetaInfoManager().resetAllMetrics();
other.getMetaInfoManager().resetAllMetrics();
DB.getDefault().metaInfo().resetAllMetrics();
other.metaInfo().resetAllMetrics();
Person fooA = DB.find(Person.class, foo.getId());
Person fooB = other.find(Person.class, foo.getId());
@@ -70,7 +70,7 @@ public class ClusterTest {
}
other.getServerCacheManager().clearAll();
other.getMetaInfoManager().resetAllMetrics();
other.metaInfo().resetAllMetrics();
DuelCache dualCache = (DuelCache) other.getServerCacheManager().getBeanCache(Person.class);