#include <grpc/support/port_platform.h>
#include "src/core/ext/filters/client_channel/retry_service_config.h"
#include <map>
#include <string>
#include <utility>
#include <vector>
#include "absl/strings/numbers.h"
#include "absl/strings/str_cat.h"
#include "absl/types/optional.h"
#include <grpc/grpc.h>
#include <grpc/status.h>
#include <grpc/support/log.h>
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/channel/status_util.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/json/json_channel_args.h"
#define MAX_MAX_RETRY_ATTEMPTS …
namespace grpc_core {
namespace internal {
const JsonLoaderInterface* RetryGlobalConfig::JsonLoader(const JsonArgs&) { … }
void RetryGlobalConfig::JsonPostLoad(const Json& json, const JsonArgs& args,
ValidationErrors* errors) { … }
const JsonLoaderInterface* RetryMethodConfig::JsonLoader(const JsonArgs&) { … }
void RetryMethodConfig::JsonPostLoad(const Json& json, const JsonArgs& args,
ValidationErrors* errors) { … }
size_t RetryServiceConfigParser::ParserIndex() { … }
void RetryServiceConfigParser::Register(CoreConfiguration::Builder* builder) { … }
namespace {
struct GlobalConfig { … };
}
std::unique_ptr<ServiceConfigParser::ParsedConfig>
RetryServiceConfigParser::ParseGlobalParams(const ChannelArgs& ,
const Json& json,
ValidationErrors* errors) { … }
namespace {
struct MethodConfig { … };
}
std::unique_ptr<ServiceConfigParser::ParsedConfig>
RetryServiceConfigParser::ParsePerMethodParams(const ChannelArgs& args,
const Json& json,
ValidationErrors* errors) { … }
}
}