org.infinispan.loaders.bdbje
Class BdbjeCacheStoreConfig
java.lang.Object
org.infinispan.config.AbstractConfigurationBean
org.infinispan.config.AbstractNamedCacheConfigurationBean
org.infinispan.config.PluggableConfigurationComponent
org.infinispan.loaders.AbstractCacheLoaderConfig
org.infinispan.loaders.AbstractCacheStoreConfig
org.infinispan.loaders.bdbje.BdbjeCacheStoreConfig
- All Implemented Interfaces:
- Serializable, Cloneable, CloneableConfigurationComponent, 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
Cache.getName()
cache#name}. - catalogDbName - the name of the SleepyCat
database persisting the class information for objects in this store. This defaults to
Cache.getName()
cache#name}_class_catalog.
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, clone, equals, equalsExcludingProperties, getAsyncStoreConfig, getPurgerThreads, getSingletonStoreConfig, hashCode, hashCodeExcludingProperties, isFetchPersistentState, isIgnoreModifications, isPurgeOnStartup, isPurgeSynchronously, setAsyncStoreConfig, setFetchPersistentState, setIgnoreModifications, setPurgeOnStartup, setPurgerThreads, setPurgeSynchronously, setSingletonStoreConfig, 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()
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.