UniSet 2.44.3
Структура uniset::ProcessTemplate

#include <ProcessTemplate.h>

Граф связей класса uniset::ProcessTemplate:

Открытые атрибуты

std::string type
 Type identifier (SharedMemory, UNetExchange, etc.).
std::string command
 Command to run (uniset2-smemory, etc.).
std::string argsPattern
 Arguments pattern (${name} is replaced with process name).
std::string readyCheck
 Ready check pattern (${name} is replaced, empty = no check).
size_t readyTimeout_msec = 10000
 Ready check timeout (total wait time).
size_t checkTimeout_msec = 1000
 Single check timeout (for health monitoring).
size_t checkPause_msec = 1000
 Pause between checks.
int group = 2
 Startup group (0=naming, 1=sharedmemory, 2=exchanges).
bool critical = false
 Process is critical by default.
bool needsSharedMemory = true
 Add –smemory-id automatically.
std::vector< std::string > prefixes
 Name prefixes for auto-detection.

Подробное описание

Process template for automatic configuration. Contains default parameters for known UniSet process types.

Данные класса

◆ argsPattern

std::string uniset::ProcessTemplate::argsPattern

Arguments pattern (${name} is replaced with process name).

◆ checkPause_msec

size_t uniset::ProcessTemplate::checkPause_msec = 1000

Pause between checks.

◆ checkTimeout_msec

size_t uniset::ProcessTemplate::checkTimeout_msec = 1000

Single check timeout (for health monitoring).

◆ command

std::string uniset::ProcessTemplate::command

Command to run (uniset2-smemory, etc.).

◆ critical

bool uniset::ProcessTemplate::critical = false

Process is critical by default.

◆ group

int uniset::ProcessTemplate::group = 2

Startup group (0=naming, 1=sharedmemory, 2=exchanges).

◆ needsSharedMemory

bool uniset::ProcessTemplate::needsSharedMemory = true

Add –smemory-id automatically.

◆ prefixes

std::vector<std::string> uniset::ProcessTemplate::prefixes

Name prefixes for auto-detection.

◆ readyCheck

std::string uniset::ProcessTemplate::readyCheck

Ready check pattern (${name} is replaced, empty = no check).

◆ readyTimeout_msec

size_t uniset::ProcessTemplate::readyTimeout_msec = 10000

Ready check timeout (total wait time).

◆ type

std::string uniset::ProcessTemplate::type

Type identifier (SharedMemory, UNetExchange, etc.).