org.infinispan.config
Interface FluentConfiguration.ExpirationConfig

All Known Implementing Classes:
Configuration.ExpirationType
Enclosing class:
FluentConfiguration

Deprecated.

@Deprecated
public static interface FluentConfiguration.ExpirationConfig

Controls the default expiration settings for entries in the cache.


Method Summary
 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.ExpirationConfig lifespan(Long lifespan)
          Deprecated. Maximum lifespan of a cache entry, after which the entry is expired cluster-wide, in milliseconds.
 FluentConfiguration.LoadersConfig loaders()
          Deprecated.  
 FluentConfiguration.LockingConfig locking()
          Deprecated.  
 FluentConfiguration.ExpirationConfig maxIdle(Long maxIdle)
          Deprecated. Maximum idle time a cache entry will be maintained in the cache, in milliseconds.
 FluentConfiguration.ExpirationConfig reaperEnabled(Boolean enabled)
          Deprecated. Sets whether the background reaper thread is enabled to test entries for expiration.
 FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
          Deprecated. This method allows configuration of lazy deserialization.
 FluentConfiguration.TransactionConfig transaction()
          Deprecated.  
 FluentConfiguration.UnsafeConfig unsafe()
          Deprecated.  
 FluentConfiguration.VersioningConfig versioning()
          Deprecated.  
 FluentConfiguration.ExpirationConfig wakeUpInterval(Long wakeUpInterval)
          Deprecated. Interval (in milliseconds) between subsequent runs to purge expired entries from memory and any cache stores.
 

Method Detail

lifespan

FluentConfiguration.ExpirationConfig lifespan(Long lifespan)
Deprecated. 
Maximum lifespan of a cache entry, after which the entry is expired cluster-wide, in milliseconds. -1 means the entries never expire. Note that this can be overridden on a per-entry basis by using the Cache API.

Parameters:
lifespan -

maxIdle

FluentConfiguration.ExpirationConfig maxIdle(Long maxIdle)
Deprecated. 
Maximum idle time a cache entry will be maintained in the cache, in milliseconds. If the idle time is exceeded, the entry will be expired cluster-wide. -1 means the entries never expire. Note that this can be overridden on a per-entry basis by using the Cache API.

Parameters:
maxIdle -

wakeUpInterval

FluentConfiguration.ExpirationConfig wakeUpInterval(Long wakeUpInterval)
Deprecated. 
Interval (in milliseconds) between subsequent runs to purge expired entries from memory and any cache stores. If you wish to disable the periodic eviction process altogether, set wakeupInterval to -1.

Parameters:
wakeUpInterval -

reaperEnabled

FluentConfiguration.ExpirationConfig reaperEnabled(Boolean enabled)
Deprecated. 
Sets whether the background reaper thread is enabled to test entries for expiration. Regardless of whether a reaper is used, entries are tested for expiration lazily when they are touched.

Parameters:
enabled - whether a reaper thread is used or not

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.