org.infinispan.config
Class Configuration.ExpirationType

java.lang.Object
  extended by org.infinispan.config.AbstractConfigurationBean
      extended by org.infinispan.config.AbstractNamedCacheConfigurationBean
          extended by org.infinispan.config.Configuration.ExpirationType
All Implemented Interfaces:
Serializable, Cloneable, CloneableConfigurationComponent, FluentConfiguration.ExpirationConfig, JAXBUnmarshallable
Enclosing class:
Configuration

Deprecated.

@Deprecated
public static class Configuration.ExpirationType
extends AbstractNamedCacheConfigurationBean
implements FluentConfiguration.ExpirationConfig

This element controls the default expiration settings for entries in the cache.

See Also:
Configuration reference, Serialized Form

Field Summary
protected  Long lifespan
          Deprecated.  
protected  Long maxIdle
          Deprecated.  
protected  Boolean reaperEnabled
          Deprecated.  
protected  Long wakeUpInterval
          Deprecated.  
 
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
cr
 
Fields inherited from class org.infinispan.config.AbstractConfigurationBean
overriddenConfigurationElements
 
Constructor Summary
Configuration.ExpirationType()
          Deprecated.  
 
Method Summary
 void accept(ConfigurationBeanVisitor v)
          Deprecated.  
 FluentConfiguration.AsyncConfig async()
          Deprecated.  
 Configuration build()
          Deprecated.  
 Configuration build()
          Deprecated.  
 FluentConfiguration.TransactionConfig cacheStopTimeout(Integer cacheStopTimeout)
          Deprecated.  
 FluentConfiguration.ClusteringConfig clustering()
          Deprecated.  
 FluentConfiguration.ClusteringConfig clustering()
          Deprecated.  
 FluentConfiguration.CustomInterceptorsConfig customInterceptors()
          Deprecated.  
 FluentConfiguration.CustomInterceptorsConfig customInterceptors()
          Deprecated.  
 FluentConfiguration.DataContainerConfig dataContainer()
          Deprecated.  
 FluentConfiguration.DataContainerConfig dataContainer()
          Deprecated.  
 FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
          Deprecated. This method allows configuration of the deadlock detection.
 FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
          Deprecated. This method allows configuration of the deadlock detection.
 FluentConfiguration.TransactionConfig eagerLockSingleNode(Boolean eagerLockSingleNode)
          Deprecated.  
 boolean equals(Object o)
          Deprecated.  
 FluentConfiguration.EvictionConfig eviction()
          Deprecated.  
 FluentConfiguration.EvictionConfig eviction()
          Deprecated.  
 FluentConfiguration.ExpirationConfig expiration()
          Deprecated.  
 FluentConfiguration.ExpirationConfig expiration()
          Deprecated.  
 Long getLifespan()
          Deprecated.  
 Long getMaxIdle()
          Deprecated.  
 Long getWakeUpInterval()
          Deprecated.  
 FluentConfiguration.HashConfig hash()
          Deprecated.  
 int hashCode()
          Deprecated.  
 FluentConfiguration.IndexingConfig indexing()
          Deprecated. This method allows configuration of the indexing subsystem.
 FluentConfiguration.IndexingConfig indexing()
          Deprecated. This method allows configuration of the indexing subsystem.
 FluentConfiguration.InvocationBatchingConfig invocationBatching()
          Deprecated. This method allows configuration of invocation batching.
 FluentConfiguration.InvocationBatchingConfig invocationBatching()
          Deprecated. This method allows configuration of invocation batching.
 FluentConfiguration.JmxStatisticsConfig jmxStatistics()
          Deprecated. This method allows configuration of jmx statistics.
 FluentConfiguration.JmxStatisticsConfig jmxStatistics()
          Deprecated. This method allows configuration of jmx statistics.
 FluentConfiguration.L1Config l1()
          Deprecated.  
 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.LoadersConfig loaders()
          Deprecated.  
 FluentConfiguration.LockingConfig locking()
          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.ClusteringConfig mode(Configuration.CacheMode mode)
          Deprecated.  
 FluentConfiguration.ExpirationConfig reaperEnabled(Boolean enabled)
          Deprecated. Sets whether the background reaper thread is enabled to test entries for expiration.
 FluentConfiguration.RecoveryConfig recovery()
          Deprecated.  
protected  Configuration.ExpirationType setConfiguration(Configuration config)
          Deprecated.  
 void setLifespan(Long lifespan)
          Deprecated. The visibility of this will be reduced, use lifespan(Long)
 void setMaxIdle(Long maxIdle)
          Deprecated. The visibility of this will be reduced, use maxIdle(Long)
 FluentConfiguration.StateRetrievalConfig stateRetrieval()
          Deprecated.  
 FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
          Deprecated. This method allows configuration of lazy deserialization.
 FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
          Deprecated. This method allows configuration of lazy deserialization.
 FluentConfiguration.SyncConfig sync()
          Deprecated.  
 FluentConfiguration.TransactionConfig syncCommitPhase(Boolean syncCommitPhase)
          Deprecated.  
 FluentConfiguration.TransactionConfig syncRollbackPhase(Boolean syncRollbackPhase)
          Deprecated.  
 FluentConfiguration.TransactionConfig transaction()
          Deprecated.  
 FluentConfiguration.TransactionConfig transaction()
          Deprecated.  
 FluentConfiguration.TransactionConfig transactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
          Deprecated.  
 FluentConfiguration.TransactionConfig transactionManagerLookupClass(Class<? extends TransactionManagerLookup> transactionManagerLookupClass)
          Deprecated.  
 FluentConfiguration.TransactionConfig transactionSynchronizationRegistryLookup(TransactionSynchronizationRegistryLookup transactionSynchronizationRegistryLookup)
          Deprecated.  
 FluentConfiguration.UnsafeConfig unsafe()
          Deprecated.  
 FluentConfiguration.UnsafeConfig unsafe()
          Deprecated.  
 FluentConfiguration.TransactionConfig useEagerLocking(Boolean useEagerLocking)
          Deprecated.  
 FluentConfiguration.TransactionConfig useSynchronization(Boolean useSynchronization)
          Deprecated.  
 FluentConfiguration.VersioningConfig versioning()
          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.
 
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
clone, hasComponentStarted, inject
 
Methods inherited from class org.infinispan.config.AbstractConfigurationBean
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lifespan

protected Long lifespan
Deprecated. 

maxIdle

protected Long maxIdle
Deprecated. 

wakeUpInterval

protected Long wakeUpInterval
Deprecated. 

reaperEnabled

protected Boolean reaperEnabled
Deprecated. 
Constructor Detail

Configuration.ExpirationType

public Configuration.ExpirationType()
Deprecated. 
Method Detail

accept

public void accept(ConfigurationBeanVisitor v)
Deprecated. 

getLifespan

public Long getLifespan()
Deprecated. 

setLifespan

@Deprecated
public void setLifespan(Long lifespan)
Deprecated. The visibility of this will be reduced, use lifespan(Long)


lifespan

public FluentConfiguration.ExpirationConfig lifespan(Long lifespan)
Deprecated. 
Description copied from interface: FluentConfiguration.ExpirationConfig
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.

Specified by:
lifespan in interface FluentConfiguration.ExpirationConfig

getMaxIdle

public Long getMaxIdle()
Deprecated. 

setMaxIdle

@Deprecated
public void setMaxIdle(Long maxIdle)
Deprecated. The visibility of this will be reduced, use maxIdle(Long)


maxIdle

public FluentConfiguration.ExpirationConfig maxIdle(Long maxIdle)
Deprecated. 
Description copied from interface: FluentConfiguration.ExpirationConfig
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.

Specified by:
maxIdle in interface FluentConfiguration.ExpirationConfig

wakeUpInterval

public FluentConfiguration.ExpirationConfig wakeUpInterval(Long wakeUpInterval)
Deprecated. 
Description copied from interface: FluentConfiguration.ExpirationConfig
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.

Specified by:
wakeUpInterval in interface FluentConfiguration.ExpirationConfig

getWakeUpInterval

public Long getWakeUpInterval()
Deprecated. 

reaperEnabled

public FluentConfiguration.ExpirationConfig reaperEnabled(Boolean enabled)
Deprecated. 
Description copied from interface: FluentConfiguration.ExpirationConfig
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.

Specified by:
reaperEnabled in interface FluentConfiguration.ExpirationConfig
Parameters:
enabled - whether a reaper thread is used or not

setConfiguration

protected Configuration.ExpirationType setConfiguration(Configuration config)
Deprecated. 

equals

public boolean equals(Object o)
Deprecated. 
Overrides:
equals in class Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class Object

locking

public FluentConfiguration.LockingConfig locking()
Deprecated. 

loaders

public FluentConfiguration.LoadersConfig loaders()
Deprecated. 

transaction

public FluentConfiguration.TransactionConfig transaction()
Deprecated. 

deadlockDetection

public 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

public FluentConfiguration.CustomInterceptorsConfig customInterceptors()
Deprecated. 

eviction

public FluentConfiguration.EvictionConfig eviction()
Deprecated. 

expiration

public FluentConfiguration.ExpirationConfig expiration()
Deprecated. 

clustering

public FluentConfiguration.ClusteringConfig clustering()
Deprecated. 

indexing

public 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

public FluentConfiguration.DataContainerConfig dataContainer()
Deprecated. 

unsafe

public FluentConfiguration.UnsafeConfig unsafe()
Deprecated. 

jmxStatistics

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


storeAsBinary

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


invocationBatching

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


versioning

public FluentConfiguration.VersioningConfig versioning()
Deprecated. 

build

public Configuration build()
Deprecated. 

locking

public FluentConfiguration.LockingConfig locking()
Deprecated. 

loaders

public FluentConfiguration.LoadersConfig loaders()
Deprecated. 

transaction

public FluentConfiguration.TransactionConfig transaction()
Deprecated. 

deadlockDetection

public 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

public FluentConfiguration.CustomInterceptorsConfig customInterceptors()
Deprecated. 

eviction

public FluentConfiguration.EvictionConfig eviction()
Deprecated. 

expiration

public FluentConfiguration.ExpirationConfig expiration()
Deprecated. 

clustering

public FluentConfiguration.ClusteringConfig clustering()
Deprecated. 

indexing

public 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

public FluentConfiguration.DataContainerConfig dataContainer()
Deprecated. 

unsafe

public FluentConfiguration.UnsafeConfig unsafe()
Deprecated. 

jmxStatistics

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


storeAsBinary

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


versioning

public FluentConfiguration.VersioningConfig versioning()
Deprecated. 

invocationBatching

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


async

public FluentConfiguration.AsyncConfig async()
Deprecated. 

sync

public FluentConfiguration.SyncConfig sync()
Deprecated. 

stateRetrieval

public FluentConfiguration.StateRetrievalConfig stateRetrieval()
Deprecated. 

l1

public FluentConfiguration.L1Config l1()
Deprecated. 

hash

public FluentConfiguration.HashConfig hash()
Deprecated. 

mode

public FluentConfiguration.ClusteringConfig mode(Configuration.CacheMode mode)
Deprecated. 

transactionManagerLookupClass

public FluentConfiguration.TransactionConfig transactionManagerLookupClass(Class<? extends TransactionManagerLookup> transactionManagerLookupClass)
Deprecated. 

transactionManagerLookup

public FluentConfiguration.TransactionConfig transactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
Deprecated. 

transactionSynchronizationRegistryLookup

public FluentConfiguration.TransactionConfig transactionSynchronizationRegistryLookup(TransactionSynchronizationRegistryLookup transactionSynchronizationRegistryLookup)
Deprecated. 

syncCommitPhase

public FluentConfiguration.TransactionConfig syncCommitPhase(Boolean syncCommitPhase)
Deprecated. 

syncRollbackPhase

public FluentConfiguration.TransactionConfig syncRollbackPhase(Boolean syncRollbackPhase)
Deprecated. 

useEagerLocking

public FluentConfiguration.TransactionConfig useEagerLocking(Boolean useEagerLocking)
Deprecated. 

eagerLockSingleNode

public FluentConfiguration.TransactionConfig eagerLockSingleNode(Boolean eagerLockSingleNode)
Deprecated. 

cacheStopTimeout

public FluentConfiguration.TransactionConfig cacheStopTimeout(Integer cacheStopTimeout)
Deprecated. 

useSynchronization

public FluentConfiguration.TransactionConfig useSynchronization(Boolean useSynchronization)
Deprecated. 

recovery

public FluentConfiguration.RecoveryConfig recovery()
Deprecated. 

build

public Configuration build()
Deprecated. 

-->

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