#include <service_config_parser.h>
|
class | ParsedConfig |
| This is the base class that all service config parsers MUST use to store parsed service config data. More...
|
|
class | Parser |
| This is the base class that all service config parsers should derive from. More...
|
|
◆ ParsedConfigVector
◆ Init()
void grpc_core::ServiceConfigParser::Init |
( |
| ) |
|
|
static |
◆ ParseGlobalParameters()
◆ ParsePerMethodParameters()
◆ RegisterParser()
size_t grpc_core::ServiceConfigParser::RegisterParser |
( |
std::unique_ptr< Parser > |
parser | ) |
|
|
static |
Globally register a service config parser.
On successful registration, it returns the index at which the parser was registered. On failure, -1 is returned. Each new service config update will go through all the registered parser. Each parser is responsible for reading the service config json and returning a parsed config. This parsed config can later be retrieved using the same index that was returned at registration time.
◆ Shutdown()
void grpc_core::ServiceConfigParser::Shutdown |
( |
| ) |
|
|
static |
◆ kNumPreallocatedParsers
constexpr int grpc_core::ServiceConfigParser::kNumPreallocatedParsers = 4 |
|
staticconstexpr |
The documentation for this class was generated from the following files: