java.lang.Object | |
↳ | org.apache.helix.controller.strategy.RUSHrHash |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SEED_PARAM | |||||||||||
clusterConfig | an array of hash maps where each element holds data for a sub cluster | ||||||||||
clusters | an array of hash maps where each hash map holds info on the sub cluster that corresponds to the array indices meaning that array element 0 holds data for server 0 that is the total number of nodes in the cluster this property is populated at construction time only | ||||||||||
nodes | an array of HashMaps where each HashMap holds the data for a single node | ||||||||||
replicationDegree | |||||||||||
totalClusters | total number of sub-clusters in our data configuration this property is populated at construction time only | ||||||||||
totalNodes | the total number of nodes in all of the subClusters this property is populated at construction time only | ||||||||||
totalNodesW | the total number of nodes in all of the clusters this property is populated at construction time only |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The constructor analyzes the passed config to obtain the fundamental values
and data structures for locating a node.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This function is an implementation of a RUSHr algorithm as described by R J
Honicky and Ethan Miller
| |||||||||||
This function is an implementation of a RUSH algorithm as described by R J
Honicky and Ethan Miller
| |||||||||||
@return
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
an array of hash maps where each element holds data for a sub cluster
an array of hash maps where each hash map holds info on the sub cluster that corresponds to the array indices meaning that array element 0 holds data for server 0 that is the total number of nodes in the cluster this property is populated at construction time only
total number of sub-clusters in our data configuration this property is populated at construction time only
the total number of nodes in all of the subClusters this property is populated at construction time only
the total number of nodes in all of the clusters this property is populated at construction time only
The constructor analyzes the passed config to obtain the fundamental values and data structures for locating a node. Each of those values is described in detail above with each property. briefly: this.clusters this.totalClusters this.totalNodes The values above are derived from the HashMap[] oonfig passed to the locator.
conf | dataConfig |
---|
Exception |
---|
This function is an implementation of a RUSHr algorithm as described by R J Honicky and Ethan Miller
Exception | |
Exception |
This function is an implementation of a RUSH algorithm as described by R J Honicky and Ethan Miller
objKey | - an int used as the prng seed. this int is usually derived from a string hash |
---|
Exception |
---|