| Package | Description |
|---|---|
| org.apache.activemq.apollo.util |
| Modifier and Type | Class and Description |
|---|---|
static class |
Hasher.BinaryHasher<N,K>
A Hasher implemenation which first convert the Node and Key to
byte arrays before calculating the hash using a HashAlgorithim.
|
static class |
Hasher.Native
This Hasher implementation works with any type of object by using
the Object.hashCode() method of the Node and Keys objects
to compute the hash.
|
static class |
Hasher.ToStringHasher
This Hasher implementation works with any type of object by using
Object.toString() and uses a checksum to compute the hash of
the key and value.
|
| Modifier and Type | Field and Description |
|---|---|
static Hasher |
HashRing.TO_STRING_HASHER
The Hasher.ToStringHasher implemenation is as the hasher when none is specifed in the constructor.
|
| Constructor and Description |
|---|
HashRing(Hasher hasher)
Constructs a HashRing with the specified
hasher.
|
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.