GPUdb C++ API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::AdminSwitchoverRequest Struct Reference

A set of input parameters for const. More...

#include <gpudb/protocol/admin_switchover.h>

Public Member Functions

 AdminSwitchoverRequest ()
 Constructs an AdminSwitchoverRequest object with default parameter values. More...
 
 AdminSwitchoverRequest (const std::vector< std::string > &processes_, const std::vector< std::string > &destinations_, const std::map< std::string, std::string > &options_)
 Constructs an AdminSwitchoverRequest object with the specified parameters. More...
 

Public Attributes

std::vector< std::string > processes
 
std::vector< std::string > destinations
 
std::map< std::string,
std::string > 
options
 

Detailed Description

A set of input parameters for const.

Manually switch over one or more processes to another host. Individual ranks or entire hosts may be moved to another host.

Definition at line 19 of file admin_switchover.h.

Constructor & Destructor Documentation

gpudb::AdminSwitchoverRequest::AdminSwitchoverRequest ( )
inline

Constructs an AdminSwitchoverRequest object with default parameter values.

Definition at line 26 of file admin_switchover.h.

gpudb::AdminSwitchoverRequest::AdminSwitchoverRequest ( const std::vector< std::string > &  processes_,
const std::vector< std::string > &  destinations_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs an AdminSwitchoverRequest object with the specified parameters.

Parameters
[in]processes_Indicates the process identifier to switch over to another host. Options are 'hostN' and 'rankN' where 'N' corresponds to the number associated with a host or rank in the Network section of the gpudb.conf file; e.g., 'host[N].address' or 'rank[N].host'. If 'hostN' is provided, all processes on that host will be moved to another host. Each entry in this array will be switched over to the corresponding host entry at the same index in destinations.
[in]destinations_Indicates to which host to switch over each corresponding process given in processes. Each index must be specified as 'hostN' where 'N' corresponds to the number associated with a host or rank in the Network section of the gpudb.conf file; e.g., 'host[N].address'. Each entry in this array will receive the corresponding process entry at the same index in processes.
[in]options_Optional parameters.

Definition at line 80 of file admin_switchover.h.

Member Data Documentation

std::vector<std::string> gpudb::AdminSwitchoverRequest::destinations

Definition at line 88 of file admin_switchover.h.

std::map<std::string, std::string> gpudb::AdminSwitchoverRequest::options

Definition at line 89 of file admin_switchover.h.

std::vector<std::string> gpudb::AdminSwitchoverRequest::processes

Definition at line 87 of file admin_switchover.h.


The documentation for this struct was generated from the following file: