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... | |
![]() | |
SynchronizedCacheWithInit (BasicAccountStateCache &&cache) | |
Creates a synchronized decorator around cache. More... | |
void | init (TArgs &&... args) |
Initializes the underlying cache with args. More... | |
![]() | |
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 | |
![]() | |
using | CacheValueType = typename BasicAccountStateCache ::CacheValueType |
using | CacheViewType = typename BasicAccountStateCache ::CacheViewType |
using | CacheDeltaType = typename BasicAccountStateCache ::CacheDeltaType |
using | CacheReadOnlyType = typename BasicAccountStateCache ::CacheReadOnlyType |
![]() | |
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 |