Skip to content

TR Method cache_ensure

marufcetin edited this page Sep 1, 2026 · 1 revision

Metot: cache_ensure()

Turkce Dokumantasyon | English Documentation

Kategori: Onbellek ve Tampon Metotlari
Modul: AmberDB::Cache
Madde Turu: Onbellek Gecerlilik Dogrulamasi


1. Tanim ve Genel Bakis

cache_ensure(), kati RAM-disk yansitmasi (use_cache => 2) ile tanimlanmis bir tablonun onbelleginin mevcut ve guncel oldugundan emin olur. Onbellek dosyasi yoksa veya suresi dolmussa otomatik olarak cache_preload() tetikler.


2. Sozdizimi ve Imza

my $onbellek_yolu = $adb->cache_ensure($tablo_adi);

3. Pratik Kod Ornegi

my $onbelleklenmis_yol = $adb->cache_ensure("catalog_category");

4. Iliskili Maddeler ve Bakiniz

AmberDB Encyclopedia

Home · A-Z Index


Getting Started & Guides


Core Concepts


Core CRUD Methods


Query, Search & Facets


Transactions & Locks


Cache, Buffer & Low-Level


Locale & Helpers


Maintenance & Tools


Configuration Flags


File Formats


Language

Clone this wiki locally