|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.config.AbstractConfigurationBean
org.infinispan.config.AbstractNamedCacheConfigurationBean
org.infinispan.config.PluggableConfigurationComponent
org.infinispan.loaders.AbstractCacheLoaderConfig
org.infinispan.loaders.AbstractCacheStoreConfig
org.infinispan.loaders.LockSupportCacheStoreConfig
org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStoreConfig
public class JdbcStringBasedCacheStoreConfig
Configuration for JdbcStringBasedCacheStore
cache store.
Key2StringMapper
,
Serialized FormField Summary |
---|
Fields inherited from class org.infinispan.loaders.LockSupportCacheStoreConfig |
---|
DEFAULT_CONCURRENCY_LEVEL, DEFAULT_LOCK_ACQUISITION_TIMEOUT |
Fields inherited from class org.infinispan.loaders.AbstractCacheStoreConfig |
---|
async, fetchPersistentState, ignoreModifications, purgeOnStartup, purgerThreads, purgeSynchronously, singletonStore |
Fields inherited from class org.infinispan.loaders.AbstractCacheLoaderConfig |
---|
cacheLoaderClassName |
Fields inherited from class org.infinispan.config.PluggableConfigurationComponent |
---|
properties |
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean |
---|
cr |
Fields inherited from class org.infinispan.config.AbstractConfigurationBean |
---|
EMPTY_PROPERTIES, log, overriddenConfigurationElements |
Constructor Summary | |
---|---|
JdbcStringBasedCacheStoreConfig()
|
|
JdbcStringBasedCacheStoreConfig(boolean manageConnectionFactory)
|
|
JdbcStringBasedCacheStoreConfig(ConnectionFactoryConfig connectionFactoryConfig,
TableManipulation tableManipulation)
|
Method Summary | |
---|---|
JdbcStringBasedCacheStoreConfig |
clone()
|
int |
getBatchSize()
|
ConnectionFactoryConfig |
getConnectionFactoryConfig()
|
int |
getFetchSize()
|
Key2StringMapper |
getKey2StringMapper()
|
TableManipulation |
getTableManipulation()
|
void |
setBatchSize(int batchSize)
|
void |
setCacheName(String cacheName)
Sets the name of the table where data will be stored. |
void |
setConnectionFactoryClass(String connectionFactoryClass)
|
void |
setConnectionUrl(String connectionUrl)
Jdbc connection string for connecting to the database. |
void |
setCreateTableOnStart(boolean createTableOnStart)
|
void |
setDataColumnName(String dataColumnName)
Sets the name of the column where the StoredEntry will be binary stored. |
void |
setDataColumnType(String dataColumnType)
Sets the type of the column where data will be binary stored. |
void |
setDatasourceJndiLocation(String location)
|
void |
setDriverClass(String driverClassName)
The name of the driver used for connecting to the database. |
void |
setDropTableOnExit(boolean dropTableOnExit)
|
void |
setFetchSize(int fetchSize)
|
void |
setIdColumnName(String idColumnName)
Sets the name of the column where the id will be stored. |
void |
setIdColumnType(String idColumnType)
sql equivalent for java's String. |
void |
setKey2StringMapperClass(String className)
Name of the class implementing Key2StringMapper. |
void |
setPassword(String password)
Database username's password. |
void |
setStringsTableNamePrefix(String stringsTableNamePrefix)
Sets the prefix for the name of the table where the data will be stored. |
void |
setTableManipulation(TableManipulation tableManipulation)
|
void |
setTimestampColumnName(String timestampColumnName)
Sets the name of the column where the timestamp (Long in java) will be stored. |
void |
setTimestampColumnType(String timestampColumnType)
Sets the prefix for the name of the table where the data will be stored. |
void |
setUserName(String userName)
Database username. |
Methods inherited from class org.infinispan.loaders.LockSupportCacheStoreConfig |
---|
getLockAcquistionTimeout, getLockConcurrencyLevel, setLockAcquistionTimeout, setLockConcurrencyLevel |
Methods inherited from class org.infinispan.loaders.AbstractCacheLoaderConfig |
---|
getCacheLoaderClassName, setCacheLoaderClassName |
Methods inherited from class org.infinispan.config.PluggableConfigurationComponent |
---|
getProperties, setProperties, setProperties |
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean |
---|
hasComponentStarted, inject |
Methods inherited from class org.infinispan.config.AbstractConfigurationBean |
---|
testImmutability, toTypedProperties, toTypedProperties, uc |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.infinispan.loaders.CacheLoaderConfig |
---|
getCacheLoaderClassName, setCacheLoaderClassName |
Constructor Detail |
---|
public JdbcStringBasedCacheStoreConfig(ConnectionFactoryConfig connectionFactoryConfig, TableManipulation tableManipulation)
public JdbcStringBasedCacheStoreConfig()
public JdbcStringBasedCacheStoreConfig(boolean manageConnectionFactory)
Method Detail |
---|
public Key2StringMapper getKey2StringMapper()
public void setKey2StringMapperClass(String className)
DefaultKey2StringMapper
Key2StringMapper
public void setStringsTableNamePrefix(String stringsTableNamePrefix)
public void setCacheName(String cacheName)
public void setIdColumnName(String idColumnName)
key2StringMapper.getStringMapping(storedEntry.getKey());Mandatory.
public void setDataColumnName(String dataColumnName)
public void setTimestampColumnName(String timestampColumnName)
public void setTimestampColumnType(String timestampColumnType)
public void setConnectionFactoryClass(String connectionFactoryClass)
public ConnectionFactoryConfig getConnectionFactoryConfig()
public TableManipulation getTableManipulation()
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 void setIdColumnType(String idColumnType)
public void setDataColumnType(String dataColumnType)
public void setDropTableOnExit(boolean dropTableOnExit)
public void setCreateTableOnStart(boolean createTableOnStart)
public void setTableManipulation(TableManipulation tableManipulation)
public void setFetchSize(int fetchSize)
TableManipulation.getFetchSize()
public void setBatchSize(int batchSize)
TableManipulation.getBatchSize()
public int getFetchSize()
TableManipulation.getFetchSize()
public int getBatchSize()
TableManipulation.getBatchSize()
public JdbcStringBasedCacheStoreConfig clone()
clone
in interface CloneableConfigurationComponent
clone
in interface CacheLoaderConfig
clone
in class AbstractCacheStoreConfig
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |