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

com.bazaarvoice.ostrich.HostDiscoverySource Maven / Gradle / Ivy

package com.bazaarvoice.ostrich;

/**
 * Source for {@link HostDiscovery} instances.
 */
public interface HostDiscoverySource {
    /**
     * Returns a {@link HostDiscovery} instance for the specified service or {@code null} if this source is not
     * configured to know about the service.  It is the caller's responsibility to close the returned instance.
     *
     * @param serviceName The name of the service.
     * @return a {@link HostDiscovery} instance for the specified service.
     */
    HostDiscovery forService(String serviceName);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy