
com.bazaarvoice.ostrich.ServiceDiscovery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ostrich-core Show documentation
Show all versions of ostrich-core Show documentation
Core classes that form Ostrich
package com.bazaarvoice.ostrich;
import java.io.Closeable;
/**
* The {@code ServiceDiscovery} interface is used to encapsulate the strategy that provides a picture of what ostrich
* services are available. Users of this class shouldn't cache the results of discovery as subclasses can choose to
* change the set of available services based on some external mechanism (ex. using ZooKeeper).
*/
public interface ServiceDiscovery extends Closeable {
/**
* Retrieve the available services.
*
* @return The available services.
*/
Iterable getServices();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy