Struct diwata_intel::cache::CachePool [−][src]
pub struct CachePool(_);
contains an atlas of cache, one for each String key puposedly for DB_URL, there will be a separate cache for each DB_URL that tries to connect to the service
Methods
impl CachePool
[src]
impl CachePool
pub fn precache(
&mut self,
em: &EntityManager,
db_url: &str
) -> Result<(), IntelError>
[src]
pub fn precache(
&mut self,
em: &EntityManager,
db_url: &str
) -> Result<(), IntelError>
pub fn get_cached_tables(
&mut self,
em: &EntityManager,
db_url: &str
) -> Result<Vec<Table>, IntelError>
[src]
pub fn get_cached_tables(
&mut self,
em: &EntityManager,
db_url: &str
) -> Result<Vec<Table>, IntelError>
pub fn get_cached_windows(
&mut self,
em: &EntityManager,
db_url: &str
) -> Result<Vec<Window>, IntelError>
[src]
pub fn get_cached_windows(
&mut self,
em: &EntityManager,
db_url: &str
) -> Result<Vec<Window>, IntelError>