Package | Description |
---|---|
org.infinispan.commons.hash |
Commons Hash package
|
org.infinispan.commons.util |
Commons package providing various utility classes
|
org.infinispan.configuration.cache |
Cache configuration |
org.infinispan.distribution.ch |
Consistent Hash interfaces
|
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 | Field and Description |
---|---|
static AttributeDefinition<Hash> |
HashConfiguration.HASH |
Modifier and Type | Method and Description |
---|---|
Hash |
HashConfiguration.hash()
Deprecated.
Since 8.2, use
HashConfiguration.keyPartitioner() instead. |
Modifier and Type | Method and Description |
---|---|
HashConfigurationBuilder |
HashConfigurationBuilder.hash(Hash hash)
Deprecated.
Since 8.2, use
HashConfigurationBuilder.keyPartitioner(KeyPartitioner) instead. |
Modifier and Type | Method and Description |
---|---|
default Hash |
ConsistentHash.getHashFunction()
Deprecated.
Since 8.2, the
Hash is optional - replaced in the configuration by the
KeyPartitioner |
Modifier and Type | Method and Description |
---|---|
CH |
ConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors)
Create a new consistent hash instance.
|
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.