Class ESIndexLevelReplicationTestCase.ReplicationAction.PrimaryResult
java.lang.Object
org.elasticsearch.index.replication.ESIndexLevelReplicationTestCase.ReplicationAction.PrimaryResult
- All Implemented Interfaces:
org.elasticsearch.action.support.replication.ReplicationOperation.PrimaryResult<ReplicaRequest>
- Enclosing class:
- ESIndexLevelReplicationTestCase.ReplicationAction<Request extends org.elasticsearch.action.support.replication.ReplicationRequest<Request>,ReplicaRequest extends org.elasticsearch.action.support.replication.ReplicationRequest<ReplicaRequest>,Response extends org.elasticsearch.action.support.replication.ReplicationResponse>
protected class ESIndexLevelReplicationTestCase.ReplicationAction.PrimaryResult
extends java.lang.Object
implements org.elasticsearch.action.support.replication.ReplicationOperation.PrimaryResult<ReplicaRequest>
-
Constructor Summary
Constructors Constructor Description PrimaryResult(ReplicaRequest replicaRequest, Response finalResponse)
-
Method Summary
Modifier and Type Method Description ReplicaRequest
replicaRequest()
void
runPostReplicationActions(org.elasticsearch.action.ActionListener<java.lang.Void> listener)
void
setShardInfo(org.elasticsearch.action.support.replication.ReplicationResponse.ShardInfo shardInfo)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PrimaryResult
-
-
Method Details
-
replicaRequest
- Specified by:
replicaRequest
in interfaceorg.elasticsearch.action.support.replication.ReplicationOperation.PrimaryResult<ReplicaRequest extends org.elasticsearch.action.support.replication.ReplicationRequest<ReplicaRequest>>
-
setShardInfo
public void setShardInfo(org.elasticsearch.action.support.replication.ReplicationResponse.ShardInfo shardInfo)- Specified by:
setShardInfo
in interfaceorg.elasticsearch.action.support.replication.ReplicationOperation.PrimaryResult<ReplicaRequest extends org.elasticsearch.action.support.replication.ReplicationRequest<ReplicaRequest>>
-
runPostReplicationActions
public void runPostReplicationActions(org.elasticsearch.action.ActionListener<java.lang.Void> listener)- Specified by:
runPostReplicationActions
in interfaceorg.elasticsearch.action.support.replication.ReplicationOperation.PrimaryResult<ReplicaRequest extends org.elasticsearch.action.support.replication.ReplicationRequest<ReplicaRequest>>
-