Class ShardsRecord
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardsRecord>
Json deserializer forShardsRecord
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The average size in bytes of shard bulk operations.final String
The average time spent in shard bulk operations.final String
The number of bulk shard operations.final String
The total size in bytes of shard bulk operations.final String
The time spent in shard bulk operations.final String
The size of completion.final String
docs()
The number of documents in the shard.final String
The fielddata cache evictions.final String
The used fielddata cache memory.final String
The number of flushes.final String
The time spent in flush.final String
The number of current get operations.final String
The time spent in successful get operations.final String
The number of successful get operations.final String
The time spent in failed get operations.final String
The number of failed get operations.final String
getTime()
The time spent in get operations.final String
getTotal()
The number of get operations.final String
id()
The unique identifier for the node.final String
index()
The index name.final String
The number of current deletion operations.final String
The time spent in deletion operations.final String
The number of delete operations.final String
The number of current indexing operations.final String
The number of failed indexing operations.final String
The time spent in indexing operations.final String
The number of indexing operations.final String
ip()
The IP address of the node.final String
The number of current merge operations.final String
The number of current merging documents.final String
The size of current merge operations.final String
The number of completed merge operations.final String
The nuber of merged documents.final String
The size of current merges.final String
The time spent merging documents.final String
node()
The name of node.static ShardsRecord
final String
pathData()
The shard data path.final String
The shard state path.final String
prirep()
The shard type:primary
orreplica
.final String
The query cache evictions.final String
The used query cache memory.final String
The type of recovery source.final String
The time spent in external refreshes.final String
The total nunber of external refreshes.final String
The number of pending refresh listeners.final String
The time spent in refreshes.final String
The total number of refreshes.final String
The current fetch phase operations.final String
The time spent in fetch phase.final String
The total number of fetch operations.final String
The number of open search contexts.final String
The current query phase operations.final String
The time spent in query phase.final String
The total number of query phase operations.final String
The open scroll contexts.final String
The time scroll contexts were held open.final String
The number of completed scroll contexts.final String
The number of segments.final String
The memory used by fixed bit sets for nested object field types and export type filters for types referred in_parent
fields.final String
The memory used by the index writer.final String
The memory used by segments.final String
The memory used by the version map.final String
The global checkpoint.final String
The local checkpoint.final String
seqNoMax()
The maximum sequence number.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final String
shard()
The shard name.final String
state()
The shard state.final String
store()
The disk space used by the shard.final String
syncId()
The sync identifier.toString()
final String
The time at which the shard became unassigned in Coordinated Universal Time (UTC).final String
Additional details as to why the shard became unassigned.final String
The time at which the shard was requested to be unassigned in Coordinated Universal Time (UTC).final String
The reason for the last change to the state of an unassigned shard.final String
The number of current warmer operations.final String
The total number of warmer operations.final String
The time spent in warmer operations.
-
Field Details
-
_DESERIALIZER
Json deserializer forShardsRecord
-
-
Method Details
-
of
-
index
The index name.API name:
index
-
shard
The shard name.API name:
shard
-
prirep
The shard type:primary
orreplica
.API name:
prirep
-
state
The shard state. Returned values include:INITIALIZING
: The shard is recovering from a peer shard or gateway.RELOCATING
: The shard is relocating.STARTED
: The shard has started.UNASSIGNED
: The shard is not assigned to any node.API name:
state
-
docs
The number of documents in the shard.API name:
docs
-
store
The disk space used by the shard.API name:
store
-
ip
The IP address of the node.API name:
ip
-
id
The unique identifier for the node.API name:
id
-
node
The name of node.API name:
node
-
syncId
The sync identifier.API name:
sync_id
-
unassignedReason
The reason for the last change to the state of an unassigned shard. It does not explain why the shard is currently unassigned; use the cluster allocation explain API for that information. Returned values include:ALLOCATION_FAILED
: Unassigned as a result of a failed allocation of the shard.CLUSTER_RECOVERED
: Unassigned as a result of a full cluster recovery.DANGLING_INDEX_IMPORTED
: Unassigned as a result of importing a dangling index.EXISTING_INDEX_RESTORED
: Unassigned as a result of restoring into a closed index.FORCED_EMPTY_PRIMARY
: The shard’s allocation was last modified by forcing an empty primary using the cluster reroute API.INDEX_CLOSED
: Unassigned because the index was closed.INDEX_CREATED
: Unassigned as a result of an API creation of an index.INDEX_REOPENED
: Unassigned as a result of opening a closed index.MANUAL_ALLOCATION
: The shard’s allocation was last modified by the cluster reroute API.NEW_INDEX_RESTORED
: Unassigned as a result of restoring into a new index.NODE_LEFT
: Unassigned as a result of the node hosting it leaving the cluster.NODE_RESTARTING
: Similar toNODE_LEFT
, except that the node was registered as restarting using the node shutdown API.PRIMARY_FAILED
: The shard was initializing as a replica, but the primary shard failed before the initialization completed.REALLOCATED_REPLICA
: A better replica location is identified and causes the existing replica allocation to be cancelled.REINITIALIZED
: When a shard moves from started back to initializing.REPLICA_ADDED
: Unassigned as a result of explicit addition of a replica.REROUTE_CANCELLED
: Unassigned as a result of explicit cancel reroute command.API name:
unassigned.reason
-
unassignedAt
The time at which the shard became unassigned in Coordinated Universal Time (UTC).API name:
unassigned.at
-
unassignedFor
The time at which the shard was requested to be unassigned in Coordinated Universal Time (UTC).API name:
unassigned.for
-
unassignedDetails
Additional details as to why the shard became unassigned. It does not explain why the shard is not assigned; use the cluster allocation explain API for that information.API name:
unassigned.details
-
recoverysourceType
The type of recovery source.API name:
recoverysource.type
-
completionSize
The size of completion.API name:
completion.size
-
fielddataMemorySize
The used fielddata cache memory.API name:
fielddata.memory_size
-
fielddataEvictions
The fielddata cache evictions.API name:
fielddata.evictions
-
queryCacheMemorySize
The used query cache memory.API name:
query_cache.memory_size
-
queryCacheEvictions
The query cache evictions.API name:
query_cache.evictions
-
flushTotal
The number of flushes.API name:
flush.total
-
flushTotalTime
The time spent in flush.API name:
flush.total_time
-
getCurrent
The number of current get operations.API name:
get.current
-
getTime
The time spent in get operations.API name:
get.time
-
getTotal
The number of get operations.API name:
get.total
-
getExistsTime
The time spent in successful get operations.API name:
get.exists_time
-
getExistsTotal
The number of successful get operations.API name:
get.exists_total
-
getMissingTime
The time spent in failed get operations.API name:
get.missing_time
-
getMissingTotal
The number of failed get operations.API name:
get.missing_total
-
indexingDeleteCurrent
The number of current deletion operations.API name:
indexing.delete_current
-
indexingDeleteTime
The time spent in deletion operations.API name:
indexing.delete_time
-
indexingDeleteTotal
The number of delete operations.API name:
indexing.delete_total
-
indexingIndexCurrent
The number of current indexing operations.API name:
indexing.index_current
-
indexingIndexTime
The time spent in indexing operations.API name:
indexing.index_time
-
indexingIndexTotal
The number of indexing operations.API name:
indexing.index_total
-
indexingIndexFailed
The number of failed indexing operations.API name:
indexing.index_failed
-
mergesCurrent
The number of current merge operations.API name:
merges.current
-
mergesCurrentDocs
The number of current merging documents.API name:
merges.current_docs
-
mergesCurrentSize
The size of current merge operations.API name:
merges.current_size
-
mergesTotal
The number of completed merge operations.API name:
merges.total
-
mergesTotalDocs
The nuber of merged documents.API name:
merges.total_docs
-
mergesTotalSize
The size of current merges.API name:
merges.total_size
-
mergesTotalTime
The time spent merging documents.API name:
merges.total_time
-
refreshTotal
The total number of refreshes.API name:
refresh.total
-
refreshTime
The time spent in refreshes.API name:
refresh.time
-
refreshExternalTotal
The total nunber of external refreshes.API name:
refresh.external_total
-
refreshExternalTime
The time spent in external refreshes.API name:
refresh.external_time
-
refreshListeners
The number of pending refresh listeners.API name:
refresh.listeners
-
searchFetchCurrent
The current fetch phase operations.API name:
search.fetch_current
-
searchFetchTime
The time spent in fetch phase.API name:
search.fetch_time
-
searchFetchTotal
The total number of fetch operations.API name:
search.fetch_total
-
searchOpenContexts
The number of open search contexts.API name:
search.open_contexts
-
searchQueryCurrent
The current query phase operations.API name:
search.query_current
-
searchQueryTime
The time spent in query phase.API name:
search.query_time
-
searchQueryTotal
The total number of query phase operations.API name:
search.query_total
-
searchScrollCurrent
The open scroll contexts.API name:
search.scroll_current
-
searchScrollTime
The time scroll contexts were held open.API name:
search.scroll_time
-
searchScrollTotal
The number of completed scroll contexts.API name:
search.scroll_total
-
segmentsCount
The number of segments.API name:
segments.count
-
segmentsMemory
The memory used by segments.API name:
segments.memory
-
segmentsIndexWriterMemory
The memory used by the index writer.API name:
segments.index_writer_memory
-
segmentsVersionMapMemory
The memory used by the version map.API name:
segments.version_map_memory
-
segmentsFixedBitsetMemory
The memory used by fixed bit sets for nested object field types and export type filters for types referred in_parent
fields.API name:
segments.fixed_bitset_memory
-
seqNoMax
The maximum sequence number.API name:
seq_no.max
-
seqNoLocalCheckpoint
The local checkpoint.API name:
seq_no.local_checkpoint
-
seqNoGlobalCheckpoint
The global checkpoint.API name:
seq_no.global_checkpoint
-
warmerCurrent
The number of current warmer operations.API name:
warmer.current
-
warmerTotal
The total number of warmer operations.API name:
warmer.total
-
warmerTotalTime
The time spent in warmer operations.API name:
warmer.total_time
-
pathData
The shard data path.API name:
path.data
-
pathState
The shard state path.API name:
path.state
-
bulkTotalOperations
The number of bulk shard operations.API name:
bulk.total_operations
-
bulkTotalTime
The time spent in shard bulk operations.API name:
bulk.total_time
-
bulkTotalSizeInBytes
The total size in bytes of shard bulk operations.API name:
bulk.total_size_in_bytes
-
bulkAvgTime
The average time spent in shard bulk operations.API name:
bulk.avg_time
-
bulkAvgSizeInBytes
The average size in bytes of shard bulk operations.API name:
bulk.avg_size_in_bytes
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupShardsRecordDeserializer
-