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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user