Class BinLogOptions
- java.lang.Object
-
- org.apache.cassandra.utils.binlog.BinLogOptions
-
- Direct Known Subclasses:
AuditLogOptions,FullQueryLoggerOptions
public class BinLogOptions extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description booleanallow_nodetool_archive_commandenable if a user should be able to set the archive command via nodetool/jmx do not make this a hotprop.java.lang.Stringarchive_commandbooleanblockIndicates if the BinLog should block if the it falls behind or should drop bin log records.intmax_archive_retriesLimit the number of times to retry a command.longmax_log_sizeMaximum size of the rolled files to retain on disk before deleting the oldest file.intmax_queue_weightMaximum weight of in memory queue for records waiting to be written to the binlog file before blocking or dropping the log records.java.lang.Stringroll_cycleHow often to roll BinLog segments so they can potentially be reclaimed.
-
Constructor Summary
Constructors Constructor Description BinLogOptions()
-
-
-
Field Detail
-
archive_command
public java.lang.String archive_command
-
allow_nodetool_archive_command
public boolean allow_nodetool_archive_command
enable if a user should be able to set the archive command via nodetool/jmx do not make this a hotprop.
-
roll_cycle
public java.lang.String 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 block
Indicates 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_weight
Maximum 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_size
Maximum size of the rolled files to retain on disk before deleting the oldest file. For advanced configurations.
-
max_archive_retries
public int max_archive_retries
Limit the number of times to retry a command.
-
-