CatapultServer
v0.5.0.1 (Elephant)
|
A delegating proxy around a memory-based cache. More...
Public Member Functions | |
MemoryCacheProxy (const MemoryCacheOptions &options) | |
Creates a proxy around options. More... | |
template<typename TMutableCacheFactory , typename... TArgs> | |
MemoryCacheProxy (const MemoryCacheOptions &options, TMutableCacheFactory factory, TArgs &&... args) | |
auto | view () const |
Gets a read only view based on this cache. More... | |
operator const TMemoryCache & () const | |
Implicitly casts this proxy to a (const) memory cache. More... | |
TCacheModifierProxy | modifier () override |
Private Attributes | |
TMemoryCache | m_memoryCache |
std::unique_ptr< TCache > | m_pMutableCache |
TCache * | m_pCache |
A delegating proxy around a memory-based cache.
|
inlineexplicit |
Creates a proxy around options.
|
inlineexplicit |
Creates a proxy around options and the write-only cache created by factory with args arguments.
|
inlineoverride |
|
inline |
Implicitly casts this proxy to a (const) memory cache.
|
inline |
Gets a read only view based on this cache.
|
private |
|
private |
|
private |