Class NodesRecord

java.lang.Object
co.elastic.clients.elasticsearch.cat.nodes.NodesRecord
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

    • id

      @Nullable public final String id()
      The unique node identifier.

      API name: id

    • pid

      @Nullable public final String pid()
      The process identifier.

      API name: pid

    • ip

      @Nullable public final String ip()
      The IP address.

      API name: ip

    • port

      @Nullable public final String port()
      The bound transport port.

      API name: port

    • httpAddress

      @Nullable public final String httpAddress()
      The bound HTTP address.

      API name: http_address

    • version

      @Nullable public final String version()
      The Elasticsearch version.

      API name: version

    • flavor

      @Nullable public final String flavor()
      The Elasticsearch distribution flavor.

      API name: flavor

    • type

      @Nullable public final String type()
      The Elasticsearch distribution type.

      API name: type

    • build

      @Nullable public final String build()
      The Elasticsearch build hash.

      API name: build

    • jdk

      @Nullable public final String jdk()
      The Java version.

      API name: jdk

    • diskTotal

      @Nullable public final String diskTotal()
      The total disk space.

      API name: disk.total

    • diskUsed

      @Nullable public final String diskUsed()
      The used disk space.

      API name: disk.used

    • diskAvail

      @Nullable public final String diskAvail()
      The available disk space.

      API name: disk.avail

    • diskUsedPercent

      @Nullable public final String diskUsedPercent()
      The used disk space percentage.

      API name: disk.used_percent

    • heapCurrent

      @Nullable public final String heapCurrent()
      The used heap.

      API name: heap.current

    • heapPercent

      @Nullable public final String heapPercent()
      The used heap ratio.

      API name: heap.percent

    • heapMax

      @Nullable public final String heapMax()
      The maximum configured heap.

      API name: heap.max

    • ramCurrent

      @Nullable public final String ramCurrent()
      The used machine memory.

      API name: ram.current

    • ramPercent

      @Nullable public final String ramPercent()
      The used machine memory ratio.

      API name: ram.percent

    • ramMax

      @Nullable public final String ramMax()
      The total machine memory.

      API name: ram.max

    • fileDescCurrent

      @Nullable public final String fileDescCurrent()
      The used file descriptors.

      API name: file_desc.current

    • fileDescPercent

      @Nullable public final String fileDescPercent()
      The used file descriptor ratio.

      API name: file_desc.percent

    • fileDescMax

      @Nullable public final String fileDescMax()
      The maximum number of file descriptors.

      API name: file_desc.max

    • cpu

      @Nullable public final String cpu()
      The recent system CPU usage as a percentage.

      API name: cpu

    • load1m

      @Nullable public final String load1m()
      The load average for the most recent minute.

      API name: load_1m

    • load5m

      @Nullable public final String load5m()
      The load average for the last five minutes.

      API name: load_5m

    • load15m

      @Nullable public final String load15m()
      The load average for the last fifteen minutes.

      API name: load_15m

    • uptime

      @Nullable public final String uptime()
      The node uptime.

      API name: uptime

    • nodeRole

      @Nullable public final String nodeRole()
      The roles of the node. Returned values include c(cold node), d(data node), f(frozen node), h(hot node), i(ingest node), l(machine learning node), m (master eligible node), r(remote cluster client node), s(content node), t(transform node), v(voting-only node), w(warm node),and -(coordinating node only).

      API name: node.role

    • master

      @Nullable public final String master()
      Indicates whether the node is the elected master node. Returned values include *(elected master) and -(not elected master).

      API name: master

    • name

      @Nullable public final String name()
      The node name.

      API name: name

    • completionSize

      @Nullable public final String completionSize()
      The size of completion.

      API name: completion.size

    • fielddataMemorySize

      @Nullable public final String fielddataMemorySize()
      The used fielddata cache.

      API name: fielddata.memory_size

    • fielddataEvictions

      @Nullable public final String fielddataEvictions()
      The fielddata evictions.

      API name: fielddata.evictions

    • queryCacheMemorySize

      @Nullable public final String queryCacheMemorySize()
      The used query cache.

      API name: query_cache.memory_size

    • queryCacheEvictions

      @Nullable public final String queryCacheEvictions()
      The query cache evictions.

      API name: query_cache.evictions

    • queryCacheHitCount

      @Nullable public final String queryCacheHitCount()
      The query cache hit counts.

      API name: query_cache.hit_count

    • queryCacheMissCount

      @Nullable public final String queryCacheMissCount()
      The query cache miss counts.

      API name: query_cache.miss_count

    • requestCacheMemorySize

      @Nullable public final String requestCacheMemorySize()
      The used request cache.

      API name: request_cache.memory_size

    • requestCacheEvictions

      @Nullable public final String requestCacheEvictions()
      The request cache evictions.

      API name: request_cache.evictions

    • requestCacheHitCount

      @Nullable public final String requestCacheHitCount()
      The request cache hit counts.

      API name: request_cache.hit_count

    • requestCacheMissCount

      @Nullable public final String requestCacheMissCount()
      The request cache miss counts.

      API name: request_cache.miss_count

    • flushTotal

      @Nullable public final String flushTotal()
      The number of flushes.

      API name: flush.total

    • flushTotalTime

      @Nullable public final String flushTotalTime()
      The time spent in flush.

      API name: flush.total_time

    • getCurrent

      @Nullable public final String getCurrent()
      The number of current get ops.

      API name: get.current

    • getTime

      @Nullable public final String getTime()
      The time spent in get.

      API name: get.time

    • getTotal

      @Nullable public final String getTotal()
      The number of get ops.

      API name: get.total

    • getExistsTime

      @Nullable public final String getExistsTime()
      The time spent in successful gets.

      API name: get.exists_time

    • getExistsTotal

      @Nullable public final String getExistsTotal()
      The number of successful get operations.

      API name: get.exists_total

    • getMissingTime

      @Nullable public final String getMissingTime()
      The time spent in failed gets.

      API name: get.missing_time

    • getMissingTotal

      @Nullable public final String getMissingTotal()
      The number of failed gets.

      API name: get.missing_total

    • indexingDeleteCurrent

      @Nullable public final String indexingDeleteCurrent()
      The number of current deletions.

      API name: indexing.delete_current

    • indexingDeleteTime

      @Nullable public final String indexingDeleteTime()
      The time spent in deletions.

      API name: indexing.delete_time

    • indexingDeleteTotal

      @Nullable public final String indexingDeleteTotal()
      The number of delete operations.

      API name: indexing.delete_total

    • indexingIndexCurrent

      @Nullable public final String indexingIndexCurrent()
      The number of current indexing operations.

      API name: indexing.index_current

    • indexingIndexTime

      @Nullable public final String indexingIndexTime()
      The time spent in indexing.

      API name: indexing.index_time

    • indexingIndexTotal

      @Nullable public final String indexingIndexTotal()
      The number of indexing operations.

      API name: indexing.index_total

    • indexingIndexFailed

      @Nullable public final String indexingIndexFailed()
      The number of failed indexing operations.

      API name: indexing.index_failed

    • mergesCurrent

      @Nullable public final String mergesCurrent()
      The number of current merges.

      API name: merges.current

    • mergesCurrentDocs

      @Nullable public final String mergesCurrentDocs()
      The number of current merging docs.

      API name: merges.current_docs

    • mergesCurrentSize

      @Nullable public final String mergesCurrentSize()
      The size of current merges.

      API name: merges.current_size

    • mergesTotal

      @Nullable public final String mergesTotal()
      The number of completed merge operations.

      API name: merges.total

    • mergesTotalDocs

      @Nullable public final String mergesTotalDocs()
      The docs merged.

      API name: merges.total_docs

    • mergesTotalSize

      @Nullable public final String mergesTotalSize()
      The size merged.

      API name: merges.total_size

    • mergesTotalTime

      @Nullable public final String mergesTotalTime()
      The time spent in merges.

      API name: merges.total_time

    • refreshTotal

      @Nullable public final String refreshTotal()
      The total refreshes.

      API name: refresh.total

    • refreshTime

      @Nullable public final String refreshTime()
      The time spent in refreshes.

      API name: refresh.time

    • refreshExternalTotal

      @Nullable public final String refreshExternalTotal()
      The total external refreshes.

      API name: refresh.external_total

    • refreshExternalTime

      @Nullable public final String refreshExternalTime()
      The time spent in external refreshes.

      API name: refresh.external_time

    • refreshListeners

      @Nullable public final String refreshListeners()
      The number of pending refresh listeners.

      API name: refresh.listeners

    • scriptCompilations

      @Nullable public final String scriptCompilations()
      The total script compilations.

      API name: script.compilations

    • scriptCacheEvictions

      @Nullable public final String scriptCacheEvictions()
      The total compiled scripts evicted from the cache.

      API name: script.cache_evictions

    • scriptCompilationLimitTriggered

      @Nullable public final String scriptCompilationLimitTriggered()
      The script cache compilation limit triggered.

      API name: script.compilation_limit_triggered

    • searchFetchCurrent

      @Nullable public final String searchFetchCurrent()
      The current fetch phase operations.

      API name: search.fetch_current

    • searchFetchTime

      @Nullable public final String searchFetchTime()
      The time spent in fetch phase.

      API name: search.fetch_time

    • searchFetchTotal

      @Nullable public final String searchFetchTotal()
      The total fetch operations.

      API name: search.fetch_total

    • searchOpenContexts

      @Nullable public final String searchOpenContexts()
      The open search contexts.

      API name: search.open_contexts

    • searchQueryCurrent

      @Nullable public final String searchQueryCurrent()
      The current query phase operations.

      API name: search.query_current

    • searchQueryTime

      @Nullable public final String searchQueryTime()
      The time spent in query phase.

      API name: search.query_time

    • searchQueryTotal

      @Nullable public final String searchQueryTotal()
      The total query phase operations.

      API name: search.query_total

    • searchScrollCurrent

      @Nullable public final String searchScrollCurrent()
      The open scroll contexts.

      API name: search.scroll_current

    • searchScrollTime

      @Nullable public final String searchScrollTime()
      The time scroll contexts held open.

      API name: search.scroll_time

    • searchScrollTotal

      @Nullable public final String searchScrollTotal()
      The completed scroll contexts.

      API name: search.scroll_total

    • segmentsCount

      @Nullable public final String segmentsCount()
      The number of segments.

      API name: segments.count

    • segmentsMemory

      @Nullable public final String segmentsMemory()
      The memory used by segments.

      API name: segments.memory

    • segmentsIndexWriterMemory

      @Nullable public final String segmentsIndexWriterMemory()
      The memory used by the index writer.

      API name: segments.index_writer_memory

    • segmentsVersionMapMemory

      @Nullable public final String segmentsVersionMapMemory()
      The memory used by the version map.

      API name: segments.version_map_memory

    • segmentsFixedBitsetMemory

      @Nullable public final String 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

    • suggestCurrent

      @Nullable public final String suggestCurrent()
      The number of current suggest operations.

      API name: suggest.current

    • suggestTime

      @Nullable public final String suggestTime()
      The time spend in suggest.

      API name: suggest.time

    • suggestTotal

      @Nullable public final String suggestTotal()
      The number of suggest operations.

      API name: suggest.total

    • bulkTotalOperations

      @Nullable public final String bulkTotalOperations()
      The number of bulk shard operations.

      API name: bulk.total_operations

    • bulkTotalTime

      @Nullable public final String bulkTotalTime()
      The time spend in shard bulk.

      API name: bulk.total_time

    • bulkTotalSizeInBytes

      @Nullable public final String bulkTotalSizeInBytes()
      The total size in bytes of shard bulk.

      API name: bulk.total_size_in_bytes

    • bulkAvgTime

      @Nullable public final String bulkAvgTime()
      The average time spend in shard bulk.

      API name: bulk.avg_time

    • bulkAvgSizeInBytes

      @Nullable public final String bulkAvgSizeInBytes()
      The average size in bytes of shard bulk.

      API name: bulk.avg_size_in_bytes

    • 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
    • setupNodesRecordDeserializer

      protected static void setupNodesRecordDeserializer(ObjectDeserializer<NodesRecord.Builder> op)