cesium-native 0.43.0
Loading...
Searching...
No Matches
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.
 

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 88 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 96 of file CacheItem.h.

Member Data Documentation

◆ cacheRequest

CacheRequest CesiumAsync::CacheItem::cacheRequest

The cache request owned by this cache item.

Definition at line 112 of file CacheItem.h.

◆ cacheResponse

CacheResponse CesiumAsync::CacheItem::cacheResponse

The cache response owned by this cache item.

Definition at line 117 of file CacheItem.h.

◆ expiryTime

std::time_t CesiumAsync::CacheItem::expiryTime

The time point that this cache item is expired.

Definition at line 107 of file CacheItem.h.


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