Class Http.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Http.Builder>
co.elastic.clients.elasticsearch.nodes.Http.Builder
- All Implemented Interfaces:
WithJson<Http.Builder>,ObjectBuilder<Http>
- Enclosing class:
- Http
public static class Http.Builder
extends WithJsonObjectBuilderBase<Http.Builder>
implements ObjectBuilder<Http>
Builder for
Http.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aHttp.final Http.BuilderInformation on current and recently-closed HTTP client connections.final Http.BuilderInformation on current and recently-closed HTTP client connections.final Http.BuilderInformation on current and recently-closed HTTP client connections.final Http.BuildercurrentOpen(Integer value) Current number of open HTTP connections for the node.protected Http.Builderself()final Http.BuildertotalOpened(Long value) Total number of HTTP connections opened for the node.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
-
currentOpen
Current number of open HTTP connections for the node.API name:
current_open -
totalOpened
Total number of HTTP connections opened for the node.API name:
total_opened -
clients
Information on current and recently-closed HTTP client connections. Clients that have been closed longer than thehttp.client_stats.closed_channels.max_agesetting will not be represented here.API name:
clientsAdds all elements of
listtoclients. -
clients
Information on current and recently-closed HTTP client connections. Clients that have been closed longer than thehttp.client_stats.closed_channels.max_agesetting will not be represented here.API name:
clientsAdds one or more values to
clients. -
clients
Information on current and recently-closed HTTP client connections. Clients that have been closed longer than thehttp.client_stats.closed_channels.max_agesetting will not be represented here.API name:
clientsAdds a value to
clientsusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Http.Builder>
-
build
Builds aHttp.- Specified by:
buildin interfaceObjectBuilder<Http>- Throws:
NullPointerException- if some of the required fields are null.
-