Twitch SDK (Internal)
Public Member Functions | Public Attributes | List of all members
ttv::Cache< KEY_TYPE, VALUE_TYPE >::CacheEntry Struct Reference

#include <cache.h>

Public Member Functions

 CacheEntry ()
 

Public Attributes

KEY_TYPE key
 
uint64_t expiryTime
 The time the data will expire. More...
 
uint64_t lastUsedTime
 The last time the data was used. More...
 
VALUE_TYPE data
 The cached data. More...
 

Constructor & Destructor Documentation

◆ CacheEntry()

template<typename KEY_TYPE, typename VALUE_TYPE>
ttv::Cache< KEY_TYPE, VALUE_TYPE >::CacheEntry::CacheEntry ( )
inline

Member Data Documentation

◆ data

template<typename KEY_TYPE, typename VALUE_TYPE>
VALUE_TYPE ttv::Cache< KEY_TYPE, VALUE_TYPE >::CacheEntry::data

The cached data.

◆ expiryTime

template<typename KEY_TYPE, typename VALUE_TYPE>
uint64_t ttv::Cache< KEY_TYPE, VALUE_TYPE >::CacheEntry::expiryTime

The time the data will expire.

◆ key

template<typename KEY_TYPE, typename VALUE_TYPE>
KEY_TYPE ttv::Cache< KEY_TYPE, VALUE_TYPE >::CacheEntry::key

◆ lastUsedTime

template<typename KEY_TYPE, typename VALUE_TYPE>
uint64_t ttv::Cache< KEY_TYPE, VALUE_TYPE >::CacheEntry::lastUsedTime

The last time the data was used.


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