Module org.elasticsearch.server
Class RecoverySnapshotFileRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.indices.recovery.RecoveryTransportRequest
org.elasticsearch.indices.recovery.RecoverySnapshotFileRequest
- All Implemented Interfaces:
Writeable
,RefCounted
,TaskAwareRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED
-
Constructor Summary
ConstructorsConstructorDescriptionRecoverySnapshotFileRequest
(long recoveryId, long requestSeqNo, ShardId shardId, String repository, IndexId indexId, BlobStoreIndexShardSnapshot.FileInfo fileInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeTo
(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.indices.recovery.RecoveryTransportRequest
recoveryId, requestSeqNo, shardId
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, getRequestId, setParentTask, setRequestId, toString
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRef
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
RecoverySnapshotFileRequest
public RecoverySnapshotFileRequest(long recoveryId, long requestSeqNo, ShardId shardId, String repository, IndexId indexId, BlobStoreIndexShardSnapshot.FileInfo fileInfo) -
RecoverySnapshotFileRequest
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classRecoveryTransportRequest
- Throws:
IOException
-
getRepository
-
getIndexId
-
getFileInfo
-