public class ClusterUpdateSettingsRequest extends AcknowledgedRequest<ClusterUpdateSettingsRequest>
TransportRequest.Empty
DEFAULT_ACK_TIMEOUT, timeout
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
Constructor and Description |
---|
ClusterUpdateSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
Settings |
persistentSettings() |
ClusterUpdateSettingsRequest |
persistentSettings(java.util.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(java.lang.String source)
Deprecated.
use
persistentSettings(String, XContentType) to avoid content type detection |
ClusterUpdateSettingsRequest |
persistentSettings(java.lang.String source,
XContentType xContentType)
Sets the source containing the persistent settings to be updated.
|
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
Settings |
transientSettings() |
ClusterUpdateSettingsRequest |
transientSettings(java.util.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(java.lang.String source)
Deprecated.
use
transientSettings(String, XContentType) to avoid content type detection |
ClusterUpdateSettingsRequest |
transientSettings(java.lang.String source,
XContentType xContentType)
Sets the source containing the transient settings to be updated.
|
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
ackTimeout, readTimeout, timeout, timeout, timeout, writeTimeout
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
getShouldStoreResult
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
masterNodeTimeout
createTask, getDescription, 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)
@Deprecated public ClusterUpdateSettingsRequest transientSettings(java.lang.String source)
transientSettings(String, XContentType)
to avoid content type detectionpublic 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)
@Deprecated public ClusterUpdateSettingsRequest persistentSettings(java.lang.String source)
persistentSettings(String, XContentType)
to avoid content type detectionpublic 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 class AcknowledgedRequest<ClusterUpdateSettingsRequest>
java.io.IOException