diff options
author | Sergey Polovko <sergey@polovko.me> | 2022-02-10 16:47:02 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:02 +0300 |
commit | 3e0b762a82514bac89c1dd6ea7211e381d8aa248 (patch) | |
tree | c2d1b379ecaf05ca8f11ed0b5da9d1a950e6e554 /library/cpp/grpc/server/grpc_counters.cpp | |
parent | ab3783171cc30e262243a0227c86118f7080c896 (diff) | |
download | ydb-3e0b762a82514bac89c1dd6ea7211e381d8aa248.tar.gz |
Restoring authorship annotation for Sergey Polovko <sergey@polovko.me>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/grpc/server/grpc_counters.cpp')
-rw-r--r-- | library/cpp/grpc/server/grpc_counters.cpp | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/library/cpp/grpc/server/grpc_counters.cpp b/library/cpp/grpc/server/grpc_counters.cpp index fa96e0100b..bdd72b3292 100644 --- a/library/cpp/grpc/server/grpc_counters.cpp +++ b/library/cpp/grpc/server/grpc_counters.cpp @@ -1,45 +1,45 @@ #include "grpc_counters.h" - -namespace NGrpc { -namespace { - -class TFakeCounterBlock final: public ICounterBlock { -private: - void CountNotOkRequest() override { - } - - void CountNotOkResponse() override { - } - - void CountNotAuthenticated() override { - } - - void CountResourceExhausted() override { - } - - void CountRequestBytes(ui32 /*requestSize*/) override { - } - - void CountResponseBytes(ui32 /*responseSize*/) override { - } - - void StartProcessing(ui32 /*requestSize*/) override { - } - - void FinishProcessing( - ui32 /*requestSize*/, - ui32 /*responseSize*/, - bool /*ok*/, - ui32 /*status*/, - TDuration /*requestDuration*/) override - { - } -}; - -} // namespace - -ICounterBlockPtr FakeCounterBlock() { - return MakeIntrusive<TFakeCounterBlock>(); -} - -} // namespace NGrpc + +namespace NGrpc { +namespace { + +class TFakeCounterBlock final: public ICounterBlock { +private: + void CountNotOkRequest() override { + } + + void CountNotOkResponse() override { + } + + void CountNotAuthenticated() override { + } + + void CountResourceExhausted() override { + } + + void CountRequestBytes(ui32 /*requestSize*/) override { + } + + void CountResponseBytes(ui32 /*responseSize*/) override { + } + + void StartProcessing(ui32 /*requestSize*/) override { + } + + void FinishProcessing( + ui32 /*requestSize*/, + ui32 /*responseSize*/, + bool /*ok*/, + ui32 /*status*/, + TDuration /*requestDuration*/) override + { + } +}; + +} // namespace + +ICounterBlockPtr FakeCounterBlock() { + return MakeIntrusive<TFakeCounterBlock>(); +} + +} // namespace NGrpc |