|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Configuration.HashConfig
Allows fine-tuning of rehashing characteristics. Only used with 'distributed' cache mode, and otherwise ignored.
Method Summary | |
---|---|
Configuration.HashConfig |
consistentHashClass(String consistentHashClass)
Fully qualified name of class providing consistent hash algorithm |
Configuration.HashConfig |
hashFunctionClass(String hashFunctionClass)
A fully qualified name of the class providing a hash function, used as a bit spreader and a general hash code generator. |
Configuration.HashConfig |
numOwners(Integer numOwners)
Number of cluster-wide replicas for each cache entry. |
Configuration.HashConfig |
rehashEnabled(Boolean rehashEnabled)
If false, no rebalancing or rehashing will take place when a new node joins the cluster or a node leaves |
Configuration.HashConfig |
rehashRpcTimeout(Long rehashRpcTimeout)
Rehashing timeout |
Configuration.HashConfig |
rehashWait(Long rehashWaitTime)
|
Method Detail |
---|
Configuration.HashConfig consistentHashClass(String consistentHashClass)
consistentHashClass
- Configuration.HashConfig hashFunctionClass(String hashFunctionClass)
ConsistentHash
implementations shipped.
hashFunctionClass
- Configuration.HashConfig numOwners(Integer numOwners)
numOwners
- Configuration.HashConfig rehashWait(Long rehashWaitTime)
Configuration.HashConfig rehashRpcTimeout(Long rehashRpcTimeout)
rehashRpcTimeout
- Configuration.HashConfig rehashEnabled(Boolean rehashEnabled)
rehashEnabled
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |