Class ESIndexLevelReplicationTestCase.ReplicationAction.PrimaryResult
- java.lang.Object
-
- org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationAction.PrimaryResult
-
- All Implemented Interfaces:
ReplicationOperation.PrimaryResult<ReplicaRequest>
- Enclosing class:
- ESIndexLevelReplicationTestCase.ReplicationAction<Request extends ReplicationRequest<Request>,ReplicaRequest extends ReplicationRequest<ReplicaRequest>,Response extends ReplicationResponse>
protected class ESIndexLevelReplicationTestCase.ReplicationAction.PrimaryResult extends java.lang.Object implements ReplicationOperation.PrimaryResult<ReplicaRequest>
-
-
Constructor Summary
Constructors Constructor Description PrimaryResult(ReplicaRequest replicaRequest, Response finalResponse)
-
Method Summary
Modifier and Type Method Description ReplicaRequestreplicaRequest()voidrespond(ActionListener<Response> listener)voidsetShardInfo(ReplicationResponse.ShardInfo shardInfo)
-
-
-
Constructor Detail
-
PrimaryResult
public PrimaryResult(ReplicaRequest replicaRequest, Response finalResponse)
-
-
Method Detail
-
replicaRequest
public ReplicaRequest replicaRequest()
- Specified by:
replicaRequestin interfaceReplicationOperation.PrimaryResult<ReplicaRequest extends ReplicationRequest<ReplicaRequest>>
-
setShardInfo
public void setShardInfo(ReplicationResponse.ShardInfo shardInfo)
- Specified by:
setShardInfoin interfaceReplicationOperation.PrimaryResult<ReplicaRequest extends ReplicationRequest<ReplicaRequest>>
-
respond
public void respond(ActionListener<Response> listener)
-
-