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