Class FederationTarget<T>


  • public final class FederationTarget<T>
    extends java.lang.Object
    Represents a search chain that the federation searcher should send a query to, along with a timeout and custom data reserved for use by the TargetSelector.
    Author:
    Tony Vaagenes
    • Constructor Detail

      • FederationTarget

        public FederationTarget​(com.yahoo.component.chain.Chain<Searcher> chain,
                                FederationOptions federationOptions,
                                T customData)
    • Method Detail

      • getChain

        public com.yahoo.component.chain.Chain<Searcher> getChain()
      • getCustomData

        public T getCustomData()
        Any data that the TargetSelector wants to associate with this target. Owned exclusively by the TargetSelector that created this instance.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object