CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::DetachedSubCacheView Class Referenceabstract

Detached sub cache view. More...

Inheritance diagram for catapult::cache::DetachedSubCacheView:

Public Member Functions

virtual ~DetachedSubCacheView ()=default
 
virtual std::unique_ptr< SubCacheViewtryLock ()=0
 

Detailed Description

Detached sub cache view.

Constructor & Destructor Documentation

◆ ~DetachedSubCacheView()

virtual catapult::cache::DetachedSubCacheView::~DetachedSubCacheView ( )
virtualdefault

Member Function Documentation

◆ tryLock()

virtual std::unique_ptr<SubCacheView> catapult::cache::DetachedSubCacheView::tryLock ( )
pure virtual

Locks the cache delta.

Note
Returns nullptr if the detached delta is no longer valid.

Implemented in catapult::cache::SubCachePluginAdapter< TCache, TStorageTraits >::DetachedSubCacheViewAdapter< TLockableCacheDelta >.


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