Package com.lucidworks.cloud.api.solr
Interface SolrClusterDiscoveryClient
- All Known Implementing Classes:
SolrClusterDiscoveryClientImpl
public interface SolrClusterDiscoveryClient
Discovery client for Search Solr clusters.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddUpdateAction(Consumer<com.lucidworks.apollo.common.models.SearchCluster> updateNotificationListener) Register the listener to get notification about changes.com.lucidworks.apollo.common.models.SearchClustergetCluster(String id) Collection<com.lucidworks.apollo.common.models.SearchCluster>
-
Method Details
-
getCluster
-
getClusters
Collection<com.lucidworks.apollo.common.models.SearchCluster> getClusters() -
getClustersId
Collection<String> getClustersId() -
addUpdateAction
void addUpdateAction(Consumer<com.lucidworks.apollo.common.models.SearchCluster> updateNotificationListener) Register the listener to get notification about changes. Argument to the listener is the changed cluster. Client should make a callback to DiscoverClient to find out is the change (add/update/remove) checking the list of currently available clusters- Parameters:
updateNotificationListener-
-