<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">interface </span><ahref="index.html">DirectFullCacheRepo</a> : <ahref="../../dev.inmo.micro_utils.repos.cache.full/-full-cache-repo/index.html">FullCacheRepo</a><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/InsanusMokrassar/MicroUtils/blob/master//repos/cache/src/commonMain/kotlin/dev/inmo/micro_utils/repos/cache/full/direct/DirectFullCacheRepo.kt#L12">source</a>)</span></span></div><pclass="paragraph">Repos-inheritors MUST realize their methods via next logic:</p><ul><li><pclass="paragraph">Reloading of data in cache must be reactive (e.g. via Flow) or direct mutation methods usage (override set and mutate cache inside, for example)</p></li><li><pclass="paragraph">All reading methods must take data from cache via synchronization with <ahref="../../dev.inmo.micro_utils.coroutines/-smart-r-w-locker/index.html">dev.inmo.micro_utils.coroutines.SmartRWLocker</a></p></li></ul><h4class="">Inheritors</h4><divclass="table"><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-direct-full-read-c-r-u-d-cache-repo/index.html">DirectFullReadCRUDCacheRepo</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-direct-full-read-key-value-cache-repo/index.html">DirectFullReadKeyValueCacheRepo</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-direct-full-write-key-value-cache-repo/index.html">DirectFullWriteKeyValueCacheRepo</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-direct-full-key-value-cache-repo/index.html">DirectFullKeyValueCacheRepo</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-direct-full-read-key-values-cache-repo/index.html">DirectFullReadKeyValuesCacheRepo</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-direct-full-write-key-values-cache-repo/index.html">DirectFullWriteKeyValuesCacheRepo</a></div></span></div><div></div></div></div></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">abstract </span><spanclass="token keyword">suspend </span><spanclass="token keyword">fun </span><ahref="../../dev.inmo.micro_utils.repos.cache/-invalidatable-repo/invalidate.html"><spanclass="token function">invalidate</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span></div><divclass="brief "><pclass="paragraph">Invalidates its internal data. It <strong>may</strong> lead to autoreload of data. In case when repo makes autoreload, it must do loading of data <strong>before</strong> clear</p></div></div></div>