AckedRequest, Streamable, Writeable, TaskAwareRequestpublic class VerifyRepositoryRequest extends AcknowledgedRequest<VerifyRepositoryRequest>
The unregister repository command just unregisters the repository. No data is getting deleted from the repository.
TransportRequest.EmptyWriteable.Reader<V>, Writeable.Writer<V>DEFAULT_ACK_TIMEOUT, timeoutDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout| Constructor | Description |
|---|---|
VerifyRepositoryRequest() |
|
VerifyRepositoryRequest(java.lang.String name) |
Constructs a new unregister repository request with the provided name.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
name() |
The name of the repository.
|
VerifyRepositoryRequest |
name(java.lang.String name) |
Sets the name of the repository to unregister.
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
ActionRequestValidationException |
validate() |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
masterNodeTimeoutackTimeout, timeout, timeout, timeoutgetShouldStoreResultmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewWriteableReadercreateTask, getDescription, setParentTaskremoteAddress, remoteAddressgetParentTask, setParentTaskpublic VerifyRepositoryRequest()
public VerifyRepositoryRequest(java.lang.String name)
name - name of the repositorypublic ActionRequestValidationException validate()
validate in class ActionRequestpublic VerifyRepositoryRequest name(java.lang.String name)
name - name of the repositorypublic java.lang.String name()
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class AcknowledgedRequest<VerifyRepositoryRequest>java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class AcknowledgedRequest<VerifyRepositoryRequest>java.io.IOException