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

Public Types

enum  Mode { INDEPENDENT, ONE_AT_A_TIME, STREAM }
 
using Compression = facebook::logdevice::Compression
 

Static Public Member Functions

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)
 

Public Attributes

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
 

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