Class 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()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 to true, the loader will be delayed until all currently open cursors have read enough messages to free up space in the buffer. When set to false, 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 is false. Durable streams are always lossless.
    • Constructor Detail

      • BufferOptions

        public BufferOptions()