Interface SolrClusterDiscoveryClient

All Known Implementing Classes:
SolrClusterDiscoveryClientImpl

public interface SolrClusterDiscoveryClient
Discovery client for Search Solr clusters.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addUpdateAction(Consumer<com.lucidworks.apollo.common.models.SearchCluster> updateNotificationListener)
    Register the listener to get notification about changes.
    com.lucidworks.apollo.common.models.SearchCluster
     
    Collection<com.lucidworks.apollo.common.models.SearchCluster>
     
     
  • Method Details

    • getCluster

      com.lucidworks.apollo.common.models.SearchCluster getCluster(String id)
    • 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 -