Class ShardStats
- All Implemented Interfaces:
- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardStats>Json deserializer forShardStats
- 
Method SummaryModifier and TypeMethodDescriptionfinal longRequired - The total of transferred bytes read from the leader.final longRequired - The number of failed reads.final longRequired - The number of failed bulk write requests on the follower.final ErrorCauseAPI name:fatal_exceptionfinal longRequired - The index aliases version the follower is synced up to.final longRequired - The current global checkpoint on the follower.final StringRequired - The name of the follower index.final longRequired - The mapping version the follower is synced up to.final longRequired - The current maximum sequence number on the follower.final longRequired - The index settings version the follower is synced up to.final longRequired - The starting sequence number of the last batch of operations requested from the leader.final longRequired - The current global checkpoint on the leader known to the follower task.final StringRequired - The name of the index in the leader cluster being followed.final longRequired - The current maximum sequence number on the leader known to the follower task.static ShardStatsfinal longRequired - The total number of operations read from the leader.final longRequired - The number of operations written on the follower.final intRequired - The number of active read requests from the follower.final intRequired - The number of active bulk write requests on the follower.final List<ReadException>Required - An array of objects representing failed reads.final StringRequired - The remote cluster containing 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 voidfinal intshardId()Required - The numerical shard ID, with values from 0 to one less than the number of replicas.final longRequired - The number of successful fetches.final longRequired - The number of bulk write requests run on the follower.final TimeAPI name:time_since_last_readfinal longRequired - The number of milliseconds since a read request was sent to the leader.toString()final TimeAPI name:total_read_remote_exec_timefinal longRequired - The total time reads spent running on the remote cluster.final TimeAPI name:total_read_timefinal longRequired - The total time reads were outstanding, measured from the time a read was sent to the leader to the time a reply was returned to the follower.final TimeAPI name:total_write_timefinal longRequired - The total time spent writing on the follower.final longRequired - The number of write operations queued on the follower.final StringRequired - The total number of bytes of operations currently queued for writing.
- 
Field Details- 
_DESERIALIZERJson deserializer forShardStats
 
- 
- 
Method Details- 
of
- 
bytesReadpublic final long bytesRead()Required - The total of transferred bytes read from the leader. This is only an estimate and does not account for compression if enabled.API name: bytes_read
- 
failedReadRequestspublic final long failedReadRequests()Required - The number of failed reads.API name: failed_read_requests
- 
failedWriteRequestspublic final long failedWriteRequests()Required - The number of failed bulk write requests on the follower.API name: failed_write_requests
- 
fatalExceptionAPI name:fatal_exception
- 
followerAliasesVersionpublic final long followerAliasesVersion()Required - The index aliases version the follower is synced up to.API name: follower_aliases_version
- 
followerGlobalCheckpointpublic final long followerGlobalCheckpoint()Required - The current global checkpoint on the follower. The difference between theleader_global_checkpointand thefollower_global_checkpointis an indication of how much the follower is lagging the leader.API name: follower_global_checkpoint
- 
followerIndexRequired - The name of the follower index.API name: follower_index
- 
followerMappingVersionpublic final long followerMappingVersion()Required - The mapping version the follower is synced up to.API name: follower_mapping_version
- 
followerMaxSeqNopublic final long followerMaxSeqNo()Required - The current maximum sequence number on the follower.API name: follower_max_seq_no
- 
followerSettingsVersionpublic final long followerSettingsVersion()Required - The index settings version the follower is synced up to.API name: follower_settings_version
- 
lastRequestedSeqNopublic final long lastRequestedSeqNo()Required - The starting sequence number of the last batch of operations requested from the leader.API name: last_requested_seq_no
- 
leaderGlobalCheckpointpublic final long leaderGlobalCheckpoint()Required - The current global checkpoint on the leader known to the follower task.API name: leader_global_checkpoint
- 
leaderIndexRequired - The name of the index in the leader cluster being followed.API name: leader_index
- 
leaderMaxSeqNopublic final long leaderMaxSeqNo()Required - The current maximum sequence number on the leader known to the follower task.API name: leader_max_seq_no
- 
operationsReadpublic final long operationsRead()Required - The total number of operations read from the leader.API name: operations_read
- 
operationsWrittenpublic final long operationsWritten()Required - The number of operations written on the follower.API name: operations_written
- 
outstandingReadRequestspublic final int outstandingReadRequests()Required - The number of active read requests from the follower.API name: outstanding_read_requests
- 
outstandingWriteRequestspublic final int outstandingWriteRequests()Required - The number of active bulk write requests on the follower.API name: outstanding_write_requests
- 
readExceptionsRequired - An array of objects representing failed reads.API name: read_exceptions
- 
remoteClusterRequired - The remote cluster containing the leader index.API name: remote_cluster
- 
shardIdpublic final int shardId()Required - The numerical shard ID, with values from 0 to one less than the number of replicas.API name: shard_id
- 
successfulReadRequestspublic final long successfulReadRequests()Required - The number of successful fetches.API name: successful_read_requests
- 
successfulWriteRequestspublic final long successfulWriteRequests()Required - The number of bulk write requests run on the follower.API name: successful_write_requests
- 
timeSinceLastReadAPI name:time_since_last_read
- 
timeSinceLastReadMillispublic final long timeSinceLastReadMillis()Required - The number of milliseconds since a read request was sent to the leader. When the follower is caught up to the leader, this number will increase up to the configuredread_poll_timeoutat which point another read request will be sent to the leader.API name: time_since_last_read_millis
- 
totalReadRemoteExecTimeAPI name:total_read_remote_exec_time
- 
totalReadRemoteExecTimeMillispublic final long totalReadRemoteExecTimeMillis()Required - The total time reads spent running on the remote cluster.API name: total_read_remote_exec_time_millis
- 
totalReadTimeAPI name:total_read_time
- 
totalReadTimeMillispublic final long totalReadTimeMillis()Required - The total time reads were outstanding, measured from the time a read was sent to the leader to the time a reply was returned to the follower.API name: total_read_time_millis
- 
totalWriteTimeAPI name:total_write_time
- 
totalWriteTimeMillispublic final long totalWriteTimeMillis()Required - The total time spent writing on the follower.API name: total_write_time_millis
- 
writeBufferOperationCountpublic final long writeBufferOperationCount()Required - The number of write operations queued on the follower.API name: write_buffer_operation_count
- 
writeBufferSizeInBytesRequired - The total number of bytes of operations currently queued for writing.API name: write_buffer_size_in_bytes
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupShardStatsDeserializer
 
-