站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

JCSCacheProvider (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.cache
Class JCSCacheProvider

java.lang.Object
  extended bynet.sf.hibernate.cache.JCSCacheProvider
All Implemented Interfaces:
CacheProvider

Deprecated. JCS support will be removed in version 2.1.1

public class JCSCacheProvider
extends Object
implements CacheProvider

Author:
Gavin King

Constructor Summary
JCSCacheProvider()
          Deprecated.  
 
Method Summary
 Cache buildCache(String regionName, Properties properties)
          Deprecated. Configure the cache
 long nextTimestamp()
          Deprecated. Generate a timestamp
 void start(Properties properties)
          Deprecated. Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory construction.
 void stop()
          Deprecated. Callback to perform any necessary cleanup of the underlying cache implementation during SessionFactory.close().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCSCacheProvider

public JCSCacheProvider()
Deprecated. 
Method Detail

buildCache

public Cache buildCache(String regionName,
                        Properties properties)
                 throws CacheException
Deprecated. 
Description copied from interface: CacheProvider
Configure the cache

Specified by:
buildCache in interface CacheProvider
Parameters:
regionName - the name of the cache region
properties - configuration settings
Throws:
CacheException

nextTimestamp

public long nextTimestamp()
Deprecated. 
Description copied from interface: CacheProvider
Generate a timestamp

Specified by:
nextTimestamp in interface CacheProvider

start

public void start(Properties properties)
           throws CacheException
Deprecated. 
Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory construction.

Specified by:
start in interface CacheProvider
Parameters:
properties - current configuration settings.
Throws:
CacheException

stop

public void stop()
Deprecated. 
Callback to perform any necessary cleanup of the underlying cache implementation during SessionFactory.close().

Specified by:
stop in interface CacheProvider