Class RecoveryTranslogOperationsRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.indices.recovery.RecoveryTransportRequest
org.elasticsearch.indices.recovery.RecoveryTranslogOperationsRequest
- All Implemented Interfaces:
Writeable
,org.elasticsearch.common.util.concurrent.RefCounted
,TaskAwareRequest
public class RecoveryTranslogOperationsRequest extends RecoveryTransportRequest
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.Empty
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Method Summary
Modifier and Type Method Description long
maxSeenAutoIdTimestampOnPrimary()
long
maxSeqNoOfUpdatesOrDeletesOnPrimary()
java.util.List<Translog.Operation>
operations()
long
recoveryId()
RetentionLeases
retentionLeases()
ShardId
shardId()
int
totalTranslogOps()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class org.elasticsearch.indices.recovery.RecoveryTransportRequest
requestSeqNo
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRef
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Method Details
-
recoveryId
public long recoveryId() -
shardId
-
operations
-
totalTranslogOps
public int totalTranslogOps() -
maxSeenAutoIdTimestampOnPrimary
public long maxSeenAutoIdTimestampOnPrimary() -
maxSeqNoOfUpdatesOrDeletesOnPrimary
public long maxSeqNoOfUpdatesOrDeletesOnPrimary() -
retentionLeases
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classRecoveryTransportRequest
- Throws:
java.io.IOException
-