Package | Description |
---|---|
org.infinispan.client.hotrod.impl.consistenthash | |
org.infinispan.commons.hash | |
org.infinispan.config |
Cache configuration beans and parsers.
|
org.infinispan.configuration.cache |
Classes related to eviction.
|
org.infinispan.distribution.ch | |
org.infinispan.distribution.group |
Groups allow keys with differeing hash codes to be co-located on the same node.
|
org.infinispan.topology | |
org.infinispan.util |
General utilities that are not specific to Infinispan, including string parsing helpers, reflection tools and
collections and containers designed to supplement the JDK-provided containers.
|
Modifier and Type | Field and Description |
---|---|
protected Hash |
ConsistentHashV1.hash |
Modifier and Type | Method and Description |
---|---|
void |
ConsistentHashV1.setHash(Hash hash) |
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 |
---|---|
FluentConfiguration.HashConfig |
Configuration.HashType.hashFunctionClass(Class<? extends Hash> hashFunctionClass)
Deprecated.
|
FluentConfiguration.HashConfig |
FluentConfiguration.HashConfig.hashFunctionClass(Class<? extends Hash> hashFunctionClass)
Deprecated.
A fully qualified name of the class providing a hash function, used as a bit spreader and a
general hash code generator.
|
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 |
ReplicatedConsistentHash.getHashFunction() |
Hash |
DefaultConsistentHash.getHashFunction() |
Hash |
SyncConsistentHashFactory.Builder.getHashFunction() |
Hash |
ConsistentHash.getHashFunction() |
Modifier and Type | Method and Description |
---|---|
DefaultConsistentHash |
DefaultConsistentHashFactory.Builder.build(Hash hashFunction) |
ReplicatedConsistentHash |
ReplicatedConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members) |
DefaultConsistentHash |
DefaultConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members) |
DefaultConsistentHash |
SyncConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members) |
CH |
ConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members)
Create a new consistent hash instance.
|
protected int |
SyncConsistentHashFactory.normalizedHash(Hash hashFunction,
int hashcode) |
Constructor and Description |
---|
DefaultConsistentHash(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
List<Address>[] segmentOwners) |
Modifier and Type | Method and Description |
---|---|
Hash |
GroupingConsistentHash.getHashFunction() |
Modifier and Type | Method and Description |
---|---|
Hash |
CacheJoinInfo.getHashFunction() |
Constructor and Description |
---|
CacheJoinInfo(ConsistentHashFactory consistentHashFactory,
Hash hashFunction,
int numSegments,
int numOwners,
long timeout) |
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.
|
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.