|
CatapultServer
v0.5.0.1 (Elephant)
|
Cache for all partial transactions. More...


Classes | |
| struct | Impl |
Public Member Functions | |
| MemoryPtCache (const MemoryCacheOptions &options) | |
| Creates a partial transactions cache around options. More... | |
| ~MemoryPtCache () override | |
| Destroys a partial transactions cache. More... | |
| MemoryPtCacheView | view () const |
| Gets a read only view based on this cache. More... | |
| PtCacheModifierProxy | modifier () override |
| Gets a write only view of the cache. More... | |
Public Member Functions inherited from catapult::cache::BasicTransactionsCache< PtCacheModifierProxy > | |
| 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 |
| std::unique_ptr< Impl > | m_pImpl |
| utils::SpinReaderWriterLock | m_lock |
Cache for all partial transactions.
|
explicit |
Creates a partial transactions cache around options.
|
overridedefault |
Destroys a partial transactions cache.
|
overridevirtual |
Gets a write only view of the cache.
Implements catapult::cache::BasicTransactionsCache< PtCacheModifierProxy >.

| MemoryPtCacheView catapult::cache::MemoryPtCache::view | ( | ) | const |
Gets a read only view based on this cache.

|
mutableprivate |
|
private |
|
private |