|
||||||||||
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.loader.AbstractCacheStoreConfig
org.infinispan.loader.LockSupportCacheStoreConfig
org.infinispan.loader.jdbc.stringbased.JdbcStringBasedCacheStoreConfig
public class JdbcStringBasedCacheStoreConfig
Configuration for JdbcStringBasedCacheStore
cache store.
Key2StringMapper
,
Serialized FormField Summary |
---|
Fields inherited from class org.infinispan.loader.LockSupportCacheStoreConfig |
---|
DEFAULT_CONCURRENCY_LEVEL, DEFAULT_LOCK_ACQUISITION_TIMEOUT |
Fields inherited from class org.infinispan.loader.AbstractCacheStoreConfig |
---|
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 | |
---|---|
int |
getBatchSize()
|
ConnectionFactoryConfig |
getConnectionFactoryConfig()
|
int |
getFetchSize()
|
Key2StringMapper |
getKey2StringMapper()
|
TableManipulation |
getTableManipulation()
|
void |
setBatchSize(int batchSize)
|
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 |
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 |
setStringsTableName(String stringsTableName)
Sets the name of the table where 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 |
setUserName(String userName)
Database username. |
Methods inherited from class org.infinispan.loader.LockSupportCacheStoreConfig |
---|
getLockAcquistionTimeout, getLockConcurrencyLevel, setLockAcquistionTimeout, setLockConcurrencyLevel |
Methods inherited from class org.infinispan.config.PluggableConfigurationComponent |
---|
getProperties, setProperties, setProperties |
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean |
---|
hasComponentStarted |
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 |
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 setStringsTableName(String stringsTableName)
public void setIdColumnName(String idColumnName)
key2StringMapper.getStringMapping(storedEntry.getKey());Mandatory.
public void setDataColumnName(String dataColumnName)
public void setTimestampColumnName(String timestampColumnName)
public void setConnectionFactoryClass(String connectionFactoryClass)
public ConnectionFactoryConfig getConnectionFactoryConfig()
public TableManipulation getTableManipulation()
public void setConnectionUrl(String connectionUrl)
public void setUserName(String userName)
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |