CatapultServer
v0.5.0.1 (Elephant)
|
Builder for creating a catapult cache around sub caches. More...
Public Member Functions | |
template<typename TStorageTraits , typename TCache > | |
void | add (std::unique_ptr< TCache > &&pSubCache) |
Adds pSubCache to the builder with the specified storage traits. More... | |
void | add (std::unique_ptr< SubCachePlugin > &&pSubCachePlugin) |
Adds pSubCachePlugin to the builder. More... | |
CatapultCache | build () |
Builds a catapult cache. More... | |
Private Attributes | |
std::vector< std::unique_ptr< SubCachePlugin > > | m_subCaches |
Builder for creating a catapult cache around sub caches.
|
inline |
Adds pSubCachePlugin to the builder.
|
inline |
Adds pSubCache to the builder with the specified storage traits.
|
inline |
Builds a catapult cache.
|
private |