Package org.rocksdb
Class TraceOptions
java.lang.Object
org.rocksdb.TraceOptions
TraceOptions is used for
RocksDB.startTrace(TraceOptions, AbstractTraceWriter).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongTo avoid the trace file size grows larger than the storage space, user can set the max trace file size in Bytes.
-
Constructor Details
-
TraceOptions
public TraceOptions() -
TraceOptions
public TraceOptions(long maxTraceFileSize)
-
-
Method Details
-
getMaxTraceFileSize
public long getMaxTraceFileSize()To avoid the trace file size grows larger than the storage space, user can set the max trace file size in Bytes. Default is 64 GB.- Returns:
- the max trace size
-