Data Structures | Typedefs | Functions | Variables

ClusterMachine.cc File Reference

A brief file description. More...

#include "ink_config.h"
#include <unistd.h>
#include "P_Cluster.h"
#include "I_Layout.h"
Include dependency graph for ClusterMachine.cc:

Go to the source code of this file.

Data Structures

struct  MachineTimeoutContinuation

Typedefs

typedef int(MachineTimeoutContinuation::* McTimeoutContHandler )(int, void *)

Functions

MachineListthe_cluster_machines_config ()
MachineListthe_cluster_config ()
ClusterMachinethis_cluster_machine ()
void create_this_cluster_machine ()
void free_ClusterMachine (ClusterMachine *m)
void free_MachineList (MachineList *l)
MachineListread_MachineList (char *filename, int afd)

Variables

int num_of_cluster_threads
MachineListmachines_config = NULL
MachineListcluster_config = NULL
ProxyMutexthe_cluster_config_mutex
static ClusterMachinecluster_machine

Detailed Description

A brief file description.

License

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 ClusterMachine.cc.


Typedef Documentation

typedef int(MachineTimeoutContinuation::* McTimeoutContHandler)(int, void *)

Definition at line 173 of file ClusterMachine.cc.


Function Documentation

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  ) 
void free_MachineList ( MachineList l  ) 

Definition at line 205 of file ClusterMachine.cc.

References MACHINE_TIMEOUT, and new_Freer().

Referenced by machine_config_change().

MachineList* read_MachineList ( char *  filename,
int  afd 
)
MachineList* the_cluster_config (  ) 
MachineList* the_cluster_machines_config (  ) 
ClusterMachine* this_cluster_machine (  ) 

Variable Documentation

Definition at line 36 of file ClusterMachine.cc.

Referenced by machine_config_change().

Definition at line 40 of file ClusterMachine.cc.

Definition at line 35 of file ClusterMachine.cc.

Referenced by machine_config_change().

Definition at line 36 of file ClusterProcessor.cc.