|
CatapultServer
v0.5.0.1 (Elephant)
|
Synchronized cache composed of stateful account information. More...


Public Member Functions | |
| AccountStateCache (const CacheConfiguration &config, const AccountStateCacheTypes::Options &options) | |
| Creates a cache around config and options. More... | |
| model::NetworkIdentifier | networkIdentifier () const |
| Gets the network identifier. More... | |
| uint64_t | importanceGrouping () const |
| Gets the network importance grouping. More... | |
Public Member Functions inherited from catapult::cache::SynchronizedCacheWithInit< BasicAccountStateCache > | |
| SynchronizedCacheWithInit (BasicAccountStateCache &&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< BasicAccountStateCache > | |
| SynchronizedCache (BasicAccountStateCache &&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... | |
Private Attributes | |
| model::NetworkIdentifier | m_networkIdentifier |
| uint64_t | m_importanceGrouping |
Additional Inherited Members | |
Public Types inherited from catapult::cache::SynchronizedCache< BasicAccountStateCache > | |
| using | CacheValueType = typename BasicAccountStateCache ::CacheValueType |
| using | CacheViewType = typename BasicAccountStateCache ::CacheViewType |
| using | CacheDeltaType = typename BasicAccountStateCache ::CacheDeltaType |
| using | CacheReadOnlyType = typename BasicAccountStateCache ::CacheReadOnlyType |
Protected Member Functions inherited from catapult::cache::SynchronizedCache< BasicAccountStateCache > | |
| BasicAccountStateCache & | cache () |
| Gets a typed reference to the underlying cache. More... | |
Synchronized cache composed of stateful account information.
|
inline |
Creates a cache around config and options.
|
inline |
Gets the network importance grouping.
|
inline |
Gets the network identifier.
|
private |
|
private |