#2049 - Migrate to DatabaseConfig from ServerConfig (#2057)

This commit is contained in:
Rob Bygrave
2020-09-14 18:30:51 +12:00
committed by GitHub
parent 488762957a
commit 6839f869f5
63 changed files with 3551 additions and 3495 deletions
@@ -3,7 +3,7 @@ package io.ebeaninternal.server.cache;
import io.ebean.BackgroundExecutor;
import io.ebean.cache.ServerCacheFactory;
import io.ebean.cache.ServerCachePlugin;
import io.ebean.config.ServerConfig;
import io.ebean.config.DatabaseConfig;
/**
* Default implementation of ServerCachePlugin.
@@ -14,7 +14,7 @@ public class DefaultServerCachePlugin implements ServerCachePlugin {
* Creates the default ServerCacheFactory.
*/
@Override
public ServerCacheFactory create(ServerConfig config, BackgroundExecutor executor) {
public ServerCacheFactory create(DatabaseConfig config, BackgroundExecutor executor) {
return new DefaultServerCacheFactory(executor);
}
}