x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/CcrRetentionLeases.java
public static String retentionLeaseId(
            final String localClusterName,
            final Index followerIndex,
            final String remoteClusterAlias,
            final Index leaderIndex) {
        return String.format(
                Locale.ROOT,
                "%s/%s/%s-following-%s/%s/%s",
                localClusterName,
                followerIndex.getName(),
                followerIndex.getUUID(),
                remoteClusterAlias,
                leaderIndex.getName(),
                leaderIndex.getUUID());
    }
/**
     * The retention lease ID used by followers.
     *
     * @param localClusterName   the local cluster name
     * @param followerIndex      the follower index
     * @param remoteClusterAlias the remote cluster alias
     * @param leaderIndex        the leader index
     * @return the retention lease ID
     */
The retention lease ID used by followers.
The retention lease ID used by followers .
public static String retentionLeaseId(
            final String localClusterName,
            final Index followerIndex,
            final String remoteClusterAlias,
            final Index leaderIndex) {
        return String.format(
                Locale.ROOT,
                "%s/%s/%s-following-%s/%s/%s",
                localClusterName,
                followerIndex.getName(),
                followerIndex.getUUID(),
                remoteClusterAlias,
                leaderIndex.getName(),
                leaderIndex.getUUID());
    }
public static String retentionLeaseId ( final String localClusterName , final Index followerIndex , final String remoteClusterAlias , final Index leaderIndex ) { return String . format ( Locale . ROOT , "%s/%s/%s-following-%s/%s/%s" , localClusterName , followerIndex . getName ( ) , followerIndex . getUUID ( ) , remoteClusterAlias , leaderIndex . getName ( ) , leaderIndex . getUUID ( ) ) ; }
The retention lease ID used by followers.
The retention lease ID used by followers .