org.infinispan.loaders.bdbje
Class BdbjeCacheStoreConfig
java.lang.Object
org.infinispan.config.AbstractConfigurationBean
org.infinispan.config.AbstractNamedCacheConfigurationBean
org.infinispan.loaders.AbstractCacheLoaderConfig
org.infinispan.loaders.AbstractCacheStoreConfig
org.infinispan.loaders.bdbje.BdbjeCacheStoreConfig
- All Implemented Interfaces:
- Serializable, Cloneable, CloneableConfigurationComponent, JAXBUnmarshallable, CacheLoaderConfig, CacheStoreConfig
public class BdbjeCacheStoreConfig
- extends AbstractCacheStoreConfig
Configures BdbjeCacheStore
. This allows you to tune a number of characteristics
of the BdbjeCacheStore
.
- location - a location on disk where the store can write internal files. This defaults to
Infinispan-BdbjeCacheStore in the current working directory.
- lockAcquistionTimeout - the
length of time, in milliseconds, to wait for locks before timing out and throwing an exception. By default, this is
set to 60000.
- maxTxRetries - the number of times transaction prepares will attempt to
resolve a deadlock before throwing an exception. By default, this is set to 5.
- cacheDbName - the name of the SleepyCat database persisting this store. This defaults to
BasicCache.getName()
cache#name}. - catalogDbName - the name of the SleepyCat
database persisting the class information for objects in this store. This defaults to
BasicCache.getName()
cache#name}_class_catalog.
- environmentPropertiesFile - the name of the SleepyCat properties file containing je.*
properties to initialize the JE environment. Defaults to null, no properties are passed in to the JE engine if this
is null or empty. The file specified needs to be available on the classpath, or must be an absolute path to a valid
properties file. Refer to SleepyCat JE Environment configuration documentation for details..
Please see AbstractCacheStoreConfig
for more configuration parameters.
- Since:
- 4.0
- Author:
- Adrian Cole
- See Also:
- Serialized Form
Methods inherited from class org.infinispan.loaders.AbstractCacheStoreConfig |
accept, asyncStore, clone, equals, equalsExcludingProperties, fetchPersistentState, getAsyncStoreConfig, getPurgerThreads, getSingletonStoreConfig, getTypedProperties, hashCode, hashCodeExcludingProperties, ignoreModifications, isFetchPersistentState, isIgnoreModifications, isPurgeOnStartup, isPurgeSynchronously, purgeOnStartup, purgerThreads, purgeSynchronously, setAsyncStoreConfig, setFetchPersistentState, setIgnoreModifications, setPurgeOnStartup, setPurgerThreads, setPurgeSynchronously, setSingletonStoreConfig, setTypedProperties, singletonStore, toString |
BdbjeCacheStoreConfig
public BdbjeCacheStoreConfig()
getExpiryDbPrefix
public String getExpiryDbPrefix()
getExpiryDbName
public String getExpiryDbName()
setExpiryDbNamePrefix
public void setExpiryDbNamePrefix(String expiryDbName)
getMaxTxRetries
public int getMaxTxRetries()
setMaxTxRetries
public void setMaxTxRetries(int maxTxRetries)
getLockAcquistionTimeout
public long getLockAcquistionTimeout()
setLockAcquistionTimeout
public void setLockAcquistionTimeout(long lockAcquistionTimeout)
getLocation
public String getLocation()
setLocation
public void setLocation(String location)
getCacheDbNamePrefix
public String getCacheDbNamePrefix()
setCacheDbNamePrefix
public void setCacheDbNamePrefix(String cacheDbNamePrefix)
getCatalogDbName
public String getCatalogDbName()
setCatalogDbName
public void setCatalogDbName(String catalogDbName)
getCacheDbName
public String getCacheDbName()
getEnvironmentPropertiesFile
public String getEnvironmentPropertiesFile()
setEnvironmentPropertiesFile
public void setEnvironmentPropertiesFile(String environmentPropertiesFile)
readEnvironmentProperties
public Properties readEnvironmentProperties()
throws CacheLoaderException
- Throws:
CacheLoaderException
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.