|
CatapultServer
v0.5.0.1 (Elephant)
|
A read-only overlay on top of a cache that provides support for contains, get and isActive. More...


Classes | |
| class | ReadOnlyFindIterator |
| Find iterator returned by ReadOnlyArtifactCache::find. More... | |
Public Member Functions | |
| ReadOnlyArtifactCache (const TCache &cache) | |
| Creates a read-only overlay on top of cache. More... | |
| ReadOnlyArtifactCache (const TCacheDelta &cache) | |
| Creates a read-only overlay on top of cache. More... | |
| auto | find (TKey id) const |
| Finds the cache value identified by key. More... | |
| bool | isActive (TKey id, Height height) const |
| Gets a value indicating whether or not an artifact with id is active at height. More... | |
Public Member Functions inherited from catapult::cache::ReadOnlySimpleCache< TCache, TCacheDelta, TKey > | |
| ReadOnlySimpleCache (const TCache &cache) | |
| Creates a read-only overlay on top of cache. More... | |
| ReadOnlySimpleCache (const TCacheDelta &cache) | |
| Creates a read-only overlay on top of cache. More... | |
| size_t | size () const |
| Returns the number of elements in the cache. More... | |
| bool | contains (const TKey &key) const |
Private Attributes | |
| const TCache * | m_pCache |
| const TCacheDelta * | m_pCacheDelta |
A read-only overlay on top of a cache that provides support for contains, get and isActive.
|
inlineexplicit |
Creates a read-only overlay on top of cache.
|
inlineexplicit |
Creates a read-only overlay on top of cache.
|
inline |
Finds the cache value identified by key.
|
inline |
Gets a value indicating whether or not an artifact with id is active at height.
|
private |
|
private |