Property Name | Type | Description |
cache Configuration | EHCache CacheConfiguration bean, shared by all caches (Tables). Typically used as a compound bean name, for example, cacheConfiguration. overflowToOffHeap. | |
cacheDecorator Factory | String | Name of a class to use as a cacheDecoratorFactory. The named class must be on the classpath and must implement EHCache's CacheDecoratorFactory interface. |
cacheDecorator FactoryProperties | Properties | Properties to pass to a cacheDecoratorFactory. Allows use of the same class for many caches. |
clusterName | String | Comma-separated list of host:port identifiers for the servers, or a tc-config.xml file name. Best practice is to list all Terracotta Server Array (TSA) nodes. |
configuration | EHCache Configuration bean. Typically used as a compound bean name, for example, configuration.monitoring. | |
maxMBLocal OffHeap | long | Number of MB of local off-heap data. Total across all tables, per correlator process. |
pinning | String | Either an attribute value of "inCache" (default) or "localMemory" or a <null/> XML element (i.e.<property name="pinning"><null/></property>.) Pinning prevents eviction if the cache size exceeds the configured maximum size. Recommended if the cache is being used as a system of record |
terracotta Configuration | EHCache TerracottaConfiguration bean. Typically used as a compound bean name, for example, terracottaConfiguration. consistency. | |
ehcache ConfigFile | String | Path to an ehcache.xml configuration file. Note that if this is specified, any other properties listed in this table will be ignored. |
Property Name | Type | Description |
backupCopies | int | Ignored. Not supported. The number of backups is governed by the TSA topology defined in tc-config.xml used to configure the TSA nodes. |
initialMin ClusterSize | int | The minimum cluster size (number of correlators) that must be connected for prepare to finish. |
logLevel | String | The log level. |
rowChangedOld ValueRequired | boolean | Whether to expose old values in rowChanged events. Must be set to false. |
useCompare AndSwap | boolean | Whether to use compare and swap (CaS) operations or just put/remove. Some versions of BigMemory Max support only CaS in Strong consistency. |
useCompare AndSwapMap | Map(String, Boolean) | Per-table (cache) configuration for whether to use CaS or put/remove. |
Property Name | Type | Notes |
cacheConfiguration. eternal | boolean | Disables expiration (removing old, unused values) of entries if true. Set to true in the default spring.xml configuration file. |
cacheConfiguration. maxEntriesLocalHeap | int | The number of entries for each table. This is the maxEntriesLocalHeap entry in the .properties file. |
cacheConfiguration. overflowToOffHeap | boolean | Whether to use off-heap storage. For scenarios where data is fast changing and being written from multiple correlators, the cache may perform better if this is disabled. This is the cacheConfiguration.overflowToOffHeap entry in the .properties file. |
pinning | String | Set to inCache by default. |
terracotta Configuration. localCacheEnabled | boolean | Whether to cache entries in the correlator process. Set to true in the default spring.xml configuration file. |
terracotta Configuration. clustered | boolean | Whether to use a TSA. Set to true in the default spring.xml configuration file. |
terracotta Configuration. consistency | String | Either 'STRONG' or 'EVENTUAL'. STRONG gives MemoryStore-like guarantees, while EVENTUAL is faster but may have stale values read. This is the terracottaConfiguration.consistency entry in the .properties file. |
terracotta Configuration. synchronousWrites | boolean | If true, then data is guaranteed to be out of process by the time a Row.commit() action completes. Disabling this can increase speed. This is the terracottaConfiguration.synchronousWrites entry in the .properties file. |
MemoryStore Event Object | BigMemory Max Class |
Store | CacheManager |
Table | Cache |
Row | Element |