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. Fully qualified name of class providing consistent hash algorithm
 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. Controls the number of virtual nodes per "real" node.
 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. Rehashing timeout
 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

FluentConfiguration.HashConfig consistentHashClass(Class<? extends ConsistentHash> consistentHashClass)
Deprecated. 
Fully qualified name of class providing consistent hash algorithm

Parameters:
consistentHashClass -

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. 
Rehashing timeout

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. 
Controls the number of virtual nodes per "real" node. You can read more about virtual nodes at ... If numVirtualNodes is 1, then virtual nodes are disabled. The topology aware consistent hash must be used if you wish to take advnatage of virtual nodes. A default of 1 is used.

Parameters:
numVirtualNodes - the number of virtual nodes. Must be >0.
Throws:
IllegalArgumentException - if numVirtualNodes <0

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 © 2012 JBoss, a division of Red Hat. All Rights Reserved.