CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::NamespaceCache Class Reference

Synchronized cache composed of namespace information. More...

Inheritance diagram for catapult::cache::NamespaceCache:
Collaboration diagram for catapult::cache::NamespaceCache:

Public Member Functions

 NamespaceCache (const CacheConfiguration &config, const NamespaceCacheTypes::Options &options)
 Creates a cache around config and options. More...
 
- Public Member Functions inherited from catapult::cache::SynchronizedCacheWithInit< BasicNamespaceCache >
 SynchronizedCacheWithInit (BasicNamespaceCache &&cache)
 Creates a synchronized decorator around cache. More...
 
void init (TArgs &&... args)
 Initializes the underlying cache with args. More...
 
- Public Member Functions inherited from catapult::cache::SynchronizedCache< BasicNamespaceCache >
 SynchronizedCache (BasicNamespaceCache &&cache)
 Creates a synchronized decorator around cache. More...
 
LockedCacheView< CacheViewTypecreateView () const
 Returns a locked cache view based on this cache. More...
 
LockedCacheDelta< CacheDeltaTypecreateDelta ()
 
LockableCacheDelta< CacheDeltaTypecreateDetachedDelta () const
 
void commit ()
 Commits all pending changes to the underlying storage. More...
 

Additional Inherited Members

- Public Types inherited from catapult::cache::SynchronizedCache< BasicNamespaceCache >
using CacheValueType = typename BasicNamespaceCache ::CacheValueType
 
using CacheViewType = typename BasicNamespaceCache ::CacheViewType
 
using CacheDeltaType = typename BasicNamespaceCache ::CacheDeltaType
 
using CacheReadOnlyType = typename BasicNamespaceCache ::CacheReadOnlyType
 
- Protected Member Functions inherited from catapult::cache::SynchronizedCache< BasicNamespaceCache >
BasicNamespaceCachecache ()
 Gets a typed reference to the underlying cache. More...
 

Detailed Description

Synchronized cache composed of namespace information.

Constructor & Destructor Documentation

◆ NamespaceCache()

catapult::cache::NamespaceCache::NamespaceCache ( const CacheConfiguration config,
const NamespaceCacheTypes::Options options 
)
inlineexplicit

Creates a cache around config and options.


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