Class TransportReplicationAction.ReplicasProxy

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected long primaryTerm  
    • Constructor Summary

      Constructors 
      Constructor Description
      ReplicasProxy​(long primaryTerm)  
    • Method Summary

      Modifier and Type Method Description
      void failShardIfNeeded​(ShardRouting replica, java.lang.String message, java.lang.Exception exception, ActionListener<java.lang.Void> listener)
      Fail the specified shard if needed, removing it from the current set of active shards.
      void markShardCopyAsStaleIfNeeded​(ShardId shardId, java.lang.String allocationId, ActionListener<java.lang.Void> listener)
      Marks shard copy as stale if needed, removing its allocation id from the set of in-sync allocation ids.
      void performOn​(ShardRouting replica, ReplicaRequest request, long globalCheckpoint, long maxSeqNoOfUpdatesOrDeletes, ActionListener<ReplicationOperation.ReplicaResponse> listener)
      Performs the specified request on the specified replica.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • primaryTerm

        protected final long primaryTerm
    • Constructor Detail

      • ReplicasProxy

        public ReplicasProxy​(long primaryTerm)