FileDocCategorySizeDatePackage
QueryCacheFactory.javaAPI DocHibernate 3.2.5610Tue Oct 26 04:35:46 BST 2004org.hibernate.cache

QueryCacheFactory.java

// $Id: QueryCacheFactory.java 4690 2004-10-26 09:35:46Z oneovthafew $
package org.hibernate.cache;

import org.hibernate.HibernateException;
import org.hibernate.cfg.Settings;

import java.util.Properties;

/**
 * Defines a factory for query cache instances.  These factories are responsible for
 * creating individual QueryCache instances.
 *
 * @author Steve Ebersole
 */
public interface QueryCacheFactory {

	public QueryCache getQueryCache(
	        String regionName,
	        UpdateTimestampsCache updateTimestampsCache,
			Settings settings,
	        Properties props) 
	throws HibernateException;

}