CatapultServer
v0.5.0.1 (Elephant)
|
Public Member Functions | |
size_t | count (const Key &key) const |
Gets the number of transactions an account with public key has placed into the cache. More... | |
std::vector< model::TransactionInfo > | removeAll () |
Removes all transactions from the cache. More... | |
Public Member Functions inherited from catapult::cache::BasicTransactionsCacheModifierProxy< model::TransactionInfo, UtCacheModifier > | |
BasicTransactionsCacheModifierProxy (std::unique_ptr< UtCacheModifier > &&pModifier) | |
Creates a transactions cache modifier around pModifier. More... | |
size_t | size () const |
Returns the number of transactions in the cache. More... | |
bool | add (const model::TransactionInfo &transactionInfo) |
model::TransactionInfo | remove (const Hash256 &hash) |
Removes the transaction identified by hash 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... | |
Additional Inherited Members | |
Protected Member Functions inherited from catapult::cache::BasicTransactionsCacheModifierProxy< model::TransactionInfo, UtCacheModifier > | |
UtCacheModifier & | modifier () |
Gets the modifier. More... | |
const UtCacheModifier & | modifier () const |
Gets the (const) modifier. More... | |
A delegating proxy around a UtCacheModifier.
|
inline |
Gets the number of transactions an account with public key has placed into the cache.
|
inline |
Removes all transactions from the cache.