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:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<FollowerIndexParameters>Json deserializer forFollowerIndexParameters -
Method Summary
Modifier and TypeMethodDescriptionfinal LongThe maximum number of outstanding reads requests from the remote cluster.final IntegerThe maximum number of outstanding write requests on the follower.final IntegerThe maximum number of operations to pull per read from the remote cluster.final StringThe maximum size in bytes of per read of a batch of operations pulled from the remote cluster.final TimeThe maximum time to wait before retrying an operation that failed exceptionally.final IntegerThe maximum number of operations that can be queued for writing.final StringThe maximum total bytes of operations that can be queued for writing.final IntegerThe maximum number of operations per bulk write request executed on the follower.final StringThe maximum total bytes of operations per bulk write request executed on the follower.static FollowerIndexParametersfinal TimeThe maximum time to wait for new operations on the remote cluster when the follower index is synchronized with the leader index.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forFollowerIndexParameters
-
-
Method Details
-
of
public static FollowerIndexParameters of(Function<FollowerIndexParameters.Builder, ObjectBuilder<FollowerIndexParameters>> fn) -
maxOutstandingReadRequests
The maximum number of outstanding reads requests from the remote cluster.API name:
max_outstanding_read_requests -
maxOutstandingWriteRequests
The maximum number of outstanding write requests on the follower.API name:
max_outstanding_write_requests -
maxReadRequestOperationCount
The maximum number of operations to pull per read from the remote cluster.API name:
max_read_request_operation_count -
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
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
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
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
The maximum number of operations per bulk write request executed on the follower.API name:
max_write_request_operation_count -
maxWriteRequestSize
The maximum total bytes of operations per bulk write request executed on the follower.API name:
max_write_request_size -
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
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupFollowerIndexParametersDeserializer
protected static void setupFollowerIndexParametersDeserializer(ObjectDeserializer<FollowerIndexParameters.Builder> op)
-