Class BinLogOptions
java.lang.Object
org.apache.cassandra.utils.binlog.BinLogOptions
- Direct Known Subclasses:
AuditLogOptions,FullQueryLoggerOptions
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanenable if a user should be able to set the archive command via nodetool/jmx do not make this a hotprop.booleanIndicates if the BinLog should block if the it falls behind or should drop bin log records.intLimit the number of times to retry a command.longMaximum size of the rolled files to retain on disk before deleting the oldest file.intMaximum weight of in memory queue for records waiting to be written to the binlog file before blocking or dropping the log records.How often to roll BinLog segments so they can potentially be reclaimed. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
archive_command
-
allow_nodetool_archive_command
public boolean allow_nodetool_archive_commandenable if a user should be able to set the archive command via nodetool/jmx do not make this a hotprop. -
roll_cycle
How often to roll BinLog segments so they can potentially be reclaimed. Available options are: MINUTELY, HOURLY, DAILY, LARGE_DAILY, XLARGE_DAILY, HUGE_DAILY. For more options, refer: net.openhft.chronicle.queue.RollCycles -
block
public boolean blockIndicates if the BinLog should block if the it falls behind or should drop bin log records. Default is set to true so that BinLog records wont be lost -
max_queue_weight
public int max_queue_weightMaximum weight of in memory queue for records waiting to be written to the binlog file before blocking or dropping the log records. For advanced configurations -
max_log_size
public long max_log_sizeMaximum size of the rolled files to retain on disk before deleting the oldest file. For advanced configurations. -
max_archive_retries
public int max_archive_retriesLimit the number of times to retry a command.
-
-
Constructor Details
-
BinLogOptions
public BinLogOptions()
-