|
CatapultServer
v0.5.0.1 (Elephant)
|


Public Member Functions | |
| BasicAggregateTransactionsCacheModifier (CacheModifierProxyType &&modifier, ChangeSubscriberType &subscriber) | |
| Creates an aggregate transactions cache modifier around modifier and subscriber. More... | |
| ~BasicAggregateTransactionsCacheModifier () noexcept(false) override | |
| Destroys the modifier and notifies subscribers of changes. More... | |
| size_t | size () const override |
| bool | add (const TransactionInfoType &transactionInfo) override |
| TransactionInfoType | remove (const Hash256 &hash) override |
Protected Member Functions | |
| CacheModifierProxyType & | modifier () |
| Gets the modifier. More... | |
| const CacheModifierProxyType & | modifier () const |
| Gets the (const) modifier. More... | |
| ChangeSubscriberType & | subscriber () |
| Gets the subscriber. More... | |
| void | remove (const TransactionInfoType &transactionInfo) |
| Removes transactionInfo from the cache. More... | |
Private Types | |
| using | ChangeSubscriberType = typename TCacheTraits::ChangeSubscriberType |
| using | CacheModifierProxyType = typename TCacheTraits::CacheModifierProxyType |
| using | TransactionInfoType = typename TChangeSubscriberTraits::TransactionInfoType |
Private Member Functions | |
| void | flush () |
Private Attributes | |
| CacheModifierProxyType | m_modifier |
| ChangeSubscriberType & | m_subscriber |
| model::TransactionChangeTracker | m_transactionChangeTracker |
A basic aggregate transactions cache modifier that supports adding and removing of transaction infos.
|
private |
|
private |
|
private |
|
inline |
Creates an aggregate transactions cache modifier around modifier and subscriber.
|
inlineoverridenoexcept |
Destroys the modifier and notifies subscribers of changes.

|
inlineoverride |

|
inlineprivate |


|
inlineprotected |
Gets the modifier.
|
inlineprotected |
Gets the (const) modifier.
|
inlineoverride |
|
inlineprotected |
Removes transactionInfo from the cache.

|
inlineoverride |
|
inlineprotected |
Gets the subscriber.
|
private |
|
private |
|
private |