cesium-native  0.41.0
CesiumAsync::CacheItem Class Reference

Cache item retrieved from the cache database. More...

#include <CesiumAsync/CacheItem.h>

Public Member Functions

 CacheItem (std::time_t cacheExpiryTime, CacheRequest &&request, CacheResponse &&response)
 Constructor. More...
 

Public Attributes

std::time_t expiryTime
 The time point that this cache item is expired.
 
CacheRequest cacheRequest
 The cache request owned by this cache item.
 
CacheResponse cacheResponse
 The cache response owned by this cache item.
 

Detailed Description

Cache item retrieved from the cache database.

Definition at line 89 of file CacheItem.h.

Constructor & Destructor Documentation

◆ CacheItem()

CesiumAsync::CacheItem::CacheItem ( std::time_t  cacheExpiryTime,
CacheRequest &&  request,
CacheResponse &&  response 
)
inline

Constructor.

Parameters
cacheExpiryTimethe time point this cache item will be expired
requestthe cache request owned by this item
responsethe cache response owned by this item

Definition at line 97 of file CacheItem.h.


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