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.configuration.cache |
Cache configuration |
org.infinispan.distribution.ch |
Consistent Hash interfaces
|
org.infinispan.distribution.ch.impl | |
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
Deprecated.
Since 8.2, should always use
MurmurHash3 instead. |
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.
|
Modifier and Type | Field and Description |
---|---|
protected Hash |
SyncConsistentHashFactory.Builder.hashFunction |
Modifier and Type | Method and Description |
---|---|
Hash |
HashFunctionPartitioner.getHash() |
Hash |
DefaultConsistentHash.getHashFunction() |
Hash |
ReplicatedConsistentHash.getHashFunction() |
Modifier and Type | Method and Description |
---|---|
DefaultConsistentHash |
DefaultConsistentHashFactory.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) |
DefaultConsistentHash |
SyncConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
ReplicatedConsistentHash |
SyncReplicatedConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
protected TopologyAwareSyncConsistentHashFactory.Builder |
TopologyAwareSyncConsistentHashFactory.createBuilder(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
protected SyncConsistentHashFactory.Builder |
SyncConsistentHashFactory.createBuilder(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
protected int |
SyncConsistentHashFactory.Builder.normalizedHash(Hash hashFunction,
int hashcode) |
Constructor and Description |
---|
Builder(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
Builder(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
Builder(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
DefaultConsistentHash(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors,
List<Address>[] segmentOwners) |
ReplicatedConsistentHash(Hash hashFunction,
List<Address> members,
int[] primaryOwners) |
Modifier and Type | Method and Description |
---|---|
Hash |
PartitionerConsistentHash.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 © 2024 JBoss, a division of Red Hat. All rights reserved.