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 |
MurmurHash2
An implementation of Austin Appleby's MurmurHash2.0 algorithm, as documented on his website.
|
class |
MurmurHash2Compat
An implementation of Austin Appleby's MurmurHash2.0 algorithm, as documented on his website.
|
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 |
---|---|
Hash |
HashConfiguration.hash()
The hash function in use.
|
Modifier and Type | Method and Description |
---|---|
HashConfigurationBuilder |
HashConfigurationBuilder.hash(Hash hash)
The hash function in use.
|
Modifier and Type | Method and Description |
---|---|
Hash |
ConsistentHash.getHashFunction() |
Modifier and Type | Method and Description |
---|---|
CH |
ConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List members,
Map capacityFactors)
Create a new consistent hash instance.
|
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.