12.4.4.2. JdbcMixedCacheStore Configuration (Remote Client-Server Mode)
JdbcMixedCacheStore for JBoss Data Grid's Remote Client-Server mode with Passivation enabled.
The mixed-keyed-jdbc-store element specifies the configuration for a mixed keyed cache JDBC store.
- The
datasourceparameter defines the name of a JNDI for the datasource. - The
passivationparameter determines whether entries in the cache are passivated (true) or if the cache store retains a copy of the contents in memory (false). - The
preloadparameter specifies whether to load entries into the cache during start up. Valid values for this parameter aretrueandfalse. - The
purgeparameter specifies whether or not the cache store is purged when it is started. Valid values for this parameter aretrueandfalse.
The property element contains information about properties related to the cache store.
- The
nameparameter specifies the name of the cache store. - The value ${database.type} must be replaced by a valid database type value, such as
DB2_390,SQL_SERVER,MYSQL,ORACLE,POSTGRESorSYBASE.
The mixed-keyed-table element specifies information about the database table used to store mixed cache entries.
- The
prefixparameter specifies a prefix string for the database table name.
The string-keyed-table element specifies information about the database table used to store string based cache entries.
- The
prefixparameter specifies a prefix string for the database table name.
The id-column element specifies information about a database column that holds cache entry IDs.
- The
nameparameter specifies the name of the database column. - The
typeparameter specifies the type of the database column.
The data-column element contains information about a database column that holds cache entry data.
- The
nameparameter specifies the name of the database column. - The
typeparameter specifies the type of the database column.
The timestamp-column element specifies information about the database column that holds cache entry timestamps.
- The
nameparameter specifies the name of the database column. - The
typeparameter specifies the type of the database column.