public interface WriteRequestBuilder<B extends WriteRequestBuilder<B>>
Modifier and Type | Method and Description |
---|---|
WriteRequest<?> |
request() |
default B |
setRefreshPolicy(java.lang.String refreshPolicy)
Parse the refresh policy from a string, only modifying it if the string is non null.
|
default B |
setRefreshPolicy(WriteRequest.RefreshPolicy refreshPolicy)
Should this request trigger a refresh (WriteRequest.RefreshPolicy.IMMEDIATE), wait for a refresh (
WriteRequest.RefreshPolicy.WAIT_UNTIL), or proceed ignore refreshes entirely (WriteRequest.RefreshPolicy.NONE, the default).
|
WriteRequest<?> request()
default B setRefreshPolicy(WriteRequest.RefreshPolicy refreshPolicy)
default B setRefreshPolicy(java.lang.String refreshPolicy)