AckedRequest
, Streamable
, Writeable
, TaskAwareRequest
public class DeleteStoredScriptRequest extends AcknowledgedRequest<DeleteStoredScriptRequest>
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
DEFAULT_ACK_TIMEOUT, timeout
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
Constructor | Description |
---|---|
DeleteStoredScriptRequest(java.lang.String id) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
id() |
|
DeleteStoredScriptRequest |
id(java.lang.String id) |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
java.lang.String |
toString() |
|
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, wait, wait, wait
createTask, getDescription, setParentTask
remoteAddress, remoteAddress
getParentTask, setParentTask
public ActionRequestValidationException validate()
validate
in class ActionRequest
public java.lang.String id()
public DeleteStoredScriptRequest id(java.lang.String id)
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class AcknowledgedRequest<DeleteStoredScriptRequest>
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<DeleteStoredScriptRequest>
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object