Module org.elasticsearch.server
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
,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>
-
Field Summary
Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED
-
Constructor Summary
ConstructorsConstructorDescriptionConcreteReplicaRequest
(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, getRequestId, getTargetAllocationID, isRawIndexingData, localRerouteInitiatedByNodeClient, sentFromLocalReroute, setParentTask, setParentTask, setRequestId
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
-
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>
-