CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::CacheHeight Class Reference

A synchronized height associated with a catapult cache. More...

Collaboration diagram for catapult::cache::CacheHeight:

Public Member Functions

CacheHeightView view () const
 Gets a read only view of the height. More...
 
CacheHeightModifier modifier ()
 Gets a write only view of the height. More...
 

Private Attributes

Height m_height
 
utils::SpinReaderWriterLock m_lock
 

Detailed Description

A synchronized height associated with a catapult cache.

Member Function Documentation

◆ modifier()

CacheHeightModifier catapult::cache::CacheHeight::modifier ( )
inline

Gets a write only view of the height.

Here is the call graph for this function:

◆ view()

CacheHeightView catapult::cache::CacheHeight::view ( ) const
inline

Gets a read only view of the height.

Here is the call graph for this function:

Member Data Documentation

◆ m_height

Height catapult::cache::CacheHeight::m_height
private

◆ m_lock

utils::SpinReaderWriterLock catapult::cache::CacheHeight::m_lock
mutableprivate

The documentation for this class was generated from the following file: