Update java.asciidoc

Fixed asciidoc
This commit is contained in:
Clinton Gormley 2016-06-21 16:02:25 +02:00 committed by GitHub
parent 0488372c20
commit 70482d1e39
1 changed files with 2 additions and 2 deletions

View File

@ -300,12 +300,12 @@ requests can now be validated at call time which results in much clearer errors.
The `setQuery(BytesReference)` method have been removed in favor of using `setQuery(QueryBuilder)`
=== ClusterStatsResponse
==== ClusterStatsResponse
Removed the `getMemoryAvailable` method from `OsStats`, which could be previously accessed calling
`clusterStatsResponse.getNodesStats().getOs().getMemoryAvailable()`.
=== setRefresh(boolean) has been removed
==== setRefresh(boolean) has been removed
`setRefresh(boolean)` has been removed in favor of `setRefreshPolicy(RefreshPolicy)` because there
are now three options (NONE, IMMEDIATE, and WAIT_FOR). `setRefresh(IMMEDIATE)` has the same behavior