KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > cache > QueryCacheFactory


1 // $Id: QueryCacheFactory.java,v 1.2 2004/10/26 09:35:35 oneovthafew Exp $
2
package org.hibernate.cache;
3
4 import org.hibernate.HibernateException;
5 import org.hibernate.cfg.Settings;
6
7 import java.util.Properties JavaDoc;
8
9 /**
10  * Defines a factory for query cache instances. These factories are responsible for
11  * creating individual QueryCache instances.
12  *
13  * @author Steve Ebersole
14  */

15 public interface QueryCacheFactory {
16
17     public QueryCache getQueryCache(
18             String JavaDoc regionName,
19             UpdateTimestampsCache updateTimestampsCache,
20             Settings settings,
21             Properties JavaDoc props)
22     throws HibernateException;
23
24 }
25
Popular Tags