CatapultServer
v0.5.0.1 (Elephant)
|
Synchronized cache composed of namespace information. More...
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< CacheViewType > | createView () const |
Returns a locked cache view based on this cache. More... | |
LockedCacheDelta< CacheDeltaType > | createDelta () |
LockableCacheDelta< CacheDeltaType > | createDetachedDelta () 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 > | |
BasicNamespaceCache & | cache () |
Gets a typed reference to the underlying cache. More... | |
Synchronized cache composed of namespace information.
|
inlineexplicit |
Creates a cache around config and options.