All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.config.model.api.FileDistribution Maven / Gradle / Ivy

There is a newer version: 8.441.21
Show newest version
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.model.api;

import com.yahoo.config.FileReference;

import java.util.Set;

/**
 * Interface for models towards filedistribution.
 *
 * @author Ulf Lilleengen
 */
public interface FileDistribution {

    /**
     * Notifies client which file references to download. Used to trigger downloading early (while
     * preparing application package).
     *
     * @param hostName       host which should be notified about file references to download
     * @param port           port which should be used when notifying
     * @param fileReferences set of file references for downloading
     */
    void triggerDownload(String hostName, int port, Set fileReferences);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy