Class BinLog.Builder
- java.lang.Object
-
- org.apache.cassandra.utils.binlog.BinLog.Builder
-
- Enclosing class:
- BinLog
public static class BinLog.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinLog.BuilderarchiveCommand(java.lang.String archiveCommand)BinLog.Builderblocking(boolean blocking)BinLogbuild(boolean cleanDirectory)BinLog.BuildermaxArchiveRetries(int maxArchiveRetries)BinLog.BuildermaxLogSize(long maxLogSize)BinLog.BuildermaxQueueWeight(int maxQueueWeight)BinLog.Builderpath(java.nio.file.Path path)BinLog.BuilderrollCycle(java.lang.String rollCycle)
-
-
-
Method Detail
-
path
public BinLog.Builder path(java.nio.file.Path path)
-
rollCycle
public BinLog.Builder rollCycle(java.lang.String rollCycle)
-
maxQueueWeight
public BinLog.Builder maxQueueWeight(int maxQueueWeight)
-
maxLogSize
public BinLog.Builder maxLogSize(long maxLogSize)
-
archiveCommand
public BinLog.Builder archiveCommand(java.lang.String archiveCommand)
-
maxArchiveRetries
public BinLog.Builder maxArchiveRetries(int maxArchiveRetries)
-
blocking
public BinLog.Builder blocking(boolean blocking)
-
build
public BinLog build(boolean cleanDirectory)
-
-