CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::HashCacheDescriptor Struct Reference

Describes a hash cache. More...

Public Types

using KeyType = state::TimestampedHash
 
using ValueType = state::TimestampedHash
 
using Serializer = HashCachePrimarySerializer
 
using CacheType = HashCache
 
using CacheDeltaType = HashCacheDelta
 
using CacheViewType = HashCacheView
 

Static Public Member Functions

static const auto & GetKeyFromValue (const ValueType &timestampedHash)
 Gets the key corresponding to timestampedHash. More...
 

Static Public Attributes

static constexpr auto Name = "HashCache"
 

Detailed Description

Describes a hash cache.

Member Typedef Documentation

◆ CacheDeltaType

◆ CacheType

◆ CacheViewType

◆ KeyType

◆ Serializer

◆ ValueType

Member Function Documentation

◆ GetKeyFromValue()

static const auto& catapult::cache::HashCacheDescriptor::GetKeyFromValue ( const ValueType timestampedHash)
inlinestatic

Gets the key corresponding to timestampedHash.

Member Data Documentation

◆ Name

constexpr auto catapult::cache::HashCacheDescriptor::Name = "HashCache"
staticconstexpr

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