org.infinispan.loader.bdbje
Class BdbjeCacheStoreConfig
java.lang.Object
org.infinispan.config.AbstractConfigurationBean
org.infinispan.config.AbstractNamedCacheConfigurationBean
org.infinispan.config.PluggableConfigurationComponent
org.infinispan.loader.AbstractCacheStoreConfig
org.infinispan.loader.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
- Version:
- $Id: BdbjeCacheStoreConfig.java 138 2009-04-17 14:48:39Z manik.surtani@jboss.com $
- Author:
- Adrian Cole
- See Also:
- Serialized Form
Methods inherited from class org.infinispan.loader.AbstractCacheStoreConfig |
clone, equals, equalsExcludingProperties, getAsyncStoreConfig, getCacheLoaderClassName, getSingletonStoreConfig, hashCode, hashCodeExcludingProperties, isFetchPersistentState, isIgnoreModifications, isPurgeOnStartup, isPurgeSynchronously, setAsyncStoreConfig, setCacheLoaderClassName, setFetchPersistentState, setIgnoreModifications, setPurgeOnStartup, setPurgeSynchronously, setSingletonStoreConfig, toString |
BdbjeCacheStoreConfig
public BdbjeCacheStoreConfig()
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)
getCacheDbName
public String getCacheDbName()
setCacheDbName
public void setCacheDbName(String cacheDbName)
getCatalogDbName
public String getCatalogDbName()
setCatalogDbName
public void setCatalogDbName(String catalogDbName)
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.