Class PingableSearcher

java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.component.chain.ChainedComponent
com.yahoo.processing.Processor
com.yahoo.search.Searcher
com.yahoo.search.cluster.PingableSearcher
All Implemented Interfaces:
com.yahoo.component.Component, com.yahoo.component.Deconstructable, Comparable<com.yahoo.component.Component>
Direct Known Subclasses:
ClusterSearcher, ForwardingSearcher, VespaBackEndSearcher

public abstract class PingableSearcher extends Searcher
A searcher to which we can send a ping to probe if it is alive
Author:
bratseth
  • Field Summary

    Fields inherited from class com.yahoo.component.AbstractComponent

    isDeconstructable
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    PingableSearcher(com.yahoo.component.ComponentId id)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ping(Ping ping, Execution execution)
    Send a ping request downwards to probe if this searcher chain is in functioning order

    Methods inherited from class com.yahoo.search.Searcher

    ensureFilled, fill, getLogger, process, search, toString

    Methods inherited from class com.yahoo.component.chain.ChainedComponent

    getAnnotatedDependencies, getDefaultAnnotatedDependencies, getDependencies, initDependencies

    Methods inherited from class com.yahoo.component.AbstractComponent

    clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PingableSearcher

      public PingableSearcher()
    • PingableSearcher

      public PingableSearcher(com.yahoo.component.ComponentId id)
  • Method Details

    • ping

      public Pong ping(Ping ping, Execution execution)
      Send a ping request downwards to probe if this searcher chain is in functioning order