Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
Signed-off-by: Suraj Singh <[email protected]>
  • Loading branch information
dreamer-89 committed Jul 8, 2023
1 parent 8d0bf23 commit 55497b6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1322,6 +1322,7 @@ public static Engine.Warmer createTestWarmer(IndexSettings indexSettings) {
* @param clusterService {@link ClusterService} - The cluster service to be used on target
* @param postGetFilesRunnable - Consumer which is executed after file copy operation. This can be used to stub operations
* which are desired right after files are copied. e.g. To work with temp files
* @return Returns SegmentReplicationTargetService
*/
public final SegmentReplicationTargetService prepareForReplication(
IndexShard primaryShard,
Expand Down Expand Up @@ -1356,6 +1357,7 @@ public final SegmentReplicationTargetService prepareForReplication(
*
* @param primaryShard {@link IndexShard} - The primary shard to replicate from.
* @param target {@link IndexShard} - The target replica shard.
* @return Returns SegmentReplicationTargetService
*/
public final SegmentReplicationTargetService prepareForReplication(IndexShard primaryShard, IndexShard target) {
return prepareForReplication(
Expand Down Expand Up @@ -1384,7 +1386,7 @@ public final SegmentReplicationTargetService prepareForReplication(
* @param replicaShard - target of segment replication
* @param primaryMetadata - primary shard metadata before start of segment replication
* @param latch - Latch which allows consumers of this utility to ensure segment replication completed successfully
* @return
* @return Returns SegmentReplicationTargetService.SegmentReplicationListener
*/
public SegmentReplicationTargetService.SegmentReplicationListener getTargetListener(
IndexShard primaryShard,
Expand Down Expand Up @@ -1427,7 +1429,7 @@ public void onReplicationFailure(SegmentReplicationState state, ReplicationFaile
* @param getTargetFunc - provides replication target from target service using replication id
* @param postGetFilesRunnable - Consumer which is executed after file copy operation. This can be used to stub operations
* which are desired right after files are copied. e.g. To work with temp files
* @return
* @return Return SegmentReplicationSource
*/
public SegmentReplicationSource getSegmentReplicationSource(
IndexShard primaryShard,
Expand Down

0 comments on commit 55497b6

Please sign in to comment.