Class NodeInfo
java.lang.Object
co.elastic.clients.elasticsearch.nodes.info.NodeInfo
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class NodeInfo extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeInfo.BuilderBuilder forNodeInfo. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NodeInfo>_DESERIALIZERJson deserializer forNodeInfo -
Constructor Summary
Constructors Constructor Description NodeInfo(NodeInfo.Builder builder)NodeInfo(java.util.function.Function<NodeInfo.Builder,NodeInfo.Builder> fn) -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,NodeInfoAggregation>aggregations()API name:aggregationsjava.util.Map<java.lang.String,java.lang.String>attributes()Required - API name:attributesjava.lang.StringbuildFlavor()Required - API name:build_flavorjava.lang.StringbuildHash()Required - Short hash of the last git commit in this release.java.lang.StringbuildType()Required - API name:build_typejava.lang.Stringhost()Required - The node’s host name.NodeInfoHttphttp()API name:httpNodeInfoIngestingest()API name:ingestjava.lang.Stringip()Required - The node’s IP address.NodeJvmInfojvm()API name:jvmjava.util.List<PluginStats>modules()API name:modulesjava.lang.Stringname()Required - The node's nameNodeInfoNetworknetwork()API name:networkNodeOperatingSystemInfoos()API name:osjava.util.List<PluginStats>plugins()API name:pluginsNodeProcessInfoprocess()API name:processjava.util.List<NodeRole>roles()Required - API name:rolesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)NodeInfoSettingssettings()API name:settingsprotected static voidsetupNodeInfoDeserializer(DelegatingDeserializer<NodeInfo.Builder> op)java.util.Map<java.lang.String,NodeThreadPoolInfo>threadPool()API name:thread_pooljava.lang.LongtotalIndexingBuffer()Total heap allowed to be used to hold recently indexed documents before they must be written to disk.java.lang.StringtotalIndexingBufferInBytes()Same as total_indexing_buffer, but expressed in bytes.NodeInfoTransporttransport()API name:transportjava.lang.StringtransportAddress()Required - Host and port where transport HTTP connections are accepted.java.lang.Stringversion()Required - Elasticsearch version running on this node.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forNodeInfo
-
-
Constructor Details
-
NodeInfo
-
NodeInfo
-
-
Method Details
-
attributes
public java.util.Map<java.lang.String,java.lang.String> attributes()Required - API name:attributes -
buildFlavor
public java.lang.String buildFlavor()Required - API name:build_flavor -
buildHash
public java.lang.String buildHash()Required - Short hash of the last git commit in this release.API name:
build_hash -
buildType
public java.lang.String buildType()Required - API name:build_type -
host
public java.lang.String host()Required - The node’s host name.API name:
host -
http
API name:http -
ip
public java.lang.String ip()Required - The node’s IP address.API name:
ip -
jvm
API name:jvm -
name
public java.lang.String name()Required - The node's nameAPI name:
name -
network
API name:network -
os
API name:os -
plugins
API name:plugins -
process
API name:process -
roles
Required - API name:roles -
settings
API name:settings -
threadPool
API name:thread_pool -
totalIndexingBuffer
@Nullable public java.lang.Long totalIndexingBuffer()Total heap allowed to be used to hold recently indexed documents before they must be written to disk. This size is a shared pool across all shards on this node, and is controlled by Indexing Buffer settings.API name:
total_indexing_buffer -
totalIndexingBufferInBytes
@Nullable public java.lang.String totalIndexingBufferInBytes()Same as total_indexing_buffer, but expressed in bytes.API name:
total_indexing_buffer_in_bytes -
transport
API name:transport -
transportAddress
public java.lang.String transportAddress()Required - Host and port where transport HTTP connections are accepted.API name:
transport_address -
version
public java.lang.String version()Required - Elasticsearch version running on this node.API name:
version -
modules
API name:modules -
ingest
API name:ingest -
aggregations
API name:aggregations -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupNodeInfoDeserializer
-