CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::MemoryCacheOptions Class Reference

Options for customizing the behavior of a memory based cache. More...

Public Member Functions

constexpr MemoryCacheOptions ()
 Creates default options. More...
 
constexpr MemoryCacheOptions (uint64_t maxResponseSize, uint64_t maxCacheSize)
 Creates options with custom maxResponseSize and maxCacheSize. More...
 

Public Attributes

uint64_t MaxResponseSize
 Maximum response size. More...
 
uint64_t MaxCacheSize
 Maximum size of the cache. More...
 

Detailed Description

Options for customizing the behavior of a memory based cache.

Constructor & Destructor Documentation

◆ MemoryCacheOptions() [1/2]

constexpr catapult::cache::MemoryCacheOptions::MemoryCacheOptions ( )
inlineconstexpr

Creates default options.

◆ MemoryCacheOptions() [2/2]

constexpr catapult::cache::MemoryCacheOptions::MemoryCacheOptions ( uint64_t  maxResponseSize,
uint64_t  maxCacheSize 
)
inlineconstexpr

Creates options with custom maxResponseSize and maxCacheSize.

Member Data Documentation

◆ MaxCacheSize

uint64_t catapult::cache::MemoryCacheOptions::MaxCacheSize

Maximum size of the cache.

◆ MaxResponseSize

uint64_t catapult::cache::MemoryCacheOptions::MaxResponseSize

Maximum response size.


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