org.infinispan.config
Interface FluentConfiguration.LockingConfig

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

Deprecated.

@Deprecated
public static interface FluentConfiguration.LockingConfig

Defines the local, in-VM locking and concurrency characteristics of the cache.


Method Summary
 Configuration build()
          Deprecated.  
 FluentConfiguration.ClusteringConfig clustering()
          Deprecated.  
 FluentConfiguration.LockingConfig concurrencyLevel(Integer concurrencyLevel)
          Deprecated. Concurrency level for lock containers.
 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.LockingConfig isolationLevel(IsolationLevel isolationLevel)
          Deprecated. Cache isolation level.
 FluentConfiguration.JmxStatisticsConfig jmxStatistics()
          Deprecated. This method allows configuration of jmx statistics.
 FluentConfiguration.LoadersConfig loaders()
          Deprecated.  
 FluentConfiguration.LockingConfig lockAcquisitionTimeout(Long lockAcquisitionTimeout)
          Deprecated. Maximum time to attempt a particular lock acquisition
 FluentConfiguration.LockingConfig locking()
          Deprecated.  
 FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
          Deprecated. This method allows configuration of lazy deserialization.
 FluentConfiguration.TransactionConfig transaction()
          Deprecated.  
 FluentConfiguration.UnsafeConfig unsafe()
          Deprecated.  
 FluentConfiguration.LockingConfig useLockStriping(Boolean useLockStriping)
          Deprecated. If true, a pool of shared locks is maintained for all entries that need to be locked.
 FluentConfiguration.VersioningConfig versioning()
          Deprecated.  
 FluentConfiguration.LockingConfig writeSkewCheck(Boolean writeSkewCheck)
          Deprecated. This setting is only applicable in the case of REPEATABLE_READ.
 

Method Detail

lockAcquisitionTimeout

FluentConfiguration.LockingConfig lockAcquisitionTimeout(Long lockAcquisitionTimeout)
Deprecated. 
Maximum time to attempt a particular lock acquisition

Parameters:
lockAcquisitionTimeout -

isolationLevel

FluentConfiguration.LockingConfig isolationLevel(IsolationLevel isolationLevel)
Deprecated. 
Cache isolation level. Infinispan only supports READ_COMMITTED or REPEATABLE_READ isolation levels. See http://en.wikipedia.org/wiki/Isolation_level for a discussion on isolation levels.

Parameters:
isolationLevel -

writeSkewCheck

FluentConfiguration.LockingConfig writeSkewCheck(Boolean writeSkewCheck)
Deprecated. 
This setting is only applicable in the case of REPEATABLE_READ. When write skew check is set to false, if the writer at commit time discovers that the working entry and the underlying entry have different versions, the working entry will overwrite the underlying entry. If true, such version conflict - known as a write-skew - will throw an Exception.

Parameters:
writeSkewCheck -

useLockStriping

FluentConfiguration.LockingConfig useLockStriping(Boolean useLockStriping)
Deprecated. 
If true, a pool of shared locks is maintained for all entries that need to be locked. Otherwise, a lock is created per entry in the cache. Lock striping helps control memory footprint but may reduce concurrency in the system.

Parameters:
useLockStriping -

concurrencyLevel

FluentConfiguration.LockingConfig concurrencyLevel(Integer concurrencyLevel)
Deprecated. 
Concurrency level for lock containers. Adjust this value according to the number of concurrent threads interacting with Infinispan. Similar to the concurrencyLevel tuning parameter seen in the JDK's ConcurrentHashMap.

Parameters:
concurrencyLevel -

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.