17 #ifndef DEFAULTLOGUPLOADCONFIGURATION_HPP_
18 #define DEFAULTLOGUPLOADCONFIGURATION_HPP_
27 : blockSize_(DEFAULT_BLOCK_SIZE)
28 , maxStorageVolume_(DEFAULT_MAX_STORAGE_VOLUME)
29 , volumeThreshold_(DEFAULT_VOLUME_THRESHOLD) {}
32 : blockSize_(blockSize)
33 , maxStorageVolume_(maxStorageVolume)
34 , volumeThreshold_(volumeThreshold) {}
42 size_t maxStorageVolume_;
43 size_t volumeThreshold_;
45 static const size_t DEFAULT_BLOCK_SIZE = 8192;
46 static const size_t DEFAULT_MAX_STORAGE_VOLUME = 1024*1024;
47 static const size_t DEFAULT_VOLUME_THRESHOLD = DEFAULT_BLOCK_SIZE * 4;
size_t getMaxStorageVolume() const
size_t getVolumeThreshold() const
DefaultLogUploadConfiguration()
size_t getBlockSize() const
DefaultLogUploadConfiguration(size_t blockSize, size_t maxStorageVolume, size_t volumeThreshold)