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,TaskAwareRequest
public class RecoveryTranslogOperationsRequest extends RecoveryTransportRequest
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Method Summary
Modifier and Type Method Description longmaxSeenAutoIdTimestampOnPrimary()longmaxSeqNoOfUpdatesOrDeletesOnPrimary()java.util.List<Translog.Operation>operations()longrecoveryId()RetentionLeasesretentionLeases()ShardIdshardId()inttotalTranslogOps()voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.indices.recovery.RecoveryTransportRequest
requestSeqNoMethods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTaskMethods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classRecoveryTransportRequest- Throws:
java.io.IOException
-