org.infinispan.config
Class Configuration.L1Type

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

Deprecated.

@Deprecated
public static class Configuration.L1Type
extends AbstractNamedCacheConfigurationBean
implements FluentConfiguration.L1Config

This element configures the L1 cache behavior in 'distributed' caches instances. In any other cache modes, this element is ignored.

See Also:
Configuration reference, Serialized Form

Field Summary
 boolean activated
          Deprecated.  
protected  Boolean enabled
          Deprecated.  
protected  Long frequency
          Deprecated.  
protected  Integer invalidationThreshold
          Deprecated.  
protected  Long lifespan
          Deprecated.  
protected  Boolean onRehash
          Deprecated.  
 
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
cr
 
Fields inherited from class org.infinispan.config.AbstractConfigurationBean
overriddenConfigurationElements
 
Constructor Summary
Configuration.L1Type()
          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.L1Config cleanupTaskFrequency(Long frequencyMillis)
          Deprecated. Determines how often a cleanup thread runs to clean up an internal log of requestors for a specific key
 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.L1Config disable()
          Deprecated.  
 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.  
 Integer getInvalidationThreshold()
          Deprecated.  
 Long getL1InvalidationCleanupTaskFrequency()
          Deprecated.  
 Long getLifespan()
          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.L1Config invalidationThreshold(Integer threshold)
          Deprecated.  Determines whether a multicast or a web of unicasts are used when performing L1 invalidations.
 FluentConfiguration.InvocationBatchingConfig invocationBatching()
          Deprecated. This method allows configuration of invocation batching.
 FluentConfiguration.InvocationBatchingConfig invocationBatching()
          Deprecated. This method allows configuration of invocation batching.
 Boolean isEnabled()
          Deprecated.  
 Boolean isOnRehash()
          Deprecated.  
 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.L1Config lifespan(Long lifespan)
          Deprecated. Maximum lifespan of an entry placed in the L1 cache.
 FluentConfiguration.LoadersConfig loaders()
          Deprecated.  
 FluentConfiguration.LoadersConfig loaders()
          Deprecated.  
 FluentConfiguration.LockingConfig locking()
          Deprecated.  
 FluentConfiguration.LockingConfig locking()
          Deprecated.  
 FluentConfiguration.ClusteringConfig mode(Configuration.CacheMode mode)
          Deprecated.  
 FluentConfiguration.L1Config onRehash(Boolean onRehash)
          Deprecated. If true, entries removed due to a rehash will be moved to L1 rather than being removed altogether.
 FluentConfiguration.RecoveryConfig recovery()
          Deprecated.  
protected  org.infinispan.config.AbstractFluentConfigurationBean setConfiguration(Configuration config)
          Deprecated.  
 FluentConfiguration.L1Config setEnabled(Boolean enabled)
          Deprecated. The visibility of this will be reduced
 void setInvalidationThreshold(Integer threshold)
          Deprecated.  
 FluentConfiguration.L1Config setL1InvalidationCleanupTaskFrequency(long frequencyMillis)
          Deprecated. The visibility of this will be reduced, use #invalidationReaperThreadFrequency(Long)
 FluentConfiguration.L1Config setLifespan(Long lifespan)
          Deprecated. The visibility of this will be reduced, use lifespan(Long)
 FluentConfiguration.L1Config setOnRehash(Boolean onRehash)
          Deprecated. The visibility of this will be reduced, use onRehash(Boolean)
 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.  
 
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
 
Methods inherited from interface org.infinispan.config.FluentConfiguration.ClusteringConfig
async, hash, l1, mode, stateRetrieval, sync
 

Field Detail

enabled

protected Boolean enabled
Deprecated. 

lifespan

protected Long lifespan
Deprecated. 

onRehash

protected Boolean onRehash
Deprecated. 

invalidationThreshold

protected Integer invalidationThreshold
Deprecated. 

frequency

protected Long frequency
Deprecated. 

activated

public boolean activated
Deprecated. 
Constructor Detail

Configuration.L1Type

public Configuration.L1Type()
Deprecated. 
Method Detail

accept

public void accept(ConfigurationBeanVisitor v)
Deprecated. 

isEnabled

public Boolean isEnabled()
Deprecated. 

setEnabled

@Deprecated
public FluentConfiguration.L1Config setEnabled(Boolean enabled)
Deprecated. The visibility of this will be reduced


getLifespan

public Long getLifespan()
Deprecated. 

setLifespan

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


setL1InvalidationCleanupTaskFrequency

@Deprecated
public FluentConfiguration.L1Config setL1InvalidationCleanupTaskFrequency(long frequencyMillis)
Deprecated. The visibility of this will be reduced, use #invalidationReaperThreadFrequency(Long)


cleanupTaskFrequency

public FluentConfiguration.L1Config cleanupTaskFrequency(Long frequencyMillis)
Deprecated. 
Description copied from interface: FluentConfiguration.L1Config
Determines how often a cleanup thread runs to clean up an internal log of requestors for a specific key

Specified by:
cleanupTaskFrequency in interface FluentConfiguration.L1Config
Parameters:
frequencyMillis - frequency in milliseconds

getL1InvalidationCleanupTaskFrequency

public Long getL1InvalidationCleanupTaskFrequency()
Deprecated. 

lifespan

public FluentConfiguration.L1Config lifespan(Long lifespan)
Deprecated. 
Description copied from interface: FluentConfiguration.L1Config
Maximum lifespan of an entry placed in the L1 cache.

Specified by:
lifespan in interface FluentConfiguration.L1Config

isOnRehash

public Boolean isOnRehash()
Deprecated. 

setOnRehash

@Deprecated
public FluentConfiguration.L1Config setOnRehash(Boolean onRehash)
Deprecated. The visibility of this will be reduced, use onRehash(Boolean)


onRehash

public FluentConfiguration.L1Config onRehash(Boolean onRehash)
Deprecated. 
Description copied from interface: FluentConfiguration.L1Config
If true, entries removed due to a rehash will be moved to L1 rather than being removed altogether.

Specified by:
onRehash in interface FluentConfiguration.L1Config

invalidationThreshold

public FluentConfiguration.L1Config invalidationThreshold(Integer threshold)
Deprecated. 
Description copied from interface: FluentConfiguration.L1Config

Determines whether a multicast or a web of unicasts are used when performing L1 invalidations.

By default multicast will be used.

If the threshold is set to -1, then unicasts will always be used. If the threshold is set to 0, then multicast will be always be used.

Specified by:
invalidationThreshold in interface FluentConfiguration.L1Config
Parameters:
threshold - the threshold over which to use a multicast

setInvalidationThreshold

public void setInvalidationThreshold(Integer threshold)
Deprecated. 

getInvalidationThreshold

public Integer getInvalidationThreshold()
Deprecated. 

disable

public FluentConfiguration.L1Config disable()
Deprecated. 
Specified by:
disable in interface FluentConfiguration.L1Config

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. 

setConfiguration

protected org.infinispan.config.AbstractFluentConfigurationBean setConfiguration(Configuration config)
Deprecated. 

-->

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