#include <SynchronizedTimedCache.h>
Definition at line 34 of file SynchronizedTimedCache.h.
| Stroika::Foundation::Cache::SynchronizedTimedCache< KEY, VALUE, TRAITS >::SynchronizedTimedCache | ( | const Time::Duration & | minimumAllowedFreshness | ) |
Definition at line 13 of file SynchronizedTimedCache.inl.
| Time::Duration Stroika::Foundation::Cache::SynchronizedTimedCache< KEY, VALUE, TRAITS >::GetMinimumAllowedFreshness | ( | ) | const |
Definition at line 27 of file SynchronizedTimedCache.inl.
| void Stroika::Foundation::Cache::SynchronizedTimedCache< KEY, VALUE, TRAITS >::SetMinimumAllowedFreshness | ( | Time::Duration | minimumAllowedFreshness | ) |
Definition at line 33 of file SynchronizedTimedCache.inl.
| auto Stroika::Foundation::Cache::SynchronizedTimedCache< KEY, VALUE, TRAITS >::Elements | ( | ) | const |
Definition at line 39 of file SynchronizedTimedCache.inl.
| optional< VALUE > Stroika::Foundation::Cache::SynchronizedTimedCache< KEY, VALUE, TRAITS >::Lookup | ( | typename Common::ArgByValueType< KEY > | key, |
| Time::TimePointSeconds * | lastRefreshedAt = nullptr |
||
| ) | const |
Definition at line 45 of file SynchronizedTimedCache.inl.
| auto Stroika::Foundation::Cache::SynchronizedTimedCache< KEY, VALUE, TRAITS >::LookupValue | ( | typename Common::ArgByValueType< KEY > | key, |
| const function< VALUE(typename Common::ArgByValueType< KEY >)> & | cacheFiller, | ||
| LookupMarksDataAsRefreshed | successfulLookupRefreshesAcceesFlag = LookupMarksDataAsRefreshed::eDontTreatFoundThroughLookupAsRefreshed, |
||
| PurgeSpoiledDataFlagType | purgeSpoiledData = PurgeSpoiledDataFlagType::eAutomaticallyPurgeSpoiledData |
||
| ) |
Definition at line 60 of file SynchronizedTimedCache.inl.
| void Stroika::Foundation::Cache::SynchronizedTimedCache< KEY, VALUE, TRAITS >::Add | ( | typename Common::ArgByValueType< KEY > | key, |
| typename Common::ArgByValueType< VALUE > | result, | ||
| TimedCacheSupport::PurgeSpoiledDataFlagType | purgeSpoiledData = PurgeSpoiledDataFlagType::eAutomaticallyPurgeSpoiledData |
||
| ) |
Definition at line 92 of file SynchronizedTimedCache.inl.
| void Stroika::Foundation::Cache::SynchronizedTimedCache< KEY, VALUE, TRAITS >::Remove | ( | typename Common::ArgByValueType< KEY > | key | ) |
Definition at line 108 of file SynchronizedTimedCache.inl.
| void Stroika::Foundation::Cache::SynchronizedTimedCache< KEY, VALUE, TRAITS >::clear | ( | ) |
Definition at line 114 of file SynchronizedTimedCache.inl.
| void Stroika::Foundation::Cache::SynchronizedTimedCache< KEY, VALUE, TRAITS >::PurgeSpoiledData | ( | ) |
Definition at line 120 of file SynchronizedTimedCache.inl.