All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebean.cache.ServerCacheFactory Maven / Gradle / Ivy

package io.ebean.cache;

import io.ebean.config.CurrentTenantProvider;

/**
 * Defines method for constructing caches for beans and queries.
 */
public interface ServerCacheFactory {

  /**
   * Create the cache for the given type with options.
   */
  ServerCache createCache(ServerCacheType type, String cacheKey, CurrentTenantProvider tenantProvider, ServerCacheOptions cacheOptions);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy