Data Structures | Typedefs | Functions | Variables

ClusterConfig.cc File Reference

A brief file description. More...

#include "P_Cluster.h"
Include dependency graph for ClusterConfig.cc:

Go to the source code of this file.

Data Structures

struct  ConfigurationContinuation

Typedefs

typedef int(ConfigurationContinuation::* CfgContHandler )(int, void *)

Functions

static void make_cluster_connections (MachineList *l)
int machine_config_change (const char *, RecDataT, RecData data, void *cookie)
void do_machine_config_change (void *d, const char *s)
static void free_configuration (ClusterConfiguration *c, ClusterConfiguration *prev)
ClusterConfigurationconfiguration_add_machine (ClusterConfiguration *c, ClusterMachine *m)
ClusterConfigurationconfiguration_remove_machine (ClusterConfiguration *c, ClusterMachine *m)
ClusterMachinecluster_machine_at_depth (unsigned int hash, int *pprobe_depth, ClusterMachine **past_probes)
void initialize_thread_for_cluster (EThread *e)

Variables

int cluster_port = DEFAULT_CLUSTER_PORT_NUMBER

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


Typedef Documentation

typedef int(ConfigurationContinuation::* CfgContHandler)(int, void *)

Definition at line 242 of file ClusterConfig.cc.


Function Documentation

ClusterMachine* cluster_machine_at_depth ( unsigned int  hash,
int *  pprobe_depth,
ClusterMachine **  past_probes 
)
ClusterConfiguration* configuration_add_machine ( ClusterConfiguration c,
ClusterMachine m 
)
ClusterConfiguration* configuration_remove_machine ( ClusterConfiguration c,
ClusterMachine m 
)
void do_machine_config_change ( void *  d,
const char *  s 
)
static void free_configuration ( ClusterConfiguration c,
ClusterConfiguration prev 
) [static]
void initialize_thread_for_cluster ( EThread e  ) 

Definition at line 450 of file ClusterConfig.cc.

int machine_config_change ( const char *  ,
RecDataT  ,
RecData  data,
void *  cookie 
)
static void make_cluster_connections ( MachineList l  )  [static]

Variable Documentation

int cluster_port = DEFAULT_CLUSTER_PORT_NUMBER