Package org.elasticsearch.snapshots
Class UpdateIndexShardSnapshotStatusRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.support.master.MasterNodeRequest<UpdateIndexShardSnapshotStatusRequest>
org.elasticsearch.snapshots.UpdateIndexShardSnapshotStatusRequest
- All Implemented Interfaces:
- Writeable,- org.elasticsearch.core.RefCounted,- TaskAwareRequest
public class UpdateIndexShardSnapshotStatusRequest
extends MasterNodeRequest<UpdateIndexShardSnapshotStatusRequest>
Internal request that is used to send changes in snapshot status to master
- 
Nested Class SummaryNested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequestTransportRequest.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.WriteableWriteable.Reader<V>, Writeable.Writer<V>
- 
Field SummaryFields inherited from class org.elasticsearch.action.support.master.MasterNodeRequestDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
- 
Constructor SummaryConstructorsConstructorDescriptionUpdateIndexShardSnapshotStatusRequest(Snapshot snapshot, ShardId shardId, SnapshotsInProgress.ShardSnapshotStatus status)
- 
Method SummaryModifier and TypeMethodDescriptionbooleaninthashCode()shardId()snapshot()status()toString()validate()voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.master.MasterNodeRequestmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutMethods inherited from class org.elasticsearch.action.ActionRequestgetShouldStoreResultMethods inherited from class org.elasticsearch.transport.TransportRequestgetParentTask, setParentTaskMethods inherited from class org.elasticsearch.transport.TransportMessagedecRef, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequestcreateTask, getDescription, setParentTask
- 
Constructor Details- 
UpdateIndexShardSnapshotStatusRequest- Throws:
- IOException
 
- 
UpdateIndexShardSnapshotStatusRequestpublic UpdateIndexShardSnapshotStatusRequest(Snapshot snapshot, ShardId shardId, SnapshotsInProgress.ShardSnapshotStatus status)
 
- 
- 
Method Details- 
validate- Specified by:
- validatein class- ActionRequest
 
- 
writeToDescription copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
- writeToin interface- Writeable
- Overrides:
- writeToin class- MasterNodeRequest<UpdateIndexShardSnapshotStatusRequest>
- Throws:
- IOException
 
- 
snapshot
- 
shardId
- 
status
- 
toString- Overrides:
- toStringin class- TransportRequest
 
- 
equals
- 
hashCodepublic int hashCode()
 
-