org.infinispan.config
Interface FluentConfiguration.LoadersConfig

All Known Implementing Classes:
CacheLoaderManagerConfig
Enclosing class:
FluentConfiguration

Deprecated.

@Deprecated
public static interface FluentConfiguration.LoadersConfig

Holds the configuration for cache loaders and stores.


Method Summary
 FluentConfiguration.LoadersConfig addCacheLoader(CacheLoaderConfig... configs)
          Deprecated.  
 Configuration build()
          Deprecated.  
 FluentConfiguration.ClusteringConfig clustering()
          Deprecated.  
 FluentConfiguration.CustomInterceptorsConfig customInterceptors()
          Deprecated.  
 FluentConfiguration.DataContainerConfig dataContainer()
          Deprecated.  
 FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
          Deprecated. This method allows configuration of the deadlock detection.
 FluentConfiguration.EvictionConfig eviction()
          Deprecated.  
 FluentConfiguration.ExpirationConfig expiration()
          Deprecated.  
 FluentConfiguration.IndexingConfig indexing()
          Deprecated. This method allows configuration of the indexing subsystem.
 FluentConfiguration.InvocationBatchingConfig invocationBatching()
          Deprecated. This method allows configuration of invocation batching.
 FluentConfiguration.JmxStatisticsConfig jmxStatistics()
          Deprecated. This method allows configuration of jmx statistics.
 FluentConfiguration.LoadersConfig loaders()
          Deprecated.  
 FluentConfiguration.LockingConfig locking()
          Deprecated.  
 FluentConfiguration.LoadersConfig passivation(Boolean passivation)
          Deprecated. If true, data is only written to the cache store when it is evicted from memory, a phenomenon known as 'passivation'.
 FluentConfiguration.LoadersConfig preload(Boolean preload)
          Deprecated. If true, when the cache starts, data stored in the cache store will be pre-loaded into memory.
 FluentConfiguration.LoadersConfig shared(Boolean shared)
          Deprecated. This setting should be set to true when multiple cache instances share the same cache store (e.g., multiple nodes in a cluster using a JDBC-based CacheStore pointing to the same, shared database.) Setting this to true avoids multiple cache instances writing the same modification multiple times.
 FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
          Deprecated. This method allows configuration of lazy deserialization.
 FluentConfiguration.TransactionConfig transaction()
          Deprecated.  
 FluentConfiguration.UnsafeConfig unsafe()
          Deprecated.  
 FluentConfiguration.VersioningConfig versioning()
          Deprecated.  
 

Method Detail

preload

FluentConfiguration.LoadersConfig preload(Boolean preload)
Deprecated. 
If true, when the cache starts, data stored in the cache store will be pre-loaded into memory. This is particularly useful when data in the cache store will be needed immediately after startup and you want to avoid cache operations being delayed as a result of loading this data lazily. Can be used to provide a 'warm-cache' on startup, however there is a performance penalty as startup time is affected by this process.

Parameters:
preload -

passivation

FluentConfiguration.LoadersConfig passivation(Boolean passivation)
Deprecated. 
If true, data is only written to the cache store when it is evicted from memory, a phenomenon known as 'passivation'. Next time the data is requested, it will be 'activated' which means that data will be brought back to memory and removed from the persistent store. This gives you the ability to 'overflow' to disk, similar to swapping in an operating system.

If false, the cache store contains a copy of the contents in memory, so writes to cache result in cache store writes. This essentially gives you a 'write-through' configuration.

Parameters:
passivation -

shared

FluentConfiguration.LoadersConfig shared(Boolean shared)
Deprecated. 
This setting should be set to true when multiple cache instances share the same cache store (e.g., multiple nodes in a cluster using a JDBC-based CacheStore pointing to the same, shared database.) Setting this to true avoids multiple cache instances writing the same modification multiple times. If enabled, only the node where the modification originated will write to the cache store.

If disabled, each individual cache reacts to a potential remote update by storing the data to the cache store. Note that this could be useful if each individual node has its own cache store - perhaps local on-disk.

Parameters:
shared -

addCacheLoader

FluentConfiguration.LoadersConfig addCacheLoader(CacheLoaderConfig... configs)
Deprecated. 

locking

FluentConfiguration.LockingConfig locking()
Deprecated. 

loaders

FluentConfiguration.LoadersConfig loaders()
Deprecated. 

transaction

FluentConfiguration.TransactionConfig transaction()
Deprecated. 

deadlockDetection

FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
Deprecated. 
This method allows configuration of the deadlock detection. When this method is called, it automatically enables deadlock detection. So, if you want it to be disabled, make sure you call FluentConfiguration.DeadlockDetectionConfig.disable()


customInterceptors

FluentConfiguration.CustomInterceptorsConfig customInterceptors()
Deprecated. 

eviction

FluentConfiguration.EvictionConfig eviction()
Deprecated. 

expiration

FluentConfiguration.ExpirationConfig expiration()
Deprecated. 

clustering

FluentConfiguration.ClusteringConfig clustering()
Deprecated. 

indexing

FluentConfiguration.IndexingConfig indexing()
Deprecated. 
This method allows configuration of the indexing subsystem. When this method is called, it automatically enables indexing. So, if you want it to be disabled, make sure you call FluentConfiguration.IndexingConfig.disable()


dataContainer

FluentConfiguration.DataContainerConfig dataContainer()
Deprecated. 

unsafe

FluentConfiguration.UnsafeConfig unsafe()
Deprecated. 

jmxStatistics

FluentConfiguration.JmxStatisticsConfig jmxStatistics()
Deprecated. 
This method allows configuration of jmx statistics. When this method is called, it automatically enables jmx statistics.


storeAsBinary

FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
Deprecated. 
This method allows configuration of lazy deserialization. When this method is called, it automatically enables lazy deserialization.


invocationBatching

FluentConfiguration.InvocationBatchingConfig invocationBatching()
Deprecated. 
This method allows configuration of invocation batching. When this method is called, it automatically enables invocation batching.


versioning

FluentConfiguration.VersioningConfig versioning()
Deprecated. 

build

Configuration build()
Deprecated. 

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.