Class TransportShardRefreshAction.UnpromotableReplicasRefreshProxy

java.lang.Object
TransportReplicationAction<BasicReplicationRequest,ShardRefreshReplicaRequest,ReplicationResponse>.ReplicasProxy
org.elasticsearch.action.admin.indices.refresh.TransportShardRefreshAction.UnpromotableReplicasRefreshProxy
All Implemented Interfaces:
ReplicationOperation.Replicas<ShardRefreshReplicaRequest>
Enclosing class:
TransportShardRefreshAction

protected class TransportShardRefreshAction.UnpromotableReplicasRefreshProxy extends TransportReplicationAction<BasicReplicationRequest,ShardRefreshReplicaRequest,ReplicationResponse>.ReplicasProxy
  • Constructor Details

    • UnpromotableReplicasRefreshProxy

      protected UnpromotableReplicasRefreshProxy()
  • Method Details

    • onPrimaryOperationComplete

      public void onPrimaryOperationComplete(ShardRefreshReplicaRequest replicaRequest, IndexShardRoutingTable indexShardRoutingTable, ActionListener<Void> listener)
      Description copied from interface: ReplicationOperation.Replicas
      Optional custom logic to execute when the primary operation is complete, before sending the replica requests.
      Parameters:
      replicaRequest - the operation that will be performed on replicas
      indexShardRoutingTable - the replication's group index shard routing table
      listener - callback for handling the response or failure