public class HashtableCacheProvider extends Object implements CacheProvider
Constructor and Description |
---|
HashtableCacheProvider() |
Modifier and Type | Method and Description |
---|---|
Cache |
buildCache(String regionName,
Properties properties)
Configure the cache
|
boolean |
isMinimalPutsEnabledByDefault() |
long |
nextTimestamp()
Generate a timestamp
|
void |
start(Properties properties)
Callback to perform any necessary initialization of the underlying cache implementation
during SessionFactory construction.
|
void |
stop()
Callback to perform any necessary cleanup of the underlying cache implementation
during SessionFactory.close().
|
public Cache buildCache(String regionName, Properties properties) throws CacheException
CacheProvider
buildCache
in interface CacheProvider
regionName
- the name of the cache regionproperties
- configuration settingsCacheException
public long nextTimestamp()
CacheProvider
nextTimestamp
in interface CacheProvider
public void start(Properties properties) throws CacheException
start
in interface CacheProvider
properties
- current configuration settings.CacheException
public void stop()
stop
in interface CacheProvider
public boolean isMinimalPutsEnabledByDefault()
isMinimalPutsEnabledByDefault
in interface CacheProvider
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved