Class SynchronizerConfig.SynchronizerConfigBuilder

  • Enclosing class:
    SynchronizerConfig

    public static class SynchronizerConfig.SynchronizerConfigBuilder
    extends java.lang.Object
    • Method Detail

      • eventWriterConfig

        public SynchronizerConfig.SynchronizerConfigBuilder eventWriterConfig​(EventWriterConfig eventWriterConfig)
        This writer config is used by the segment writers in the StateSyncrhonizer. The default values enable connection pooling and ensures the background connection retry attempts continue until the StateSyncrhonizer is closed.
        Returns:
        this.
      • readBufferSize

        public SynchronizerConfig.SynchronizerConfigBuilder readBufferSize​(int readBufferSize)
        This size is used to allocate buffer space for the bytes the reader in the StateSyncrhonizer reads from the segment. The default buffer size is 256KB.
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object