|
CatapultServer
v0.5.0.1 (Elephant)
|
An optional cache-delta, read-lock pair. More...


Public Member Functions | |
| OptionalLockedCacheDelta () | |
| Creates a empty view. More... | |
| OptionalLockedCacheDelta (TCacheView &cacheView, utils::SpinReaderWriterLock::ReaderLockGuard &&readLock) | |
| Creates a view around cacheView and pReadLock. More... | |
Public Member Functions inherited from catapult::cache::detail::CacheViewAccessor< TCacheView > | |
| CacheViewAccessor (TCacheView *pCacheView) | |
| Creates an accessor around pCacheView;. More... | |
| operator bool () const | |
Returns true if the underlying cache view is valid. More... | |
| const TCacheView * | operator-> () const |
| Gets a const pointer to the underlying cache view. More... | |
| const TCacheView & | operator* () const |
| Gets a const reference to the underlying cache view. More... | |
| TCacheView * | operator-> () |
| Gets a pointer to the underlying cache view. More... | |
| TCacheView & | operator* () |
| Gets a reference to the underlying cache view. More... | |
Private Attributes | |
| boost::optional< utils::SpinReaderWriterLock::ReaderLockGuard > | m_readLock |
An optional cache-delta, read-lock pair.
|
inline |
Creates a empty view.
|
inline |
Creates a view around cacheView and pReadLock.
|
private |