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.
    Tony Vaagenes
    • Constructor Summary

      Constructor Description
      FederationTarget​(<Searcher> chain, federationOptions, T customData)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)<Searcher> getChain()  
      T getCustomData()
      Any data that the TargetSelector wants to associate with this target. getFederationOptions()  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FederationTarget

        public FederationTarget​(<Searcher> chain,
                                T customData)
    • Method Detail

      • getChain

        public<Searcher> getChain()
      • getFederationOptions

        public getFederationOptions()
      • 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)
        equals in class java.lang.Object
      • hashCode

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