Class ShardsRecord
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardsRecord>Json deserializer forShardsRecord -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe average size in bytes of shard bulk operations.final StringThe average time spent in shard bulk operations.final StringThe number of bulk shard operations.final StringThe total size in bytes of shard bulk operations.final StringThe time spent in shard bulk operations.final StringThe size of completion.final Stringdataset()total size of dataset (including the cache for partially mounted indices)final Stringdocs()The number of documents in the shard.final StringThe fielddata cache evictions.final StringThe used fielddata cache memory.final StringThe number of flushes.final StringThe time spent in flush.final StringThe number of current get operations.final StringThe time spent in successful get operations.final StringThe number of successful get operations.final StringThe time spent in failed get operations.final StringThe number of failed get operations.final StringgetTime()The time spent in get operations.final StringgetTotal()The number of get operations.final Stringid()The unique identifier for the node.final Stringindex()The index name.final StringThe number of current deletion operations.final StringThe time spent in deletion operations.final StringThe number of delete operations.final StringThe number of current indexing operations.final StringThe number of failed indexing operations.final StringThe time spent in indexing operations.final StringThe number of indexing operations.final Stringip()The IP address of the node.final StringThe number of current merge operations.final StringThe number of current merging documents.final StringThe size of current merge operations.final StringThe number of completed merge operations.final StringThe nuber of merged documents.final StringThe size of current merges.final StringThe time spent merging documents.final Stringnode()The name of node.static ShardsRecordfinal StringpathData()The shard data path.final StringThe shard state path.final Stringprirep()The shard type:primaryorreplica.final StringThe query cache evictions.final StringThe used query cache memory.final StringThe type of recovery source.final StringThe time spent in external refreshes.final StringThe total nunber of external refreshes.final StringThe number of pending refresh listeners.final StringThe time spent in refreshes.final StringThe total number of refreshes.final StringThe current fetch phase operations.final StringThe time spent in fetch phase.final StringThe total number of fetch operations.final StringThe number of open search contexts.final StringThe current query phase operations.final StringThe time spent in query phase.final StringThe total number of query phase operations.final StringThe open scroll contexts.final StringThe time scroll contexts were held open.final StringThe number of completed scroll contexts.final StringThe number of segments.final StringThe memory used by fixed bit sets for nested object field types and export type filters for types referred in_parentfields.final StringThe memory used by the index writer.final StringThe memory used by segments.final StringThe memory used by the version map.final StringThe global checkpoint.final StringThe local checkpoint.final StringseqNoMax()The maximum sequence number.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 Stringshard()The shard name.final Stringstate()The shard state.final Stringstore()The disk space used by the shard.final StringsyncId()The sync identifier.toString()final StringThe time at which the shard became unassigned in Coordinated Universal Time (UTC).final StringAdditional details as to why the shard became unassigned.final StringThe time at which the shard was requested to be unassigned in Coordinated Universal Time (UTC).final StringThe reason for the last change to the state of an unassigned shard.final StringThe number of current warmer operations.final StringThe total number of warmer operations.final StringThe 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:primaryorreplica.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 -
dataset
total size of dataset (including the cache for partially mounted indices)API name:
dataset -
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_parentfields.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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupShardsRecordDeserializer
-