LogDevice API
Public Attributes | List of all members
facebook::logdevice::BufferedWriter::Options Struct Reference
Inheritance diagram for facebook::logdevice::BufferedWriter::Options:
facebook::logdevice::BufferedWriter::LogOptions

Public Attributes

int32_t memory_limit_mb = -1
 
- Public Attributes inherited from facebook::logdevice::BufferedWriter::LogOptions
std::chrono::milliseconds time_trigger {-1}
 
ssize_t size_trigger = -1
 
Mode mode = Mode::INDEPENDENT
 
int retry_count = 0
 
std::chrono::milliseconds retry_initial_delay {-1}
 
std::chrono::milliseconds retry_max_delay {60000}
 
Compression compression = Compression::LZ4
 
bool destroy_payloads = false
 

Additional Inherited Members

- Public Types inherited from facebook::logdevice::BufferedWriter::LogOptions
enum  Mode { INDEPENDENT, ONE_AT_A_TIME, STREAM }
 
using Compression = facebook::logdevice::Compression
 
- Static Public Member Functions inherited from facebook::logdevice::BufferedWriter::LogOptions
static std::string modeToString (Mode mode)
 
static int parseMode (const char *str, Mode *out_mode)
 
static std::string compressionToString (Compression c)
 
static int parseCompression (const char *str, Compression *out_c)
 

The documentation for this struct was generated from the following file: