package com.avaje.ebeaninternal.server.cache; import com.avaje.ebean.cache.ServerCache; import java.util.function.Supplier; /** * The cache service for server side caching of beans and query results. */ public interface SpiCacheManager { /** * Return true if the L2 caching is local. *
* Local L2 caching means that the cache updates should occur in foreground * rather than background processing. *
*/ boolean isLocalL2Caching(); /** * Return the cache for mapping natural keys to id values. */ Supplier