| Package | Description |
|---|---|
| org.infinispan.client.hotrod.impl.consistenthash | |
| org.infinispan.commons.hash |
Commons Hash package
|
| org.infinispan.commons.util |
Commons package providing various utility classes
|
| org.infinispan.distribution.ch |
Consistent Hash interfaces
|
| org.infinispan.distribution.ch.impl |
| Modifier and Type | Field and Description |
|---|---|
protected Hash |
ConsistentHashV2.hash |
| Modifier and Type | Method and Description |
|---|---|
void |
ConsistentHashV2.setHash(Hash hash) |
| Modifier and Type | Class and Description |
|---|---|
class |
MurmurHash3
MurmurHash3 implementation in Java, based on Austin Appleby's original in C
Only implementing x64 version, because this should always be faster on 64 bit
native processors, even 64 bit being ran with a 32 bit OS; this should also
be as fast or faster than the x86 version on some modern 32 bit processors.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
Util.getNormalizedHash(Object object,
Hash hashFct)
Applies the given hash function to the hash code of a given object, and then normalizes it to ensure a positive
value is always returned.
|
| Modifier and Type | Method and Description |
|---|---|
default CH |
ConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors)
Deprecated.
since 11.0. hashFunction is ignored, use
ConsistentHashFactory.create(int, int, List, Map) instead. |
| Modifier and Type | Method and Description |
|---|---|
Hash |
HashFunctionPartitioner.getHash() |
protected static Hash |
AbstractConsistentHash.parseHashFunction(ScopedPersistentState state) |
Copyright © 2022 JBoss by Red Hat. All rights reserved.