CatapultServer
v0.5.0.1 (Elephant)
|
Go to the source code of this file.
Namespaces | |
catapult | |
catapult::observers | |
Functions | |
constexpr bool | catapult::observers::ShouldPrune (const ObserverContext &context, size_t pruneInterval) |
Returns true if context and pruneInterval indicate that pruning should be done. More... | |
template<typename TAction > | |
constexpr bool | catapult::observers::ShouldLink (TAction action, NotifyMode notifyMode) |
Returns true if action and notifyMode indicate that a link should be made. More... | |
template<typename TCache > | |
NotificationObserverPointerT< model::BlockNotification > | catapult::observers::CreateCacheBlockPruningObserver (const std::string &name, size_t interval, BlockDuration gracePeriod) |
template<typename TCache > | |
NotificationObserverPointerT< model::BlockNotification > | catapult::observers::CreateCacheTimePruningObserver (const std::string &name, size_t interval) |
Creates a time-based cache pruning observer with name that runs every interval blocks. More... | |
template<typename TCache > | |
NotificationObserverPointerT< model::BlockNotification > | catapult::observers::CreateCacheBlockTouchObserver (const std::string &name, model::ReceiptType receiptType) |