Class PingableSearcher

  • All Implemented Interfaces:
    com.yahoo.component.Component, com.yahoo.component.Deconstructable, java.lang.Comparable<com.yahoo.component.Component>
    Direct Known Subclasses:
    ClusterSearcher, ForwardingSearcher, TimingSearcher

    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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Pong 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.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 Detail

      • PingableSearcher

        public PingableSearcher()
      • PingableSearcher

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

      • ping

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