summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpogorelov <[email protected]>2023-09-12 11:18:53 +0300
committerpogorelov <[email protected]>2023-09-12 11:36:08 +0300
commitfb30ec174445584cb4c0f1255b79ff68d4c7904f (patch)
tree3a69e18e6560eca561d5c0ba6532d08fe8829360
parent392ddd87f7377102092f9ddf551e9893519ea8b6 (diff)
Rename method of TPeriodicExecutor
-rw-r--r--yt/yt/core/concurrency/periodic_executor.cpp4
-rw-r--r--yt/yt/core/concurrency/periodic_executor.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/yt/yt/core/concurrency/periodic_executor.cpp b/yt/yt/core/concurrency/periodic_executor.cpp
index d979cb294d9..f4a47617b50 100644
--- a/yt/yt/core/concurrency/periodic_executor.cpp
+++ b/yt/yt/core/concurrency/periodic_executor.cpp
@@ -160,7 +160,7 @@ void TPeriodicExecutor::PostCallback()
GuardedInvoke(
Invoker_,
BIND_NO_PROPAGATE(&TPeriodicExecutor::OnCallbackSuccess, this_),
- BIND_NO_PROPAGATE(&TPeriodicExecutor::OnCallbackFailure, this_));
+ BIND_NO_PROPAGATE(&TPeriodicExecutor::OnCallbackInvocationFailed, this_));
}
void TPeriodicExecutor::OnTimer(bool aborted)
@@ -248,7 +248,7 @@ void TPeriodicExecutor::OnCallbackSuccess()
cleanup(false);
}
-void TPeriodicExecutor::OnCallbackFailure()
+void TPeriodicExecutor::OnCallbackInvocationFailed()
{
auto guard = Guard(SpinLock_);
diff --git a/yt/yt/core/concurrency/periodic_executor.h b/yt/yt/core/concurrency/periodic_executor.h
index 7d14eed51b3..bc4b9ca0e2d 100644
--- a/yt/yt/core/concurrency/periodic_executor.h
+++ b/yt/yt/core/concurrency/periodic_executor.h
@@ -97,7 +97,7 @@ private:
void OnTimer(bool aborted);
void OnCallbackSuccess();
- void OnCallbackFailure();
+ void OnCallbackInvocationFailed();
TDuration NextDelay();
};