@Immutable public class SQLStoreConfiguration extends org.infinispan.configuration.cache.AbstractStoreConfiguration implements com.nimbusds.common.config.LoggableConfiguration
Example SQL store configuration:
sqlStore.recordTransformer = com.nimbusds.infinispan.persistence.sql.UserEntityTransformer sqlStore.sqlDialect = H2
| Modifier and Type | Field and Description |
|---|---|
String |
recordTransformer
The name of the class for transforming between Infinispan entries
(key / value pair and optional metadata) and a corresponding SQL
record.
|
org.jooq.SQLDialect |
sqlDialect
The SQL dialect.
|
| Constructor and Description |
|---|
SQLStoreConfiguration(boolean purgeOnStartup,
boolean fetchPersistentState,
boolean ignoreModifications,
org.infinispan.configuration.cache.AsyncStoreConfiguration async,
org.infinispan.configuration.cache.SingletonStoreConfiguration singletonStore,
boolean preload,
boolean shared,
Properties properties)
Creates a new SQL store configuration.
|
SQLStoreConfiguration(Properties properties)
Creates a new SQL store configuration from the specified properties.
|
| Modifier and Type | Method and Description |
|---|---|
void |
log() |
public final String recordTransformer
See SQLRecordTransformer.
Property key: sqlStore.recordTransformer
public final org.jooq.SQLDialect sqlDialect
Property key: sqlStore.sqlDialect
public SQLStoreConfiguration(Properties properties)
properties - The SQL store specific configuration properties.
Must not be null.public SQLStoreConfiguration(boolean purgeOnStartup, boolean fetchPersistentState, boolean ignoreModifications, org.infinispan.configuration.cache.AsyncStoreConfiguration async, org.infinispan.configuration.cache.SingletonStoreConfiguration singletonStore, boolean preload, boolean shared, Properties properties)
purgeOnStartup - If true the cache store will be
purged when it starts up.fetchPersistentState - If true the persistent state
be fetched when joining a cluster.ignoreModifications - If true any operation that
modifies the cache (put, remove, clear,
store...etc) won't be applied to the
cache store. This means that the cache
store could become out of sync with the
cache.async - Configuration for the async cache
loader.singletonStore - Configuration for a singleton store.preload - If true when the cache starts
data stored in the cache loader will be
pre-loaded into memory.shared - If true the cache store is
shared among all cache instances.properties - The SQL store specific configuration
properties. Must not be null.public void log()
log in interface com.nimbusds.common.config.LoggableConfigurationCopyright © 2016 Connect2id Ltd.. All Rights Reserved.