CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::UtCacheModifier Class Referenceabstract

An interface for modifying an unconfirmed transactions cache. More...

Inheritance diagram for catapult::cache::UtCacheModifier:
Collaboration diagram for catapult::cache::UtCacheModifier:

Public Member Functions

virtual size_t count (const Key &key) const =0
 Gets the number of transactions an account with public key has placed into the cache. More...
 
virtual std::vector< model::TransactionInforemoveAll ()=0
 Removes all transactions from the cache. More...
 
- Public Member Functions inherited from catapult::cache::BasicTransactionsCacheModifier< model::TransactionInfo >
virtual ~BasicTransactionsCacheModifier () noexcept(false)
 
virtual size_t size () const=0
 Returns the number of transactions in the cache. More...
 
virtual bool add (const model::TransactionInfo &transactionInfo)=0
 
virtual model::TransactionInfo remove (const Hash256 &hash)=0
 Removes the transaction identified by hash from the cache. More...
 

Detailed Description

An interface for modifying an unconfirmed transactions cache.

Member Function Documentation

◆ count()

virtual size_t catapult::cache::UtCacheModifier::count ( const Key key) const
pure virtual

Gets the number of transactions an account with public key has placed into the cache.

Here is the caller graph for this function:

◆ removeAll()

virtual std::vector<model::TransactionInfo> catapult::cache::UtCacheModifier::removeAll ( )
pure virtual

Removes all transactions from the cache.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: