public class ClusterUpdateSettingsRequest extends AcknowledgedRequest<ClusterUpdateSettingsRequest>
TransportRequest.Empty
DEFAULT_ACK_TIMEOUT, timeout
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
headers
Constructor and Description |
---|
ClusterUpdateSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
Settings |
persistentSettings() |
ClusterUpdateSettingsRequest |
persistentSettings(Map source)
Sets the persistent settings to be updated.
|
ClusterUpdateSettingsRequest |
persistentSettings(Settings.Builder settings)
Sets the persistent settings to be updated.
|
ClusterUpdateSettingsRequest |
persistentSettings(Settings settings)
Sets the persistent settings to be updated.
|
ClusterUpdateSettingsRequest |
persistentSettings(String source)
Sets the source containing the persistent settings to be updated.
|
void |
readFrom(StreamInput in) |
Settings |
transientSettings() |
ClusterUpdateSettingsRequest |
transientSettings(Map source)
Sets the transient settings to be updated.
|
ClusterUpdateSettingsRequest |
transientSettings(Settings.Builder settings)
Sets the transient settings to be updated.
|
ClusterUpdateSettingsRequest |
transientSettings(Settings settings)
Sets the transient settings to be updated.
|
ClusterUpdateSettingsRequest |
transientSettings(String source)
Sets the source containing the transient settings to be updated.
|
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
ackTimeout, readTimeout, timeout, timeout, timeout, writeTimeout
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
createTask, createTask, setParentTask
getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
masterNodeTimeout
public ActionRequestValidationException validate()
validate
in class ActionRequest<ClusterUpdateSettingsRequest>
public Settings transientSettings()
public Settings persistentSettings()
public ClusterUpdateSettingsRequest transientSettings(Settings settings)
public ClusterUpdateSettingsRequest transientSettings(Settings.Builder settings)
public ClusterUpdateSettingsRequest transientSettings(String source)
public ClusterUpdateSettingsRequest transientSettings(Map source)
public ClusterUpdateSettingsRequest persistentSettings(Settings settings)
public ClusterUpdateSettingsRequest persistentSettings(Settings.Builder settings)
public ClusterUpdateSettingsRequest persistentSettings(String source)
public ClusterUpdateSettingsRequest persistentSettings(Map source)
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class MasterNodeRequest<ClusterUpdateSettingsRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class MasterNodeRequest<ClusterUpdateSettingsRequest>
IOException
Copyright © 2009–2016. All rights reserved.