此内容没有您所选择的语言版本。
15.2.3. JdbcStringBasedStore Multiple Node Configuration (Remote Client-Server Mode)
The following is a configuration for the
JdbcStringBasedStore in Red Hat JBoss Data Grid's Remote Client-Server mode. This configuration is used when multiple nodes must be used.
Procedure 15.6. JdbcStringBasedStore Multiple Node Configuration for Remote Client-Server Mode
The string-keyed-jdbc-store Element
Thestring-keyed-jdbc-storeelement specifies the configuration for a string based keyed cache JDBC store.- The
fetch-stateparameter determines whether or not to fetch the persistent state of a cache when joining a cluster. If multiple cache stores are chained, only one of them can have this property enabled. - 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
sharedparameter is used when multiple cache instances share a cache store. This parameter can be set to prevent multiple cache instances writing the same modification multiple times. Valid values for this parameter aretrueandfalse. - The
singletonparameter enables a singleton store cache store. SingletonStore is a delegating cache store used when only one instance in a cluster should interact with the underlying store.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The string-keyed-table Element
Thestring-keyed-tableelement specifies information about the database table used to store string based cache entries.- The
prefixparameter specifies a prefix string for the database table name.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The id-column Element
Theid-columnelement specifies information about a database column that holds cache entry IDs.- The
nameparameter specifies the name of the ID column. - The
typeparameter specifies the type of the ID column.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The data-column Element
Thedata-columnelement 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.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The timestamp-column Element
Thetimestamp-columnelement specifies information about the database column that holds cache entry timestamps.- The
nameparameter specifies the name of the timestamp column. - The
typeparameter specifies the type of the timestamp column.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow