A brief file description. More...
Go to the source code of this file.
Data Structures | |
struct | ClusterMachine |
struct | MachineListElement |
struct | MachineList |
struct | clusterConfigFile |
Defines | |
#define | MACHINE_TIMEOUT (HRTIME_DAY*2) |
#define | NO_RACE_DELAY HRTIME_HOUR |
Functions | |
MachineList * | read_MachineList (char *filename, int test_fd=-1) |
void | free_MachineList (MachineList *l) |
inkcoreapi ClusterMachine * | this_cluster_machine () |
void | create_this_cluster_machine () |
void | free_ClusterMachine (ClusterMachine *m) |
MachineList * | the_cluster_machines_config () |
MachineList * | the_cluster_config () |
Variables | |
ProxyMutex * | the_cluster_config_mutex |
MachineList * | machines_config |
MachineList * | cluster_config |
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 P_ClusterMachine.h.
#define MACHINE_TIMEOUT (HRTIME_DAY*2) |
Definition at line 42 of file P_ClusterMachine.h.
Referenced by free_ClusterMachine(), and free_MachineList().
#define NO_RACE_DELAY HRTIME_HOUR |
Definition at line 54 of file P_ClusterMachine.h.
void create_this_cluster_machine | ( | ) |
Definition at line 61 of file ClusterMachine.cc.
References new_ProxyMutex().
Referenced by ClusterProcessor::init().
void free_ClusterMachine | ( | ClusterMachine * | m | ) |
Definition at line 194 of file ClusterMachine.cc.
References CLUSTER_INCREMENT_DYN_STAT, CLUSTER_MACHINES_FREED_STAT, ClusterMachine::dead, ET_CALL, eventProcessor, MACHINE_TIMEOUT, Thread::mutex, EventProcessor::schedule_in(), and this_ethread().
Referenced by ClusterHandler::~ClusterHandler().
void free_MachineList | ( | MachineList * | l | ) |
Definition at line 205 of file ClusterMachine.cc.
MachineList* read_MachineList | ( | char * | filename, | |
int | test_fd = -1 | |||
) |
Definition at line 211 of file ClusterMachine.cc.
MachineList* the_cluster_config | ( | ) |
Definition at line 49 of file ClusterMachine.cc.
MachineList* the_cluster_machines_config | ( | ) |
Definition at line 43 of file ClusterMachine.cc.
Referenced by ClusterAccept::ClusterAcceptMachine(), and ClusterHandler::process_write().
inkcoreapi ClusterMachine* this_cluster_machine | ( | ) |
Definition at line 55 of file ClusterMachine.cc.
Referenced by ClusterVCToken::alloc(), cluster_machine_at_depth(), ClusterHandler::connectClusterEvent(), ClusterProcessor::init(), machine_list_ClusterFunction(), MachineStatusSM::MachineStatusSMEvent(), make_cluster_connections(), ClusterProcessor::start(), test(), and TSGetMyNodeHandle().
Definition at line 36 of file ClusterMachine.cc.
Definition at line 35 of file ClusterMachine.cc.
Definition at line 38 of file ClusterMachine.cc.