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 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 TypeMethodDescriptionlonglongtoString()voidwriteTo(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, setRequestIdMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
-
Constructor Details
-
ConcreteReplicaRequest
- Throws:
IOException
-
ConcreteReplicaRequest
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classTransportReplicationAction.ConcreteShardRequest<R extends TransportRequest>- Throws:
IOException
-
getGlobalCheckpoint
public long getGlobalCheckpoint() -
getMaxSeqNoOfUpdatesOrDeletes
public long getMaxSeqNoOfUpdatesOrDeletes() -
toString
- Overrides:
toStringin classTransportReplicationAction.ConcreteShardRequest<R extends TransportRequest>
-