Class FollowerIndexParameters

java.lang.Object
co.elastic.clients.elasticsearch.ccr.follow_info.FollowerIndexParameters
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class FollowerIndexParameters extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • maxOutstandingReadRequests

      @Nullable public final Long maxOutstandingReadRequests()
      The maximum number of outstanding reads requests from the remote cluster.

      API name: max_outstanding_read_requests

    • maxOutstandingWriteRequests

      @Nullable public final Integer maxOutstandingWriteRequests()
      The maximum number of outstanding write requests on the follower.

      API name: max_outstanding_write_requests

    • maxReadRequestOperationCount

      @Nullable public final Integer maxReadRequestOperationCount()
      The maximum number of operations to pull per read from the remote cluster.

      API name: max_read_request_operation_count

    • maxReadRequestSize

      @Nullable public final String maxReadRequestSize()
      The maximum size in bytes of per read of a batch of operations pulled from the remote cluster.

      API name: max_read_request_size

    • maxRetryDelay

      @Nullable public final Time maxRetryDelay()
      The maximum time to wait before retrying an operation that failed exceptionally. An exponential backoff strategy is employed when retrying.

      API name: max_retry_delay

    • maxWriteBufferCount

      @Nullable public final Integer maxWriteBufferCount()
      The maximum number of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will be deferred until the number of queued operations goes below the limit.

      API name: max_write_buffer_count

    • maxWriteBufferSize

      @Nullable public final String maxWriteBufferSize()
      The maximum total bytes of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will be deferred until the total bytes of queued operations goes below the limit.

      API name: max_write_buffer_size

    • maxWriteRequestOperationCount

      @Nullable public final Integer maxWriteRequestOperationCount()
      The maximum number of operations per bulk write request executed on the follower.

      API name: max_write_request_operation_count

    • maxWriteRequestSize

      @Nullable public final String maxWriteRequestSize()
      The maximum total bytes of operations per bulk write request executed on the follower.

      API name: max_write_request_size

    • readPollTimeout

      @Nullable public final Time readPollTimeout()
      The maximum time to wait for new operations on the remote cluster when the follower index is synchronized with the leader index. When the timeout has elapsed, the poll for operations will return to the follower so that it can update some statistics. Then the follower will immediately attempt to read from the leader again.

      API name: read_poll_timeout

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupFollowerIndexParametersDeserializer

      protected static void setupFollowerIndexParametersDeserializer(ObjectDeserializer<FollowerIndexParameters.Builder> op)