CatapultServer
v0.5.0.1 (Elephant)
|
Specialized account state cache sub cache plugin. More...
Public Member Functions | |
AccountStateCacheSubCachePlugin (const CacheConfiguration &config, const AccountStateCacheTypes::Options &options) | |
Creates a plugin around config and options. More... | |
Public Member Functions inherited from catapult::cache::SummaryAwareSubCachePluginAdapter< TCache, TStorageTraits, TSummaryCacheStorage > | |
std::unique_ptr< CacheStorage > | createStorage () override |
Returns a cache storage based on this cache. More... | |
Public Member Functions inherited from catapult::cache::SubCachePluginAdapter< TCache, TStorageTraits > | |
SubCachePluginAdapter (std::unique_ptr< TCache > &&pCache) | |
Creates an adapter around pCache. More... | |
const std::string & | name () const override |
Gets the cache name. More... | |
size_t | id () const override |
Gets the cache id. More... | |
std::unique_ptr< const SubCacheView > | createView () const override |
Returns a locked cache view based on this cache. More... | |
std::unique_ptr< SubCacheView > | createDelta () override |
std::unique_ptr< DetachedSubCacheView > | createDetachedDelta () const override |
void | commit () override |
Commits all pending changes to the underlying storage. More... | |
const void * | get () const override |
Returns a const pointer to the underlying cache. More... | |
std::unique_ptr< CacheChangesStorage > | createChangesStorage () const override |
Returns a cache changes storage based on this cache. More... | |
TCache & | cache () |
Gets a typed reference to the underlying cache. More... | |
Public Member Functions inherited from catapult::cache::SubCachePlugin | |
virtual | ~SubCachePlugin ()=default |
Specialized account state cache sub cache plugin.
catapult::cache::AccountStateCacheSubCachePlugin::AccountStateCacheSubCachePlugin | ( | const CacheConfiguration & | config, |
const AccountStateCacheTypes::Options & | options | ||
) |
Creates a plugin around config and options.