OmniSciDB  a987f07e93
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CacheInvalidator< CACHE_HOLDING_TYPES > Class Template Reference

#include <CacheInvalidator.h>

Static Public Member Functions

static void invalidateCaches ()
 
static void invalidateCachesByTable (size_t table_key)
 

Private Member Functions

 CacheInvalidator ()=delete
 
 ~CacheInvalidator ()=delete
 

Detailed Description

template<typename... CACHE_HOLDING_TYPES>
class CacheInvalidator< CACHE_HOLDING_TYPES >

Definition at line 21 of file CacheInvalidator.h.

Constructor & Destructor Documentation

template<typename... CACHE_HOLDING_TYPES>
CacheInvalidator< CACHE_HOLDING_TYPES >::CacheInvalidator ( )
privatedelete
template<typename... CACHE_HOLDING_TYPES>
CacheInvalidator< CACHE_HOLDING_TYPES >::~CacheInvalidator ( )
privatedelete

Member Function Documentation

template<typename... CACHE_HOLDING_TYPES>
static void CacheInvalidator< CACHE_HOLDING_TYPES >::invalidateCaches ( )
inlinestatic

Definition at line 23 of file CacheInvalidator.h.

Referenced by Executor::clearExternalCaches(), Executor::clearMemory(), DropForeignTableCommand::execute(), RefreshForeignTablesCommand::execute(), and foreign_storage::ForeignTableRefreshScheduler::invalidateQueryEngineCaches().

23 { (..., CACHE_HOLDING_TYPES::invalidateCache()); }

+ Here is the caller graph for this function:

template<typename... CACHE_HOLDING_TYPES>
static void CacheInvalidator< CACHE_HOLDING_TYPES >::invalidateCachesByTable ( size_t  table_key)
inlinestatic

Definition at line 24 of file CacheInvalidator.h.

Referenced by Executor::clearExternalCaches(), Parser::OptimizeTableStmt::execute(), Parser::AddColumnStmt::execute(), Parser::AlterTableParamStmt::execute(), RelAlgExecutor::executeSimpleInsert(), Catalog_Namespace::Catalog::invalidateCachesForTable(), foreign_storage::refresh_foreign_table_unlocked(), DBHandler::set_table_epochs(), and Catalog_Namespace::Catalog::setUncappedTableEpoch().

24  {
25  // input: a hashed table chunk key: {db_id, table_id}
26  (..., CACHE_HOLDING_TYPES::markCachedItemAsDirty(table_key));
27  }

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: