org.infinispan.config
Class Configuration.HashType
java.lang.Object
org.infinispan.config.AbstractConfigurationBean
org.infinispan.config.AbstractNamedCacheConfigurationBean
org.infinispan.config.Configuration.HashType
- All Implemented Interfaces:
- Serializable, Cloneable, CloneableConfigurationComponent, JAXBUnmarshallable
- Enclosing class:
- Configuration
public static class Configuration.HashType
- extends AbstractNamedCacheConfigurationBean
Allows fine-tuning of rehashing characteristics. Only used with 'distributed' cache mode, and otherwise ignored.
- See Also:
- Configuration reference,
Serialized Form
consistentHashClass
protected String consistentHashClass
hashFunctionClass
protected String hashFunctionClass
numOwners
protected Integer numOwners
rehashWait
protected Long rehashWait
rehashRpcTimeout
protected Long rehashRpcTimeout
rehashEnabled
protected Boolean rehashEnabled
Configuration.HashType
public Configuration.HashType()
setConsistentHashClass
public void setConsistentHashClass(String consistentHashClass)
setHashFunctionClass
public void setHashFunctionClass(String hashFunctionClass)
accept
public void accept(ConfigurationBeanVisitor v)
setNumOwners
public void setNumOwners(Integer numOwners)
setRehashWait
public void setRehashWait(Long rehashWaitTime)
setRehashRpcTimeout
public void setRehashRpcTimeout(Long rehashRpcTimeout)
setRehashEnabled
public void setRehashEnabled(Boolean rehashEnabled)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.