CatapultServer
v0.5.0.1 (Elephant)
|
Public Member Functions | |
LockedCacheView (TCacheView &&cacheView, utils::SpinReaderWriterLock::ReaderLockGuard &&readLock) | |
Creates a view around cacheView and readLock. More... | |
LockedCacheView (LockedCacheView &&rhs) | |
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 | |
TCacheView | m_cacheView |
utils::SpinReaderWriterLock::ReaderLockGuard | m_readLock |
A cache-view, read-lock pair.
|
inline |
Creates a view around cacheView and readLock.
|
inline |
Move constructs a view from rhs.
|
private |
|
private |