Package deltix.qsrv.hf.tickdb.pub
Class BufferOptions
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.pub.BufferOptions
-
public class BufferOptions extends java.lang.Object
Options controlling data buffering in streams.
-
-
Field Summary
Fields Modifier and Type Field Description int
initialBufferSize
Initial size of the write buffer in bytes.boolean
lossless
Applicable to transient streams only.int
maxBufferSize
The limit on buffer growth in bytes.long
maxBufferTimeDepth
The limit on buffer growth as difference between first and last message time.
-
Constructor Summary
Constructors Constructor Description BufferOptions()
-
-
-
Field Detail
-
initialBufferSize
public int initialBufferSize
Initial size of the write buffer in bytes.
-
maxBufferSize
public int maxBufferSize
The limit on buffer growth in bytes. Default is 64K.
-
maxBufferTimeDepth
public long maxBufferTimeDepth
The limit on buffer growth as difference between first and last message time. Default is Long.MAX_VALUE.
-
lossless
public boolean lossless
Applicable to transient streams only. When set totrue
, the loader will be delayed until all currently open cursors have read enough messages to free up space in the buffer. When set tofalse
, older messages will be discarded after the buffer is filled up regardless of whether there are open cursors that have not yet read such messages. Default isfalse
. Durable streams are always lossless.
-
-