Kagome
Polkadot Runtime Engine in C++17
kagome::runtime::SmallLruCache< Key, Value, PriorityType >::CacheEntry Struct Reference

#include <runtime_instances_pool.hpp>

Collaboration diagram for kagome::runtime::SmallLruCache< Key, Value, PriorityType >::CacheEntry:

Public Member Functions

bool operator< (const CacheEntry &rhs) const
 

Public Attributes

Key key
 
Value value
 
PriorityType latest_use_tick_
 

Detailed Description

template<typename Key, typename Value, typename PriorityType = uint64_t>
struct kagome::runtime::SmallLruCache< Key, Value, PriorityType >::CacheEntry

Definition at line 22 of file runtime_instances_pool.hpp.

Member Function Documentation

template<typename Key , typename Value , typename PriorityType = uint64_t>
bool kagome::runtime::SmallLruCache< Key, Value, PriorityType >::CacheEntry::operator< ( const CacheEntry rhs) const
inline

Definition at line 27 of file runtime_instances_pool.hpp.

Member Data Documentation

template<typename Key , typename Value , typename PriorityType = uint64_t>
Key kagome::runtime::SmallLruCache< Key, Value, PriorityType >::CacheEntry::key

Definition at line 23 of file runtime_instances_pool.hpp.

template<typename Key , typename Value , typename PriorityType = uint64_t>
PriorityType kagome::runtime::SmallLruCache< Key, Value, PriorityType >::CacheEntry::latest_use_tick_

Definition at line 25 of file runtime_instances_pool.hpp.

template<typename Key , typename Value , typename PriorityType = uint64_t>
Value kagome::runtime::SmallLruCache< Key, Value, PriorityType >::CacheEntry::value

Definition at line 24 of file runtime_instances_pool.hpp.


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