⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cacheprovider.java

📁 用Java实现的23个常用设计模式源代码
💻 JAVA
字号:
//$Id: CacheProvider.java,v 1.1.2.2 2003/11/24 03:25:29 oneovthafew Exp $
package net.sf.hibernate.cache;

import java.util.Properties;

/**
 * Support for pluggable caches.
 * 
 * @author Gavin King
 */
public interface CacheProvider {

	/**
	 * Configure the cache
	 * 
	 * @param regionName the name of the cache region
	 * @param properties configuration settings
	 * @throws CacheException
	 */
	public Cache buildCache(String regionName, Properties properties) throws CacheException;

	/**
	 * Generate a timestamp
	 */
	public long nextTimestamp();
	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -