A brief file description. More...
#include "P_Cluster.h"
Go to the source code of this file.
Functions | |
unsigned short | next_rnd15 (unsigned int *p) |
void | build_hash_table_machine (ClusterConfiguration *c) |
static void | build_hash_table_bucket (ClusterConfiguration *c) |
void | build_cluster_hash_table (ClusterConfiguration *c) |
Variables | |
bool | machineClusterHash = true |
bool | boundClusterHash = false |
bool | randClusterHash = false |
A brief file description.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file ClusterHash.cc.
void build_cluster_hash_table | ( | ClusterConfiguration * | c | ) |
Definition at line 169 of file ClusterHash.cc.
References build_hash_table_bucket(), build_hash_table_machine(), and machineClusterHash.
Referenced by configuration_add_machine(), and configuration_remove_machine().
static void build_hash_table_bucket | ( | ClusterConfiguration * | c | ) | [static] |
Definition at line 139 of file ClusterHash.cc.
References boundClusterHash, ClusterConfiguration::hash_table, ink_rand_r(), ClusterConfiguration::n_machines, next_rand(), and randClusterHash.
Referenced by build_cluster_hash_table().
void build_hash_table_machine | ( | ClusterConfiguration * | c | ) |
Definition at line 89 of file ClusterHash.cc.
References boundClusterHash, ClusterConfiguration::hash_table, ink_rand_r(), ClusterMachine::ip, ClusterConfiguration::machines, ClusterConfiguration::n_machines, next_rand(), and randClusterHash.
Referenced by build_cluster_hash_table().
unsigned short next_rnd15 | ( | unsigned int * | p | ) | [inline] |
Definition at line 71 of file ClusterHash.cc.
bool boundClusterHash = false |
Definition at line 46 of file ClusterHash.cc.
Referenced by build_hash_table_bucket(), build_hash_table_machine(), and test().
bool machineClusterHash = true |
Definition at line 45 of file ClusterHash.cc.
Referenced by build_cluster_hash_table(), and test().
bool randClusterHash = false |
Definition at line 47 of file ClusterHash.cc.
Referenced by build_hash_table_bucket(), build_hash_table_machine(), and test().