mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
16 lines
388 B
Java
16 lines
388 B
Java
package io.ebean.cache;
|
|
|
|
import io.ebean.BackgroundExecutor;
|
|
import io.ebean.DatabaseBuilder;
|
|
|
|
/**
|
|
* The plugin interface that creates a ServerCacheFactory.
|
|
*/
|
|
public interface ServerCachePlugin {
|
|
|
|
/**
|
|
* Create the ServerCacheFactory given the server config and background executor service.
|
|
*/
|
|
ServerCacheFactory create(DatabaseBuilder config, BackgroundExecutor executor);
|
|
}
|