org.infinispan.config
Interface FluentConfiguration.EvictionConfig
- All Known Implementing Classes:
- Configuration.EvictionType
- Enclosing class:
- FluentConfiguration
Deprecated.
@Deprecated
public static interface FluentConfiguration.EvictionConfig
Controls the eviction settings for the cache.
strategy
FluentConfiguration.EvictionConfig strategy(EvictionStrategy strategy)
- Deprecated.
- Eviction strategy. Available options are 'UNORDERED', 'FIFO', 'LRU', 'LIRS' and 'NONE' (to disable
eviction).
- Parameters:
strategy
-
threadPolicy
FluentConfiguration.EvictionConfig threadPolicy(EvictionThreadPolicy threadPolicy)
- Deprecated.
- Threading policy for eviction.
- Parameters:
threadPolicy
-
maxEntries
FluentConfiguration.EvictionConfig maxEntries(Integer maxEntries)
- Deprecated.
- Maximum number of entries in a cache instance. If selected value is not a power of two the
actual value will default to the least power of two larger than selected value. -1 means no
limit.
- Parameters:
maxEntries
-
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.