1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Embeddable: Add method to selectively clear pages from cache

This commit is contained in:
gnosygnu
2017-01-26 03:58:06 -05:00
parent f683e272ee
commit 27f6811e1f
3 changed files with 8 additions and 1 deletions

View File

@@ -38,6 +38,9 @@ public class Xow_page_cache {
}
}
}
public void Del(byte[] ttl_full_db) {
cache.Del(ttl_full_db);
}
public Xow_page_cache_itm Get_or_load_as_itm(Xoa_ttl ttl) {
byte[] ttl_full_db = ttl.Full_db();
Xow_page_cache_itm rv = (Xow_page_cache_itm)cache.Get_by(ttl_full_db);