#include <P_ClusterCache.h>

| Public Member Functions | |
| ClusterMachine * | machine_hash (unsigned int hash_value) | 
| ClusterMachine * | find (unsigned int ip, int port=0) | 
| ClusterConfiguration () | |
| SLINK (ClusterConfiguration, link) | |
| Data Fields | |
| int | n_machines | 
| ClusterMachine * | machines [CLUSTER_MAX_MACHINES] | 
| unsigned char | hash_table [CLUSTER_HASH_TABLE_SIZE] | 
| ink_hrtime | changed | 
Definition at line 155 of file P_ClusterCache.h.
| ClusterConfiguration::ClusterConfiguration | ( | ) | 
Definition at line 232 of file ClusterConfig.cc.
References hash_table, and machines.
| ClusterMachine* ClusterConfiguration::find | ( | unsigned int | ip, | |
| int | port = 0 | |||
| ) |  [inline] | 
Definition at line 165 of file P_ClusterCache.h.
References cluster_port, machines, and n_machines.
Referenced by ClusterProcessor::connect_local(), ClusterHandler::machine_down(), ClusterHandler::startClusterEvent(), and TSSendClusterRPC().
| ClusterMachine* ClusterConfiguration::machine_hash | ( | unsigned int | hash_value | ) |  [inline] | 
Definition at line 160 of file P_ClusterCache.h.
References hash_table, and machines.
Referenced by cluster_machine_at_depth(), Cluster::machine_hash(), and HostDBContinuation::master_machine().
| ClusterConfiguration::SLINK | ( | ClusterConfiguration | , | |
| link | ||||
| ) | 
Definition at line 177 of file P_ClusterCache.h.
Referenced by cluster_machine_at_depth(), configuration_add_machine(), and configuration_remove_machine().
| unsigned char ClusterConfiguration::hash_table[CLUSTER_HASH_TABLE_SIZE] | 
Definition at line 176 of file P_ClusterCache.h.
Referenced by build_hash_table_bucket(), build_hash_table_machine(), ClusterConfiguration(), ClusterProcessor::init(), machine_hash(), and test().
| ClusterMachine* ClusterConfiguration::machines[CLUSTER_MAX_MACHINES] | 
Definition at line 158 of file P_ClusterCache.h.
Referenced by build_hash_table_machine(), cluster_machine_at_depth(), ClusterConfiguration(), configuration_add_machine(), configuration_remove_machine(), find(), ClusterProcessor::init(), machine_hash(), machine_list_ClusterFunction(), MachineStatusSM::MachineStatusSMEvent(), ClusterProcessor::send_machine_list(), and test().
Definition at line 157 of file P_ClusterCache.h.
Referenced by build_hash_table_bucket(), build_hash_table_machine(), cluster_machine_at_depth(), configuration_add_machine(), configuration_remove_machine(), find(), ClusterProcessor::init(), machine_list_ClusterFunction(), MachineStatusSM::MachineStatusSMEvent(), and test().
 1.7.1
 1.7.1