blob: f05fcdfd9618e56636d849fef436f7f8fb14836b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#pragma once
#include "public.h"
#include <yt/yt/client/api/rpc_proxy/config.h>
#include <yt/yt/core/ytree/yson_struct.h>
#include <util/generic/vector.h>
namespace NYT::NClient::NCache {
////////////////////////////////////////////////////////////////////////////////
struct TClientsCacheConfig
: public virtual NYTree::TYsonStruct
{
NApi::NRpcProxy::TConnectionConfigPtr DefaultConfig;
THashMap<TString, NApi::NRpcProxy::TConnectionConfigPtr> ClusterConfigs;
REGISTER_YSON_STRUCT(TClientsCacheConfig);
static void Register(TRegistrar registrar);
};
DEFINE_REFCOUNTED_TYPE(TClientsCacheConfig)
////////////////////////////////////////////////////////////////////////////////
} // namespace NYT::NClient::NHedging::NRpc
|