summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2026-05-22 08:39:23 +0300
committerrobot-piglet <[email protected]>2026-05-22 17:41:57 +0300
commit4faba3950eaca75ebba833684a28a617dd8e0785 (patch)
treea9e44f1010f880d9db6d40237230417ad48c8ef7
parent300f0398323f7ef03bb842901827479227e5aedf (diff)
Intermediate changes
commit_hash:92abcc958e94e1f5e6f5ed38e425f4f19ab1212a
-rw-r--r--yt/yt/core/misc/concurrent_cache-inl.h13
-rw-r--r--yt/yt/core/misc/concurrent_cache.h2
2 files changed, 0 insertions, 15 deletions
diff --git a/yt/yt/core/misc/concurrent_cache-inl.h b/yt/yt/core/misc/concurrent_cache-inl.h
index 1e7de2d40e5..28617f88fe6 100644
--- a/yt/yt/core/misc/concurrent_cache-inl.h
+++ b/yt/yt/core/misc/concurrent_cache-inl.h
@@ -207,19 +207,6 @@ typename TConcurrentCache<T>::TInserter TConcurrentCache<T>::GetInserter()
}
template <class T>
-size_t TConcurrentCache<T>::GetSize() const
-{
- auto head = Head_.Acquire();
- return head->Size.load(std::memory_order::relaxed);
-}
-
-template <class T>
-size_t TConcurrentCache<T>::GetCapacity() const
-{
- return Capacity_.load(std::memory_order::acquire);
-}
-
-template <class T>
void TConcurrentCache<T>::SetCapacity(size_t capacity)
{
YT_VERIFY(capacity > 0);
diff --git a/yt/yt/core/misc/concurrent_cache.h b/yt/yt/core/misc/concurrent_cache.h
index acac76e328c..d178bc8dd1e 100644
--- a/yt/yt/core/misc/concurrent_cache.h
+++ b/yt/yt/core/misc/concurrent_cache.h
@@ -90,8 +90,6 @@ public:
TInserter GetInserter();
- size_t GetSize() const;
- size_t GetCapacity() const;
void SetCapacity(size_t capacity);
bool IsHead(const TIntrusivePtr<TLookupTable>& head) const;