org.infinispan.config
Interface FluentConfiguration.HashConfig

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

Deprecated.

@Deprecated
public static interface FluentConfiguration.HashConfig

Allows fine-tuning of rehashing characteristics. Only used with 'distributed' cache mode, and otherwise ignored.


Method Summary
 Configuration build()
          Deprecated.  
 FluentConfiguration.ClusteringConfig clustering()
          Deprecated.  
 FluentConfiguration.HashConfig consistentHashClass(Class<? extends ConsistentHash> consistentHashClass)
          Deprecated. No longer used since 5.2, use HashConfigurationBuilder.consistentHashFactory(org.infinispan.distribution.ch.ConsistentHashFactory) instead.
 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.GroupsConfig groups()
          Deprecated.  
 FluentConfiguration.HashConfig hashFunctionClass(Class<? extends Hash> hashFunctionClass)
          Deprecated. A fully qualified name of the class providing a hash function, used as a bit spreader and a general hash code generator.
 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.LoadersConfig loaders()
          Deprecated.  
 FluentConfiguration.LockingConfig locking()
          Deprecated.  
 FluentConfiguration.HashConfig numOwners(Integer numOwners)
          Deprecated. Number of cluster-wide replicas for each cache entry.
 FluentConfiguration.HashConfig numVirtualNodes(Integer numVirtualNodes)
          Deprecated. No longer used since 5.2, use HashConfigurationBuilder.numSegments(int) instead.
 FluentConfiguration.HashConfig rehashEnabled(Boolean rehashEnabled)
          Deprecated. If false, no rebalancing or rehashing will take place when a new node joins the cluster or a node leaves
 FluentConfiguration.HashConfig rehashRpcTimeout(Long rehashRpcTimeout)
          Deprecated.  
 FluentConfiguration.HashConfig rehashWait(Long rehashWaitTime)
          Deprecated.  
 FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
          Deprecated. This method allows configuration of lazy deserialization.
 FluentConfiguration.TransactionConfig transaction()
          Deprecated.  
 FluentConfiguration.UnsafeConfig unsafe()
          Deprecated.  
 FluentConfiguration.VersioningConfig versioning()
          Deprecated.  
 

Method Detail

consistentHashClass

@Deprecated
FluentConfiguration.HashConfig consistentHashClass(Class<? extends ConsistentHash> consistentHashClass)
Deprecated. No longer used since 5.2, use HashConfigurationBuilder.consistentHashFactory(org.infinispan.distribution.ch.ConsistentHashFactory) instead.


hashFunctionClass

FluentConfiguration.HashConfig hashFunctionClass(Class<? extends Hash> hashFunctionClass)
Deprecated. 
A fully qualified name of the class providing a hash function, used as a bit spreader and a general hash code generator. Typically used in conjunction with the many default ConsistentHash implementations shipped.

Parameters:
hashFunctionClass -

numOwners

FluentConfiguration.HashConfig numOwners(Integer numOwners)
Deprecated. 
Number of cluster-wide replicas for each cache entry.

Parameters:
numOwners -

rehashWait

FluentConfiguration.HashConfig rehashWait(Long rehashWaitTime)
Deprecated. 

rehashRpcTimeout

FluentConfiguration.HashConfig rehashRpcTimeout(Long rehashRpcTimeout)
Deprecated. 
Parameters:
rehashRpcTimeout -

rehashEnabled

FluentConfiguration.HashConfig rehashEnabled(Boolean rehashEnabled)
Deprecated. 
If false, no rebalancing or rehashing will take place when a new node joins the cluster or a node leaves

Parameters:
rehashEnabled -

numVirtualNodes

FluentConfiguration.HashConfig numVirtualNodes(Integer numVirtualNodes)
Deprecated. No longer used since 5.2, use HashConfigurationBuilder.numSegments(int) instead.


groups

FluentConfiguration.GroupsConfig groups()
Deprecated. 

build

Configuration build()
Deprecated. 

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. 

-->

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