001package io.ebean.cache;
002
003import io.ebean.BackgroundExecutor;
004import io.ebean.config.ServerConfig;
005
006/**
007 * The plugin interface that creates a ServerCacheFactory.
008 */
009public interface ServerCachePlugin {
010
011  /**
012   * Create the ServerCacheFactory given the server config and background executor service.
013   */
014  ServerCacheFactory create(ServerConfig config, BackgroundExecutor executor);
015}