CatapultServer
v0.5.0.1 (Elephant)
|
Cache for all unconfirmed transactions. More...
Classes | |
struct | Impl |
Public Member Functions | |
MemoryUtCache (const MemoryCacheOptions &options) | |
Creates an unconfirmed transactions cache around options. More... | |
~MemoryUtCache () override | |
Destroys an unconfirmed transactions cache. More... | |
MemoryUtCacheView | view () const |
Gets a read only view based on this cache. More... | |
UtCacheModifierProxy | modifier () override |
Gets a write only view of the cache. More... | |
Public Member Functions inherited from catapult::cache::BasicTransactionsCache< UtCacheModifierProxy > | |
virtual | ~BasicTransactionsCache ()=default |
Public Member Functions inherited from catapult::utils::NonCopyable | |
constexpr | NonCopyable ()=default |
Default constructor. More... | |
~NonCopyable ()=default | |
Default destructor. More... | |
NonCopyable (const NonCopyable &)=delete | |
Disabled copy constructor. More... | |
NonCopyable & | operator= (const NonCopyable &)=delete |
Disabled assignment operator. More... | |
Private Attributes | |
MemoryCacheOptions | m_options |
size_t | m_idSequence |
std::unique_ptr< Impl > | m_pImpl |
utils::SpinReaderWriterLock | m_lock |
Cache for all unconfirmed transactions.
|
explicit |
Creates an unconfirmed transactions cache around options.
|
overridedefault |
Destroys an unconfirmed transactions cache.
|
overridevirtual |
Gets a write only view of the cache.
Implements catapult::cache::BasicTransactionsCache< UtCacheModifierProxy >.
MemoryUtCacheView catapult::cache::MemoryUtCache::view | ( | ) | const |
Gets a read only view based on this cache.
|
private |
|
mutableprivate |
|
private |
|
private |