|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.configuration.cache.HashConfiguration
public class HashConfiguration
Allows fine-tuning of rehashing characteristics. Must only used with 'distributed' cache mode.
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
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()
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
--> | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |