2017-08-01 04:38:56 -04: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-14 14:27:01 -04:00
|
|
|
include-tagged::{doc-tests}/MiscellaneousDocumentationIT.java[main-execute]
|
2017-08-01 04:38:56 -04: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-14 14:27:01 -04:00
|
|
|
include-tagged::{doc-tests}/MiscellaneousDocumentationIT.java[main-response]
|
2017-08-01 04:38:56 -04:00
|
|
|
--------------------------------------------------
|