Class VeniceHostFinder

    • Method Detail

      • findHosts

        public java.util.List<Instance> findHosts​(java.lang.String requestMethod,
                                                  java.lang.String resourceName,
                                                  java.lang.String partitionName,
                                                  HostHealthMonitor<Instance> hostHealthMonitor,
                                                  VeniceRole roles)
        This parameter list is based on the router API. The Venice router currently ignores all but the resourceName and partitionName
        Specified by:
        findHosts in interface HostFinder<Instance,​VeniceRole>
        Parameters:
        requestMethod - - used to identify the read request type
        resourceName - - required
        partitionName - - required
        hostHealthMonitor - - ignored, this class will use its own HostHealthMonitor
        roles - - ignored
        Returns:
      • findHosts

        public java.util.List<Instance> findHosts​(java.lang.String requestMethod,
                                                  java.lang.String resourceName,
                                                  java.lang.String storeName,
                                                  int partitionNumber,
                                                  HostHealthMonitor<Instance> hostHealthMonitor)