CollectionConfig.hpp
uint32_t getLoaded()
Get the number of items to load into memory from the start of the collection.
C++ class wrapper for the fiftyoneDegreesCollectionConfig structure.
Definition: CollectionConfig.hpp:50
fiftyoneDegreesCollectionConfig * getConfig()
Get a pointer to the underlying configuration structure.
CollectionConfig()
Construct a new instance of CollectionConfig with the default configuration.
uint32_t getCapacity()
Get the number of items the cache should store, 0 for no cache.
void setConcurrency(uint16_t concurrency)
Set the expected number of concurrent requests.
uint16_t getConcurrency()
Get the expected number of concurrent requests.
Collection configuration structure which defines how the collection should be created by the create m...
Definition: collection.h:288
void setLoaded(uint32_t loaded)
Set the number of items to load into memory from the start of the collection.
void setCapacity(uint32_t capacity)
Set the number of items the cache should store, 0 for no cache.