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

org.hibernate.cache.cfg.spi.DomainDataRegionConfig Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
/*
 * 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 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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy