public class HashConfiguration extends Object
Modifier and Type | Method and Description |
---|---|
ConsistentHash |
consistentHash()
The consistent hash in use.
|
boolean |
equals(Object o) |
GroupsConfiguration |
groups()
Configuration for various grouper definitions.
|
Hash |
hash()
The hash function in use.
|
int |
hashCode() |
int |
numOwners()
Number of cluster-wide replicas for each cache entry.
|
int |
numVirtualNodes()
Controls the number of virtual nodes per "real" node.
|
boolean |
rehashEnabled()
Deprecated.
Use
StateTransferConfiguration.fetchInMemoryState() instead. |
long |
rehashRpcTimeout()
Deprecated.
Use
StateTransferConfiguration.timeout() instead. |
long |
rehashWait()
Deprecated.
Use
StateTransferConfiguration.timeout() instead. |
String |
toString() |
public ConsistentHash consistentHash()
public Hash hash()
ConsistentHash
implementations shipped.public int numOwners()
public int numVirtualNodes()
Controls the number of virtual nodes per "real" node. You can read more about virtual nodes in Infinispan's online user guide.
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.
@Deprecated public boolean rehashEnabled()
StateTransferConfiguration.fetchInMemoryState()
instead.@Deprecated public long rehashRpcTimeout()
StateTransferConfiguration.timeout()
instead.@Deprecated public long rehashWait()
StateTransferConfiguration.timeout()
instead.public GroupsConfiguration groups()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.