CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
25 namespace catapult {
namespace cache {
28 template<
typename TMemoryCache,
typename TCache,
typename TCacheModifierProxy>
39 template<
typename TMutableCacheFactory,
typename... TArgs>
53 operator const TMemoryCache&()
const {
std::unique_ptr< TCache > m_pMutableCache
Definition: MemoryCacheProxy.h:64
TCacheModifierProxy modifier() override
Definition: MemoryCacheProxy.h:58
A delegating proxy around a memory-based cache.
Definition: MemoryCacheProxy.h:29
auto view() const
Gets a read only view based on this cache.
Definition: MemoryCacheProxy.h:48
TMemoryCache m_memoryCache
Definition: MemoryCacheProxy.h:63
MemoryCacheProxy(const MemoryCacheOptions &options, TMutableCacheFactory factory, TArgs &&... args)
Definition: MemoryCacheProxy.h:40
TCache * m_pCache
Definition: MemoryCacheProxy.h:65
MemoryCacheProxy(const MemoryCacheOptions &options)
Creates a proxy around options.
Definition: MemoryCacheProxy.h:32
Definition: AddressExtractionExtension.cpp:28
Options for customizing the behavior of a memory based cache.
Definition: MemoryCacheOptions.h:27