AckedRequest
, Streamable
, Writeable
, TaskAwareRequest
public class ClusterUpdateSettingsRequest extends AcknowledgedRequest<ClusterUpdateSettingsRequest>
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
DEFAULT_ACK_TIMEOUT, timeout
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
Constructor | Description |
---|---|
ClusterUpdateSettingsRequest() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
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
newWriteableReader
createTask, getDescription, setParentTask
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