001package com.avaje.ebean.cache;
002
003/**
004 * Defines method for constructing caches for beans and queries.
005 */
006public interface ServerCacheFactory {
007
008  /**
009   * Create the cache for the given type with options.
010   */
011  ServerCache createCache(ServerCacheType type, String cacheKey, ServerCacheOptions cacheOptions);
012
013}