Package | Description |
---|---|
org.infinispan.client.hotrod.impl.consistenthash | |
org.infinispan.commons.hash | |
org.infinispan.commons.util | |
org.infinispan.config |
Cache configuration beans and parsers.
|
org.infinispan.configuration.cache | |
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 |
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 |
---|---|
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 |
---|---|
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 |
ConsistentHash.getHashFunction() |
Hash |
DefaultConsistentHash.getHashFunction() |
Hash |
SyncConsistentHashFactory.Builder.getHashFunction() |
Modifier and Type | Method and Description |
---|---|
DefaultConsistentHash |
DefaultConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
DefaultConsistentHash |
SyncConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
ReplicatedConsistentHash |
ReplicatedConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
CH |
ConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors)
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,
Map<Address,Float> capacityFactors,
List<Address>[] segmentOwners) |
DefaultConsistentHashFactory.Builder(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
ReplicatedConsistentHash(Hash hashFunction,
List<Address> members,
int[] primaryOwners) |
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,
boolean totalOrder,
boolean distributed,
float capacityFactor) |
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.