public abstract class AbstractJdbcCacheStoreConfig extends LockSupportCacheStoreConfig
Modifier and Type | Field and Description |
---|---|
protected ConnectionFactoryConfig |
connectionFactoryConfig |
DEFAULT_CONCURRENCY_LEVEL, DEFAULT_LOCK_ACQUISITION_TIMEOUT
async, fetchPersistentState, ignoreModifications, purgeOnStartup, purgerThreads, purgeSynchronously, singletonStore
cacheLoaderClassName, properties
cr
overriddenConfigurationElements
Modifier | Constructor and Description |
---|---|
protected |
AbstractJdbcCacheStoreConfig() |
protected |
AbstractJdbcCacheStoreConfig(ConnectionFactoryConfig connectionFactoryConfig) |
Modifier and Type | Method and Description |
---|---|
AbstractJdbcCacheStoreConfig |
clone() |
ConnectionFactoryConfig |
getConnectionFactoryConfig() |
void |
setConnectionFactoryClass(String connectionFactoryClass) |
void |
setConnectionUrl(String connectionUrl)
Jdbc connection string for connecting to the database.
|
void |
setDatasourceJndiLocation(String location) |
void |
setDriverClass(String driverClassName)
The name of the driver used for connecting to the database.
|
void |
setPassword(String password)
Database username's password.
|
protected void |
setProperty(String properyValue,
String propertyName,
Properties p) |
void |
setUserName(String userName)
Database username.
|
String |
toString() |
getLockAcquistionTimeout, getLockConcurrencyLevel, setLockAcquistionTimeout, setLockConcurrencyLevel
accept, asyncStore, 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
getCacheLoaderClassName, getClassLoader, getProperties, setCacheLoaderClassName, setProperties, setProperties
hasComponentStarted, inject
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
finalize, getClass, notify, notifyAll, wait, wait, wait
getCacheLoaderClassName, getClassLoader, setCacheLoaderClassName
protected ConnectionFactoryConfig connectionFactoryConfig
protected AbstractJdbcCacheStoreConfig(ConnectionFactoryConfig connectionFactoryConfig)
protected AbstractJdbcCacheStoreConfig()
public void setConnectionFactoryClass(String connectionFactoryClass)
public ConnectionFactoryConfig getConnectionFactoryConfig()
public void setConnectionUrl(String connectionUrl)
public void setUserName(String userName)
public void setDatasourceJndiLocation(String location)
public void setPassword(String password)
public void setDriverClass(String driverClassName)
public AbstractJdbcCacheStoreConfig clone()
clone
in interface CloneableConfigurationComponent
clone
in interface CacheLoaderConfig
clone
in class AbstractCacheStoreConfig
public String toString()
toString
in class LockSupportCacheStoreConfig
protected void setProperty(String properyValue, String propertyName, Properties p)
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.