|
CatapultServer
v0.5.0.1 (Elephant)
|
Basic delta on top of the lock info cache. More...


Public Types | |
| using | ReadOnlyView = typename TCacheTypes::CacheReadOnlyType |
Public Member Functions | |
| BasicLockInfoCacheDelta (const typename TCacheTypes::BaseSetDeltaPointers &lockInfoSets) | |
| Creates a delta around lockInfoSets. More... | |
| void | insert (const typename TDescriptor::ValueType &value) |
| Inserts value into the cache. More... | |
| void | remove (const typename TDescriptor::KeyType &key) |
| Removes the value identified by key from the cache. More... | |
| void | processUnusedExpiredLocks (Height height, const consumer< const typename TDescriptor::ValueType > &consumer) const |
| Processes all unused lock infos that expired at height by passing them to consumer. 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... | |
Public Member Functions inherited from catapult::cache::HeightBasedPruningMixin< TSet, THeightGroupedSet > | |
| HeightBasedPruningMixin (TSet &set, THeightGroupedSet &heightGroupedSet) | |
| Creates a mixin around set and heightGroupedSet. More... | |
| void | prune (Height height) |
| Prunes the cache at height. More... | |
Private Attributes | |
| TCacheTypes::PrimaryTypes::BaseSetDeltaPointerType | m_pDelta |
| TCacheTypes::HeightGroupingTypes::BaseSetDeltaPointerType | m_pHeightGroupingDelta |
Basic delta on top of the lock info cache.
| using catapult::cache::BasicLockInfoCacheDelta< TDescriptor, TCacheTypes >::ReadOnlyView = typename TCacheTypes::CacheReadOnlyType |
|
inlineexplicit |
Creates a delta around lockInfoSets.
|
inline |
Inserts value into the cache.
|
inline |
Processes all unused lock infos that expired at height by passing them to consumer.
|
inline |
Removes the value identified by key from the cache.
|
private |
|
private |