AckedRequest
, Streamable
, Writeable
, ToXContent
, ToXContentObject
, TaskAwareRequest
public class ClusterUpdateSettingsRequest extends AcknowledgedRequest<ClusterUpdateSettingsRequest> implements ToXContentObject
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
DEFAULT_ACK_TIMEOUT, timeout
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
EMPTY_PARAMS
Constructor | Description |
---|---|
ClusterUpdateSettingsRequest() |
Modifier and Type | Method | Description |
---|---|---|
static ClusterUpdateSettingsRequest |
fromXContent(XContentParser parser) |
|
Settings |
persistentSettings() |
|
ClusterUpdateSettingsRequest |
persistentSettings(java.lang.String source,
XContentType xContentType) |
Sets the source containing the persistent settings to be updated.
|
ClusterUpdateSettingsRequest |
persistentSettings(java.util.Map source) |
Sets the persistent settings to be updated.
|
ClusterUpdateSettingsRequest |
persistentSettings(Settings settings) |
Sets the persistent settings to be updated.
|
ClusterUpdateSettingsRequest |
persistentSettings(Settings.Builder settings) |
Sets the persistent settings to be updated.
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
|
Settings |
transientSettings() |
|
ClusterUpdateSettingsRequest |
transientSettings(java.lang.String source,
XContentType xContentType) |
Sets the source containing the transient settings to be updated.
|
ClusterUpdateSettingsRequest |
transientSettings(java.util.Map source) |
Sets the transient settings to be updated.
|
ClusterUpdateSettingsRequest |
transientSettings(Settings settings) |
Sets the transient settings to be updated.
|
ClusterUpdateSettingsRequest |
transientSettings(Settings.Builder settings) |
Sets the transient settings to be updated.
|
ActionRequestValidationException |
validate() |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
masterNodeTimeout
ackTimeout, timeout, timeout, timeout
getShouldStoreResult
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
isFragment
remoteAddress, remoteAddress
getParentTask, setParentTask
public ActionRequestValidationException validate()
validate
in class ActionRequest
public Settings transientSettings()
public Settings persistentSettings()
public ClusterUpdateSettingsRequest transientSettings(Settings settings)
public ClusterUpdateSettingsRequest transientSettings(Settings.Builder settings)
public ClusterUpdateSettingsRequest transientSettings(java.lang.String source, XContentType xContentType)
public ClusterUpdateSettingsRequest transientSettings(java.util.Map source)
public ClusterUpdateSettingsRequest persistentSettings(Settings settings)
public ClusterUpdateSettingsRequest persistentSettings(Settings.Builder settings)
public ClusterUpdateSettingsRequest persistentSettings(java.lang.String source, XContentType xContentType)
public ClusterUpdateSettingsRequest persistentSettings(java.util.Map source)
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class AcknowledgedRequest<ClusterUpdateSettingsRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class AcknowledgedRequest<ClusterUpdateSettingsRequest>
java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public static ClusterUpdateSettingsRequest fromXContent(XContentParser parser) throws java.io.IOException
java.io.IOException