Class TransportReplicationAction.ConcreteReplicaRequest<R extends TransportRequest>
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.support.replication.TransportReplicationAction.ConcreteShardRequest<R>
org.elasticsearch.action.support.replication.TransportReplicationAction.ConcreteReplicaRequest<R>
- All Implemented Interfaces:
Writeable
,org.elasticsearch.core.RefCounted
,TaskAwareRequest
,RawIndexingDataTransportRequest
- Enclosing class:
- TransportReplicationAction<Request extends ReplicationRequest<Request>,ReplicaRequest extends ReplicationRequest<ReplicaRequest>,Response extends ReplicationResponse>
protected static final class TransportReplicationAction.ConcreteReplicaRequest<R extends TransportRequest>
extends TransportReplicationAction.ConcreteShardRequest<R>
-
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>
-
Constructor Summary
ConstructorDescriptionConcreteReplicaRequest(Writeable.Reader<R> requestReader, StreamInput in)
ConcreteReplicaRequest(R request, String targetAllocationID, long primaryTerm, long globalCheckpoint, long maxSeqNoOfUpdatesOrDeletes)
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
toString()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.replication.TransportReplicationAction.ConcreteShardRequest
createTask, getDescription, getParentTask, getPrimaryTerm, getRequest, getTargetAllocationID, isRawIndexingData, localRerouteInitiatedByNodeClient, sentFromLocalReroute, setParentTask, setParentTask
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRef
-
Constructor Details
-
ConcreteReplicaRequest
- Throws:
IOException
-
ConcreteReplicaRequest
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classTransportReplicationAction.ConcreteShardRequest<R extends TransportRequest>
- Throws:
IOException
-
getGlobalCheckpoint
public long getGlobalCheckpoint() -
getMaxSeqNoOfUpdatesOrDeletes
public long getMaxSeqNoOfUpdatesOrDeletes() -
toString
- Overrides:
toString
in classTransportReplicationAction.ConcreteShardRequest<R extends TransportRequest>
-