2017-08-01 16:38:56 +08:00
|
|
|
[[java-rest-high-main]]
|
|
|
|
=== Info API
|
|
|
|
|
|
|
|
[[java-rest-high-main-request]]
|
|
|
|
==== Execution
|
|
|
|
|
|
|
|
Cluster information can be retrieved using the `info()` method:
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
2018-03-15 02:27:01 +08:00
|
|
|
include-tagged::{doc-tests}/MiscellaneousDocumentationIT.java[main-execute]
|
2017-08-01 16:38:56 +08:00
|
|
|
--------------------------------------------------
|
|
|
|
|
|
|
|
[[java-rest-high-main-response]]
|
|
|
|
==== Response
|
|
|
|
|
|
|
|
The returned `MainResponse` provides various kinds of information about the cluster:
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
2018-03-15 02:27:01 +08:00
|
|
|
include-tagged::{doc-tests}/MiscellaneousDocumentationIT.java[main-response]
|
2017-08-01 16:38:56 +08:00
|
|
|
--------------------------------------------------
|