org.hibernate.cache.cfg.spi.DomainDataRegionConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beangle-hibernate-core Show documentation
Show all versions of beangle-hibernate-core Show documentation
Hibernate Orm Core Shade,Support Scala Collection
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html
*/
package org.hibernate.cache.cfg.spi;
import java.util.List;
import org.hibernate.boot.spi.SessionFactoryOptions;
/**
* Configuration for a named region for caching domain data.
* A region's name is "unqualified"; i.e. it is not prefixed by
* {@link SessionFactoryOptions#getCacheRegionPrefix()}.
*
* @author Steve Ebersole
*/
public interface DomainDataRegionConfig {
/**
* Retrieve the unqualified name of this region.
*/
String getRegionName();
/**
* Retrieve the list of all entity data to be stored in this region
*/
List getEntityCaching();
/**
* Retrieve the list of all natural-id data to be stored in this region
*/
List getNaturalIdCaching();
/**
* Retrieve the list of all collection data to be stored in this region
*/
List getCollectionCaching();
}