public class VerifyRepositoryRequest extends AcknowledgedRequest<VerifyRepositoryRequest>
The unregister repository command just unregisters the repository. No data is getting deleted from the repository.
TransportRequest.EmptyDEFAULT_ACK_TIMEOUT, timeoutDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutheaders| Constructor and Description |
|---|
VerifyRepositoryRequest() |
VerifyRepositoryRequest(String name)
Constructs a new unregister repository request with the provided name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
name()
The name of the repository.
|
VerifyRepositoryRequest |
name(String name)
Sets the name of the repository to unregister.
|
void |
readFrom(StreamInput in) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
ackTimeout, readTimeout, timeout, timeout, timeout, writeTimeoutmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutcreateTask, createTask, setParentTaskgetDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmasterNodeTimeoutpublic VerifyRepositoryRequest()
public VerifyRepositoryRequest(String name)
name - name of the repositorypublic ActionRequestValidationException validate()
validate in class ActionRequest<VerifyRepositoryRequest>public VerifyRepositoryRequest name(String name)
name - name of the repositorypublic String name()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class MasterNodeRequest<VerifyRepositoryRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class MasterNodeRequest<VerifyRepositoryRequest>IOExceptionCopyright © 2009–2017. All rights reserved.