Class Stats.Builder
- All Implemented Interfaces:
WithJson<Stats.Builder>,ObjectBuilder<Stats>
- Enclosing class:
- Stats
Stats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Stats.BuilderadaptiveSelection(String key, AdaptiveSelection value) Statistics about adaptive replica selection.final Stats.BuilderadaptiveSelection(String key, Function<AdaptiveSelection.Builder, ObjectBuilder<AdaptiveSelection>> fn) Statistics about adaptive replica selection.final Stats.BuilderStatistics about adaptive replica selection.final Stats.Builderattributes(String key, String value) Contains a list of attributes for the node.final Stats.Builderattributes(Map<String, String> map) Contains a list of attributes for the node.final Stats.BuilderStatistics about the field data circuit breaker.final Stats.Builderbreakers(String key, Function<Breaker.Builder, ObjectBuilder<Breaker>> fn) Statistics about the field data circuit breaker.final Stats.BuilderStatistics about the field data circuit breaker.build()Builds aStats.final Stats.BuilderContains node discovery statistics for the node.final Stats.BuilderContains node discovery statistics for the node.final Stats.Builderfs(FileSystem value) File system information, data path, free disk space, read/write stats.final Stats.BuilderFile system information, data path, free disk space, read/write stats.final Stats.BuilderNetwork host for the node, based on the network host setting.final Stats.BuilderHTTP connection information.final Stats.BuilderHTTP connection information.final Stats.BuilderindexingPressure(IndexingPressure value) Contains indexing pressure statistics for the node.final Stats.BuilderContains indexing pressure statistics for the node.final Stats.Builderindices(ShardStats value) Indices stats about size, document count, indexing and deletion times, search times, field cache size, merges and flushes.final Stats.BuilderIndices stats about size, document count, indexing and deletion times, search times, field cache size, merges and flushes.final Stats.BuilderStatistics about ingest preprocessing.final Stats.BuilderStatistics about ingest preprocessing.final Stats.BuilderIP address and port for the node.final Stats.BuilderIP address and port for the node.final Stats.BuilderJVM stats, memory pool information, garbage collection, buffer pools, number of loaded/unloaded classes.final Stats.Builderjvm(Function<Jvm.Builder, ObjectBuilder<Jvm>> fn) JVM stats, memory pool information, garbage collection, buffer pools, number of loaded/unloaded classes.final Stats.BuilderHuman-readable identifier for the node.final Stats.Builderos(OperatingSystem value) Operating system stats, load average, mem, swap.final Stats.BuilderOperating system stats, load average, mem, swap.final Stats.BuilderProcess statistics, memory consumption, cpu usage, open file descriptors.final Stats.BuilderProcess statistics, memory consumption, cpu usage, open file descriptors.final Stats.BuilderRoles assigned to the node.final Stats.BuilderRoles assigned to the node.final Stats.BuilderContains script statistics for the node.final Stats.BuilderContains script statistics for the node.final Stats.BuilderscriptCache(String key, List<ScriptCache> value) API name:script_cachefinal Stats.BuilderscriptCache(Map<String, List<ScriptCache>> map) API name:script_cacheprotected Stats.Builderself()final Stats.BuilderthreadPool(String key, ThreadCount value) Statistics about each thread pool, including current size, queue and rejected tasks.final Stats.BuilderStatistics about each thread pool, including current size, queue and rejected tasks.final Stats.BuilderthreadPool(Map<String, ThreadCount> map) Statistics about each thread pool, including current size, queue and rejected tasks.final Stats.BuilderAPI name:timestampfinal Stats.BuilderTransport statistics about sent and received bytes in cluster communication.final Stats.BuilderTransport statistics about sent and received bytes in cluster communication.final Stats.BuildertransportAddress(String value) Host and port for the transport layer, used for internal communication between nodes in a cluster.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
adaptiveSelection
Statistics about adaptive replica selection.API name:
adaptive_selectionAdds all entries of
maptoadaptiveSelection. -
adaptiveSelection
Statistics about adaptive replica selection.API name:
adaptive_selectionAdds an entry to
adaptiveSelection. -
adaptiveSelection
public final Stats.Builder adaptiveSelection(String key, Function<AdaptiveSelection.Builder, ObjectBuilder<AdaptiveSelection>> fn) Statistics about adaptive replica selection.API name:
adaptive_selectionAdds an entry to
adaptiveSelectionusing a builder lambda. -
breakers
Statistics about the field data circuit breaker.API name:
breakersAdds all entries of
maptobreakers. -
breakers
Statistics about the field data circuit breaker.API name:
breakersAdds an entry to
breakers. -
breakers
public final Stats.Builder breakers(String key, Function<Breaker.Builder, ObjectBuilder<Breaker>> fn) Statistics about the field data circuit breaker.API name:
breakersAdds an entry to
breakersusing a builder lambda. -
fs
File system information, data path, free disk space, read/write stats.API name:
fs -
fs
File system information, data path, free disk space, read/write stats.API name:
fs -
host
Network host for the node, based on the network host setting.API name:
host -
http
HTTP connection information.API name:
http -
http
HTTP connection information.API name:
http -
ingest
Statistics about ingest preprocessing.API name:
ingest -
ingest
Statistics about ingest preprocessing.API name:
ingest -
ip
IP address and port for the node.API name:
ipAdds all elements of
listtoip. -
ip
IP address and port for the node.API name:
ipAdds one or more values to
ip. -
jvm
JVM stats, memory pool information, garbage collection, buffer pools, number of loaded/unloaded classes.API name:
jvm -
jvm
JVM stats, memory pool information, garbage collection, buffer pools, number of loaded/unloaded classes.API name:
jvm -
name
Human-readable identifier for the node. Based on the node name setting.API name:
name -
os
Operating system stats, load average, mem, swap.API name:
os -
os
Operating system stats, load average, mem, swap.API name:
os -
process
Process statistics, memory consumption, cpu usage, open file descriptors.API name:
process -
process
Process statistics, memory consumption, cpu usage, open file descriptors.API name:
process -
roles
Roles assigned to the node.API name:
rolesAdds all elements of
listtoroles. -
roles
Roles assigned to the node.API name:
rolesAdds one or more values to
roles. -
script
Contains script statistics for the node.API name:
script -
script
Contains script statistics for the node.API name:
script -
scriptCache
API name:script_cacheAdds all entries of
maptoscriptCache. -
scriptCache
API name:script_cacheAdds an entry to
scriptCache. -
threadPool
Statistics about each thread pool, including current size, queue and rejected tasks.API name:
thread_poolAdds all entries of
maptothreadPool. -
threadPool
Statistics about each thread pool, including current size, queue and rejected tasks.API name:
thread_poolAdds an entry to
threadPool. -
threadPool
public final Stats.Builder threadPool(String key, Function<ThreadCount.Builder, ObjectBuilder<ThreadCount>> fn) Statistics about each thread pool, including current size, queue and rejected tasks.API name:
thread_poolAdds an entry to
threadPoolusing a builder lambda. -
timestamp
API name:timestamp -
transport
Transport statistics about sent and received bytes in cluster communication.API name:
transport -
transport
Transport statistics about sent and received bytes in cluster communication.API name:
transport -
transportAddress
Host and port for the transport layer, used for internal communication between nodes in a cluster.API name:
transport_address -
attributes
Contains a list of attributes for the node.API name:
attributesAdds all entries of
maptoattributes. -
attributes
Contains a list of attributes for the node.API name:
attributesAdds an entry to
attributes. -
discovery
Contains node discovery statistics for the node.API name:
discovery -
discovery
Contains node discovery statistics for the node.API name:
discovery -
indexingPressure
Contains indexing pressure statistics for the node.API name:
indexing_pressure -
indexingPressure
public final Stats.Builder indexingPressure(Function<IndexingPressure.Builder, ObjectBuilder<IndexingPressure>> fn) Contains indexing pressure statistics for the node.API name:
indexing_pressure -
indices
Indices stats about size, document count, indexing and deletion times, search times, field cache size, merges and flushes.API name:
indices -
indices
Indices stats about size, document count, indexing and deletion times, search times, field cache size, merges and flushes.API name:
indices -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Stats.Builder>
-
build
Builds aStats.- Specified by:
buildin interfaceObjectBuilder<Stats>- Throws:
NullPointerException- if some of the required fields are null.
-