CatapultServer
v0.5.0.1 (Elephant)
|
Basic delta on top of the mosaic cache. More...
Public Types | |
using | ReadOnlyView = MosaicCacheTypes::CacheReadOnlyType |
Public Member Functions | |
BasicMosaicCacheDelta (const MosaicCacheTypes::BaseSetDeltaPointers &mosaicSets) | |
Creates a delta around mosaicSets. More... | |
void | insert (const state::MosaicEntry &entry) |
Inserts the mosaic entry into the cache. More... | |
void | remove (MosaicId mosaicId) |
Removes the value identified by mosaicId from the cache. More... | |
Public Member Functions inherited from catapult::utils::MoveOnly | |
constexpr | MoveOnly ()=default |
Default constructor. More... | |
~MoveOnly ()=default | |
Default destructor. More... | |
MoveOnly (const NonCopyable &)=delete | |
Disabled copy constructor. More... | |
MoveOnly (MoveOnly &&)=default | |
Default move constructor. More... | |
MoveOnly & | operator= (const MoveOnly &)=delete |
Disabled assignment operator. More... | |
MoveOnly & | operator= (MoveOnly &&)=default |
Default move assignment operator. More... | |
Public Member Functions inherited from catapult::cache::HeightBasedTouchMixin< TSet, THeightGroupedSet > | |
HeightBasedTouchMixin (TSet &set, THeightGroupedSet &heightGroupedSet) | |
Creates a mixin around set and heightGroupedSet. More... | |
THeightGroupedSet::ElementType::Identifiers | touch (Height height) |
Touches the cache at height and returns identifiers of all deactivating elements. More... | |
Private Attributes | |
MosaicCacheTypes::PrimaryTypes::BaseSetDeltaPointerType | m_pEntryById |
MosaicCacheTypes::HeightGroupingTypes::BaseSetDeltaPointerType | m_pMosaicIdsByExpiryHeight |
Basic delta on top of the mosaic cache.
|
explicit |
Creates a delta around mosaicSets.
void catapult::cache::BasicMosaicCacheDelta::insert | ( | const state::MosaicEntry & | entry | ) |
Inserts the mosaic entry into the cache.
void catapult::cache::BasicMosaicCacheDelta::remove | ( | MosaicId | mosaicId | ) |
Removes the value identified by mosaicId from the cache.
|
private |
|
private |